MD5 hash generator
The MD5 checksum of any text or file, computed on your device.
| MD5 | — | |
| SHA-1 | — | |
| SHA-256 | — | |
| SHA-384 | — | |
| SHA-512 | — |
Generate an MD5 hash of text or a file
Type text and its MD5 hash appears as you type; pick a file and its MD5 checksum is computed from the file on your disk, without uploading it. The other common digests — SHA-1, SHA-256, SHA-384 and SHA-512 — are calculated alongside, which helps when you aren't sure which one a project published.
Text is hashed as UTF-8 with no trailing newline. That is why the result can differ from echo "text" | md5, which adds a newline; echo -n or printf matches.
When MD5 is fine and when it isn't
MD5 produces a 128-bit digest, written as 32 hex characters. It has been broken for collision resistance since 2004: anyone can craft two different files with the same MD5 in seconds. So MD5 is still fine for spotting accidental corruption, deduplicating your own files, or matching an old published checksum — and unsuitable for signatures, certificates, or anything where an attacker could choose the input. For passwords it is wrong twice over: broken and fast.
MD5 vs SHA-256 covers which algorithm fits which job in more detail.
Other conversions with this tool
How to generate an MD5 hash
- 1
Type or paste text, or pick a file.
- 2
The MD5 hash appears in the highlighted row.
- 3
Copy it, or compare with a published checksum.
MD5 Generator — frequently asked questions
Is my file uploaded anywhere?
No. The conversion runs in your browser, and this site has no server that could receive your file. A Content-Security-Policy blocks requests to other domains; you can confirm in DevTools → Network or by going offline.
Is MD5 still safe to use?
For catching accidental corruption and matching old published checksums, yes. For anything an attacker could target — signatures, certificates, passwords — no: MD5 collisions can be generated in seconds.
Can an MD5 hash be decrypted?
No. A hash is one-way. Sites that "reverse" MD5 look the hash up in tables of common inputs, which only works for short or common text.
MD5 Generator guides
MD5 vs SHA-1 vs SHA-256 vs SHA-512: which hash should you use?
What each hash algorithm is still safe for, why none of them should store passwords, when SHA-512 beats SHA-256, and why the same text can give two different hashes.
How to verify a file checksum
Check that a download arrived intact and untampered by comparing its SHA-256 hash. What a matching checksum proves, what it doesn't, and how to check one without uploading the file.