- Home
- Tools
- Developer Tools
- Hash Generator
- MD5 Hash Generator
MD5 Hash Generator
Get the MD5 of a text or a file and compare it with the checksum a download page lists. Calculated in your browser, nothing is uploaded.
0 bytes as UTF-8
Result
MD5
–
MD5 in short
MD5 turns any input into 128 bits, written as 32 hexadecimal characters. Ronald Rivest published it in 1992 as RFC 1321, and for years it was the usual way to fingerprint a file.
| Length | 128 bits (16 bytes) |
|---|---|
| Written as hex | 32 characters |
| Written as Base64 | 24 characters |
| Of nothing at all (the empty text) | d41d8cd98f00b204e9800998ecf8427e |
| Of the word hello | 5d41402abc4b2a76b9719d911017c592 |
What it is still good for
MD5 shows reliably whether two copies of a file are the same, as long as nobody is trying to fool you: a download that broke off, a backup on a failing disk, duplicate photos. Many download pages still list an MD5 for that purpose. md5sum file on Linux, md5 file on macOS and certutil -hashfile file MD5 on Windows give the same value as this page.
What it must not be used for
Since 2004 it has been possible to make two different files with the same MD5, and today that takes seconds on an ordinary computer. In 2012 the Flame malware used such a collision to forge a certificate that looked as if Microsoft had issued it. An MD5 therefore proves nothing about a file that an attacker may have prepared. Signatures, certificates and anything else that security hangs on need SHA-256.
It is also wrong for passwords, like every fast hash: the MD5 of a common password can simply be looked up. Passwords belong in bcrypt, scrypt or Argon2.
The hash generator shows MD5, SHA-1, SHA-256, SHA-384, SHA-512 and CRC-32 of the same input next to each other.