MD5 Hash Generator
Generate an MD5 hash of any text or file in your browser, verify a published MD5 checksum, and see why MD5 is broken.
Digest
About this input
Import from File
Drag & drop a file here
or
Supports .txt, .csv, .log, .json and other text files
What It Does
This tool computes the MD5 digest of whatever you type, paste or load — a 128-bit value printed as 32 hexadecimal characters. MD5 was designed by Ron Rivest in 1991 and is still everywhere: download pages, database cache keys, ETags and legacy APIs. It is also cryptographically broken, so alongside the hash the page tells you plainly when MD5 is acceptable (spotting accidental corruption) and when it is not (anything an attacker could benefit from forging).
When to Use It
- A download page lists an MD5 checksum and you want to confirm the file you received is intact before installing it.
- You are debugging a legacy system that stores MD5 values — a cache key, a Gravatar URL, an old API signature — and need to reproduce one exactly.
- You need a quick, stable fingerprint for deduplicating records where nobody is trying to forge collisions.
- You are migrating away from MD5 and want to see the same input's MD5 next to a modern digest.
Worked Examples
hello world
Gives 5eb63bbbe01eeed093cb22bb8f5acdc3. Run echo hello world | md5sum and you get a different value, because echo adds a newline — that single byte is the most common reason MD5 values disagree.
Gravatar builds avatar URLs from the MD5 of the lowercased, trimmed email address. Capitalise one letter and the avatar lookup fails.
password123
The tool flags this as a password. Unsalted MD5 password hashes are reversed instantly by lookup tables — this exact value appears in every public cracking list.
Features
How to Use
1. Type or paste text, or choose Hash a file to hash a file's raw bytes. 2. Pick the output encoding the value will be compared against — hex is the usual one. 3. To check a published checksum, paste it into the comparison box; the tool tells you whether it matches and, if not, whether it is even the same algorithm.
Common Mistakes
- Hashing text that is not byte-for-byte what the other side hashed. A trailing newline, Windows line endings or a byte-order mark each produce a completely different MD5 value, and none of them are visible.
- Comparing a hex digest with a Base64 one. They encode the same bytes differently, so they never look alike even when they match — switch the output format before deciding two values disagree.
- Comparing digests in mixed case and concluding they differ. Hex is case-insensitive; ABCDEF and abcdef are the same value.
- Using a plain MD5 digest where a secret is involved. To prove a message came from someone holding a key, you need HMAC, not hash(secret + message).
Frequently Asked Questions
Related Tools
Everything runs in your browser. Text and files are hashed locally — nothing is uploaded, logged or stored.