MD5 Hash Generator
Get the 128-bit MD5 digest of a text or of raw hex bytes as you type.
Processed locally in your browser· Your data stays in your browser.
What is MD5 Hash Generator?
MD5 turns any input into a 128-bit digest, written as 32 hexadecimal characters. The same input always gives the same digest, and a one-character change produces a completely different one. It was designed in 1991 and is still everywhere as a quick checksum for files, cache keys, ETags and legacy database columns.
This tool encodes your text as UTF-8 (or reads hex bytes), runs MD5 with a WebAssembly implementation and shows the digest in hex or Base64, plus the input size in bytes.
How does it work?
- Type or paste your text. The digest updates instantly.
- Choose the input type (UTF-8 text or hex bytes), the output encoding (hex or Base64) and upper or lower case.
- Copy the digest. The empty string gives d41d8cd98f00b204e9800998ecf8427e, a handy sanity check.
Common use cases
- Comparing a downloaded file listing against a published MD5 checksum for accidental corruption.
- Building a cache key or an ETag from a string.
- Reproducing the MD5 stored in a legacy system to debug an integration.
- Checking that two configuration strings are byte-for-byte identical.
Examples
Try this input in the tool above:
The quick brown fox jumps over the lazy dog
9e107d9d372bb6826bd81d3542a419d6
Privacy
MD5 Hash Generator runs entirely in your browser. The text or files you provide are processed on your device and are not uploaded, logged or stored on our servers.
Limitations
MD5 is broken for security: collisions can be created on purpose. Never use it for passwords, signatures or integrity against an attacker; use SHA-256 or better.
Frequently asked questions
Is MD5 safe for storing passwords?
No. MD5 is extremely fast, which lets attackers test billions of guesses per second, and it has known collisions. Use a slow password hash such as Argon2, scrypt or PBKDF2 with a unique salt.
Why is the MD5 of an empty string not empty?
A hash always produces a fixed-size output. The empty input hashes to d41d8cd98f00b204e9800998ecf8427e, which many tools use as a known test vector.
Can I reverse an MD5 hash back to the text?
No, hashing is one-way. Websites that seem to "decrypt" MD5 only look the digest up in huge tables of precomputed common inputs.
Related tools
SHA-1 Hash Generator
Compute the 160-bit SHA-1 digest of any text or hex bytes instantly.
Hash & Checksum
SHA-256 Hash Generator
Hash any text with SHA-256 and get the 256-bit digest as hex or Base64 in real time.
Hash & Checksum
File Hash Calculator
Drop one or more files and get every checksum you need in a single pass, without uploading anything.
Hash & Checksum
Hash Verifier
Paste the checksum you were given, drop the file, and see whether they match.
Hash & Checksum
HMAC Generator
Sign a message with a secret key using HMAC and copy the authentication code as hex or Base64.
Hash & Checksum
CRC32 & Adler-32 Calculator
Compute a CRC-32 (IEEE 802.3) or Adler-32 checksum and read it as hex, decimal or Base64.
Hash & Checksum