MD5 Hash Generator — Email (Gravatar) & Text
Get the MD5 hash of an email address for Gravatar (trimmed + lowercased), or hash any text or file. Runs in your browser; nothing is uploaded.
How it works
- MD5 is a legacy checksum, not encryption and not suitable for passwords. Hashing runs locally; files over 32 MiB are rejected and nothing is uploaded.
Opening the link sends only the hash to Gravatar. Gravatar also accepts SHA-256 hashes.
About MD5 hashing
MD5 hash of an email address (Gravatar)
Gravatar and many legacy APIs identify a person by the MD5 hash of their email address. The address must be trimmed and lowercased first, otherwise the hash will not match.
- Paste the email address above and tick Normalize as email.
- Copy the 32-character MD5 hex digest.
- Use it in a URL like https://gravatar.com/avatar/HASH?s=200&d=identicon.
Example: “ MyEmailAddress@example.com ” normalizes to “myemailaddress@example.com”, whose MD5 hash is 0bc83cb571cd1c50ba6f3e8a78ef1346. Without lowercasing you get a957567ba0ce0106c0d1cfa646acdb71, which Gravatar does not recognise.
- JavaScript (Node.js)
crypto.createHash("md5").update(email.trim().toLowerCase()).digest("hex")- Python
hashlib.md5(email.strip().lower().encode()).hexdigest()- PHP
md5(strtolower(trim($email)))
What is an MD5 hash generator?
An MD5 hash generator turns text or file bytes into a 128-bit hex digest. People search for “md5 generator” or “md5 hash online” to checksum downloads, compare payloads, or debug legacy systems.
MD5 is broken for cryptographic integrity and passwords. Prefer SHA-256 or bcrypt for security. This page hashes entirely in your browser with no network calls.
Compute MD5 in code
- JavaScript
// Node.js import crypto from "node:crypto"; crypto.createHash("md5").update("abc").digest("hex"); // → 900150983cd24fb0d6963f7d28e17f72- Python
import hashlib hashlib.md5(b"abc").hexdigest() # → 900150983cd24fb0d6963f7d28e17f72
MD5 hash FAQ
- Is MD5 secure?
- No. MD5 collisions are practical. Use it only as a non-security checksum. For integrity with a key use HMAC-SHA256; for passwords use bcrypt.
- Does this MD5 generator upload my data?
- No. Text and files are hashed locally in your browser. Nothing is sent to a server.
- Can I verify a known MD5 digest?
- Yes. Paste the expected hex hash in Verify against hash. Comparison ignores case and surrounding whitespace.
- How do I get the MD5 hash of an email address (Gravatar)?
- Turn on Normalize as email: the address is trimmed and lowercased before hashing, which is what Gravatar and similar services expect. Gravatar also accepts SHA-256 hashes; use the SHA hash tool for those.
- Is the MD5 hash of an email case-sensitive?
- Yes. MD5 hashes bytes, so MyEmail@example.com and myemail@example.com give different hashes. Gravatar expects the trimmed, lowercased address — tick Normalize as email.
- What is the Gravatar URL for an email hash?
- https://gravatar.com/avatar/ followed by the 32-character lowercase MD5 (or SHA-256) hex hash, for example https://gravatar.com/avatar/0bc83cb571cd1c50ba6f3e8a78ef1346?s=200&d=identicon. s sets the size in pixels and d the fallback image.
- Does this page send my email address anywhere?
- No. The hash is computed in your browser and no request is made to Gravatar. Only if you click Open in Gravatar does your browser request the avatar URL, which contains the hash, not the address.