MD5 Hash Generator
About this tool
About MD5 Hash Generator
MD5 turns any text into a 128-bit fingerprint, written as 32 hex characters. It is still everywhere: download checksums, cache keys, ETags, Gravatar URLs, deduplication and older APIs that sign requests with it. Type or paste text and the MD5 appears at the top of the list as you type, with SHA-1, SHA-256, SHA-384 and SHA-512 underneath in case you need to compare. Text is encoded as UTF-8 before hashing, so the result matches md5sum on a file containing the same text, PHP's md5() and Python's hashlib.md5 on UTF-8 bytes. Switch Input is to Hex bytes or Base64 to hash binary data, and pick hex, HEX, Base64 or Base64URL output. HMAC-MD5 is one tick away for legacy request signing. Paste a known checksum into the compare box to confirm a match. Keep in mind that MD5 is broken for security, so use it only where nobody is trying to forge a collision.
Built and maintained by Abhi JainUpdated
How to Generate an MD5 Hash
- 1
Enter text
Type or paste into Text to hash, or click Sample.
- 2
Choose the format
Pick hex, HEX, Base64 or Base64URL. Tick HMAC (keyed hash) for HMAC-MD5.
- 3
Copy or verify
Copy the MD5 row, or paste an expected value into Compare with expected hash.
MD5 Hash Generator: questions and answers
Can an MD5 hash be decrypted?
No. MD5 is a one-way hash, not encryption. Sites that claim to decrypt MD5 look the hash up in tables of common inputs, which works only for short or common strings.
Is MD5 secure?
No. Researchers have produced MD5 collisions on purpose since 2004 and forged certificates with them. Use it only for non-security checksums. For security use SHA-256 or better, and bcrypt or Argon2 for passwords.
What is the MD5 of an empty string?
d41d8cd98f00b204e9800998ecf8427e. If you see this value, the input you hashed was empty.
Why does md5sum give a different result for my text?
echo adds a newline. Use echo -n "text" | md5sum, or make sure the file has no trailing newline. Also check the file is saved as UTF-8.
More Hash Generator presets
Related tools
- File Checksum CalculatorMD5, SHA-1, SHA-256, SHA-384 and SHA-512 of any file, checked against the published hash.
- JWT GeneratorCreate and sign JWTs with HS, RS, PS, ES or EdDSA, with one-click exp and iat claims.
- Base64 EncoderEncode and decode Base64 for text and files, with URL-safe, MIME and data URL options.
- Password GeneratorStrong random passwords with a live strength and entropy estimate.
- UUID GeneratorGenerate UUID v4 or time-ordered v7 in bulk, and validate or decode any UUID.