Skip to content

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

Options
0 chars · 0 lines
The result will appear here.

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?

  1. Type or paste your text. The digest updates instantly.
  2. Choose the input type (UTF-8 text or hex bytes), the output encoding (hex or Base64) and upper or lower case.
  3. 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:

Input
The quick brown fox jumps over the lazy dog
Output
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.

More tools in Hash & Checksum →