MD5 Hash Generator
Generate an MD5 hash from any text instantly and privately in your browser. Get the 32-character hex digest with one-click copy. Nothing is uploaded.
Updated 2026-06-14 · Free · No sign-up · Runs privately in your browser
About MD5
MD5 (RFC 1321) produces a 128-bit (32 hex character) digest from any input. It is computed here in your browser; the text never leaves the page.
Do not use MD5 for security. It is cryptographically broken (collisions are easy to produce). Use it only for non-security checks like file integrity, deduplication keys, or cache busting.
How the MD5 Hash Generator Works
This tool turns any text into its MD5 hash — a 128-bit fingerprint shown as 32 hexadecimal characters. Type or paste text and the hash updates instantly, with a one-click copy button and an upper-case version. Everything runs in your browser, so your input is never uploaded.
MD5 is deterministic: the same text always yields the same hash, which is what makes it useful for verifying that data has not changed.
The Formula
MD5 follows the algorithm specified in RFC 1321:
- Encode the input as UTF-8 bytes.
- Pad the message so its length is 56 bytes (mod 64), then append the original length as a 64-bit value.
- Process each 512-bit block through 64 rounds of bitwise operations, updating four 32-bit state words.
- Output the final state as a little-endian 32-character hex string.
MD5(text) = 32-hex-character digest of the UTF-8 bytes
Worked Example
The classic test input “The quick brown fox jumps over the lazy dog” produces:
- MD5 = 9e107d9d372bb6826bd81d3542a419d6
Changing a single character — for example removing the final “g” — produces a completely different hash, which is the avalanche property hashes are designed to have. The empty string famously hashes to d41d8cd98f00b204e9800998ecf8427e.
Known MD5 Test Vectors
| Input | MD5 hash |
|---|---|
| (empty string) | d41d8cd98f00b204e9800998ecf8427e |
| abc | 900150983cd24fb0d6963f7d28e17f72 |
| message digest | f96b697d7cb7938d525a2f31aaf161d0 |
| abcdefghijklmnopqrstuvwxyz | c3fcd3d76192e4007dfb496cca67e13b |
This generator matches all of the RFC 1321 reference values, so you can trust the output.
When to Use MD5 (and When Not To)
Use MD5 for integrity checks and identifiers: confirming a download is intact, building cache-busting keys, or deduplicating records. Do not use it for anything security-sensitive — passwords, digital signatures, or tamper protection — because MD5 collisions can be produced cheaply. For those cases, reach for SHA-256, or bcrypt/Argon2 for password storage.
Frequently asked questions
What is an MD5 hash?+
MD5 is a hash function defined in RFC 1321 that turns any input into a fixed 128-bit value, shown as 32 hexadecimal characters. The same input always produces the same hash, but you cannot reverse the hash back into the original text.
Is my text uploaded when I generate the hash?+
No. The MD5 is computed entirely in your browser with JavaScript. The text you type never leaves the page, is not logged, and is not sent to any server.
Can MD5 be decrypted back to the original text?+
No. MD5 is a one-way hash, not encryption, so there is no key to reverse it. So-called MD5 decrypters are just lookup tables of precomputed hashes for common strings; unique or long inputs are not recoverable.
Is MD5 safe to use for passwords or security?+
No. MD5 is cryptographically broken and collisions can be generated easily, so it must not be used for passwords, signatures, or any security purpose. Use SHA-256 or a dedicated password hash like bcrypt or Argon2 instead.
What is MD5 still useful for?+
MD5 is fine for non-security tasks: verifying that a file downloaded without corruption, deduplicating data, generating cache keys, or quickly comparing whether two pieces of content are identical.