MD5 Generator
Calculate an MD5 digest for compatibility checks and legacy systems.
Your result will appear here…
How to use MD5 Generator
- Enter the text to hash.
- Select Generate.
- Copy the 32 hexadecimal characters after the label.
Example
Input / settings:
abc
Output:
MD5: 900150983cd24fb0d6963f7d28e17f72
This is the MD5 value for abc in the test suite of RFC 1321, so you can check the tool against the standard's own result.
When to use
- Reproduce the checksum value of a legacy system.
- Check a known MD5 test value.
- Compare a stored MD5 against text that must match exactly.
Overview
MD5 is the 128-bit hash function defined in RFC 1321. This tool encodes your text as UTF-8 and prints the digest as 32 lowercase hexadecimal characters after the label MD5:. Web Crypto's digest() offers SHA-1, SHA-256, SHA-384 and SHA-512 but not MD5, so the page uses its own implementation. It exists for legacy checksums; MD5 must not be used for signatures or password storage.
Supported input
text
Output details
hexadecimal MD5 digest
Common mistakes
- MD5 collisions can be produced on purpose, so two different inputs can share one digest. RFC 6151 says it is not prudent to use MD5 where collision resistance is required.
- Hashing a password with MD5 does not protect it. MD5 is fast, so a stolen digest can be tested against a long list of guesses cheaply.
- Letter case and trailing characters matter: hello, Hello and hello followed by a newline give 5d41402a…, 8b1a9953… and b1946ac9….
- An empty input still gives a result: d41d8cd98f00b204e9800998ecf8427e, the MD5 of zero bytes.
- Text is hashed as UTF-8. é gives 66ddcd97…, the digest of its two UTF-8 bytes, which differs from a digest computed over Latin-1 or UTF-16 bytes by another system.
Practical tips
- Check the tool with the last RFC 1321 test value: the digits 1234567890 repeated eight times give 57edf4a22be3c955ac49da2e2107b67a.
- Use SHA-256 Generator for new work. Keep MD5 for compatibility with systems that already depend on it.
Privacy and security
This tool runs entirely in your browser. Your input is never uploaded to our servers. Hashing runs locally in your browser and nothing is uploaded. MD5 gives no protection against deliberate tampering, so use SHA-256 or stronger to detect it. For passwords use a slow, salted scheme such as Argon2id, as the OWASP cheat sheet describes.
References
- RFC 1321: The MD5 Message-Digest Algorithm
- RFC 6151: Updated Security Considerations for the MD5 Message-Digest and the HMAC-MD5 Algorithms
- MDN: SubtleCrypto.digest()
- OWASP Password Storage Cheat Sheet
Frequently asked questions
Why does a tool for a broken hash exist?
Many older systems still publish or verify MD5 values. The tool reproduces them so you can compare, not so you can rely on them for security.
How long is an MD5 digest?
128 bits, written as 32 hexadecimal characters. With the MD5: label the result line is 37 characters.
Can an MD5 digest be reversed to the original text?
Not directly. But short or common inputs can be found by hashing guesses, so a digest does not keep such text secret.