MD5 Hash Generator Online, Free and Private
Generate the MD5 hash of any text or file in your browser, with SHA-1 and SHA-256 alongside for comparison. Hex or Base64 output. Nothing is uploaded.
These are the digests of the empty input.
About the MD5 hash
This page generates the MD5 hash of text or a file in your browser, with the SHA family shown underneath so you can compare. MD5 produces a 128-bit digest, written as 32 hexadecimal characters, and has been the everyday checksum of the internet for thirty years. You still meet it in download pages, package repositories, database columns, cache keys and legacy APIs. Type or paste text, or choose a file, and the MD5 appears at once. Nothing is uploaded, and your data never leaves your device.
How to get an MD5 hash
Steps
- Type or paste the text, or press Choose file for a file of up to 50 MB.
- The MD5 is the first row. Press Copy MD5 to copy it.
- Turn on Upper case if the system you are matching shows capitals, or Base64 for the form used in
Content-MD5headers. - To check a file against a published checksum, paste the published value into Compare with. The page reports
Matches MD5orNo match.
Privacy
Hashing runs entirely in your browser. The text and files you hash are never uploaded to our servers and are forgotten when you close the tab.
What MD5 is good for, and what it is not
Good: detecting accidental changes
A single flipped bit in a file changes its MD5 completely, so comparing the MD5 of a download with the one the publisher lists catches a corrupted or incomplete transfer. It is also a fast, compact key for caches and deduplication where no adversary is involved.
Not good: security
MD5 is cryptographically broken. Collisions, two different inputs with the same hash, can be produced in seconds, so an attacker who controls a file can make a malicious one that matches a known MD5. Do not use MD5 to verify software from an untrusted source, to sign anything, or to store passwords. For integrity against an adversary use SHA-256, which is shown two rows down, and for passwords use a dedicated password hash.
Common questions about the output
- MD5 of the empty string is
d41d8cd98f00b204e9800998ecf8427e; that is what you see before typing anything. - Hex letters may be upper or lower case; both describe the same bytes and Compare with accepts either.
- A terminal
echo "text" | md5sumhashes a trailing newline too. This page hashes exactly the text you type; useprintfon the terminal to match it. - Text is hashed as UTF-8, the same bytes a file saved as UTF-8 would contain.
Related tools
The full Hash Generator shows all six digests with equal footing, and the SHA-256 hash page is the modern alternative for verification. The Base64 Encoder and Text to Hex show the same data in other encodings.