MD5 Hash Generator
Calculate the MD5 hash of text or a file. Good for checksums; not safe for passwords or security.
MD5 hash of the text
Calculating…
MD5 checksum of a file
Choose a file (up to 100 MB). It is read in your browser and not uploaded.
About MD5
MD5 was designed by Ron Rivest in 1991 and produces a 128-bit hash written as 32 hexadecimal characters. Weaknesses were found in the early 2000s: attackers can create different files that share an MD5, so it must not be used for security.
What MD5 is still good for
- Quick checks that a file was copied or downloaded without accidental corruption.
- Finding duplicate files.
- Cache keys and ETags, where nobody is trying to forge a collision.
Example
The MD5 hash of the word hello is 5d41402abc4b2a76b9719d911017c592. The MD5 hash of empty text is d41d8cd98f00b204e9800998ecf8427e.
Never use MD5 for passwords
MD5 is extremely fast, so attackers can test billions of guesses per second and look up common passwords in precomputed tables. Store passwords with bcrypt, scrypt or Argon2 instead.
How to use the MD5 Hash Generator tool
- Type or paste text to see its MD5 hash, or choose a file to get its checksum.
- Pick the output format: lowercase hex, uppercase hex or Base64.
- Paste a hash into the Expected hash box to check that it matches, then copy the result.
Frequently asked questions
What is an MD5 hash?
MD5 produces a 128-bit fingerprint of any input, written as 32 hexadecimal characters. The same input always gives the same MD5.
Can an MD5 hash be decrypted?
No. MD5 is a one-way function. Sites that appear to decrypt MD5 just look up hashes of common words in a big table, which is why you should never rely on MD5 to protect passwords.
Is MD5 secure?
No. MD5 is broken for security because attackers can create two different inputs with the same hash. It is still used for quick checksums to detect accidental file corruption.
What is the MD5 of an empty string?
The MD5 hash of empty text is d41d8cd98f00b204e9800998ecf8427e.