How to use MD5 Generator
- Type or paste the text to hash.
- Choose the output format.
- Optionally paste a known hash to compare.
- Copy the digest.
MD5 Generator features
- Pure-TypeScript MD5 (RFC 1321) verified against the official test vectors
- Hex (lower/upper), Base64, Base64url and binary output
- Compare with an expected hash — case-insensitive, hex or Base64
- Trim option to avoid trailing-newline mismatches with command-line tools
- Live hashing of UTF-8 text as you type
MD5 Generator example
MD5 of a pangram
Input:
The quick brown fox jumps over the lazy dogOutput:
9e107d9d372bb6826bd81d3542a419d6Frequently asked questions about MD5 Generator
Is MD5 still safe to use?
Not for security. Collisions can be produced in seconds, so MD5 must not be used for passwords, signatures or integrity of untrusted data. It remains fine for non-adversarial checksums, cache keys and matching legacy systems.
Why does my hash differ from the command line?
echo adds a trailing newline, so "echo hello | md5sum" hashes "hello\n". Use printf or enable "Trim whitespace" here. Encoding also matters: this tool hashes the UTF-8 bytes of your text.
Can MD5 be reversed?
No hash can be reversed mathematically, but MD5 of short or common inputs is trivially found in rainbow tables. That is another reason not to use it for passwords.
How is MD5 computed without WebCrypto support?
Browsers do not expose MD5 in crypto.subtle, so this tool ships a small pure-TypeScript implementation of RFC 1321, verified against the official test vectors.
Technical notes
MD5 produces a 128-bit digest through 64 rounds over 512-bit blocks. Browsers do not implement MD5 in WebCrypto because it is cryptographically broken, so this tool includes a compact implementation of the reference algorithm. It processes the UTF-8 bytes of the input.