MD5 Hash Generator - Generate MD5 Checksums Online
—Generate an MD5 Hash
Type or paste text and its MD5 digest appears below as 32 lower-case
hex characters, ready to copy. The text is encoded as UTF-8 first, so
accented letters and emoji give the same result as
hashlib.md5(s.encode()) in Python or
crypto.createHash("md5") in Node. Browsers' Web Crypto API
does not offer MD5, so this page computes it with a small JavaScript
implementation of RFC 1321. Nothing is sent to a server.
Where You Still Meet MD5
- S3 and other object stores. For a single-part upload,
an S3 object's ETag is the hex MD5 of its contents. Multipart uploads
have ETags like
...-12, which are an MD5 of the part MD5s, so they will not match a hash of the whole file. - HTTP Content-MD5. This header carries the MD5 as Base64, not hex. The 16 bytes are the same, written differently.
- Download checksums. Older projects and mirrors still
publish
.md5files. They catch a truncated or corrupted download, but not a file swapped by someone who can also edit the checksum. - Cache keys and deduplication. MD5 is fast and short, which is fine when nobody benefits from forcing a collision.
Checking a File's MD5
This page hashes text. For files, use the built-in command for your system and compare against the published value:
md5sum file.iso # Linux
md5 file.iso # macOS
certutil -hashfile file.iso MD5 # Windows Why MD5 Cannot Be Decoded
MD5 maps every possible input onto 2128 outputs, so countless inputs share each hash and the original is simply not in there. What does work is guessing: a GPU can try billions of MD5 candidates per second, and lookup tables cover common passwords already. That is why an unsalted MD5 password database is effectively plain text. Store passwords with bcrypt, scrypt or Argon2, and use SHA-256 where you need a hash that resists deliberate collisions. If you need the data back later, use Base64 (no secrecy) or real encryption.
Related Tools
JWT Decoder
Decode JSON Web Tokens and inspect header, payload and signature.
Base64 Encode / Decode
Encode text to Base64 or decode Base64 strings back to plain text.
URL Encode / Decode
Percent-encode or decode URLs and query-string parameters safely.
Hash Generator
Generate MD5, SHA-1, SHA-256, SHA-384, and SHA-512 hashes from text.