Skip to content

MD5 Hash Generator

Generate MD5 hashes from text or files in your browser, with hex and base64 output.

Type or choose a file to see its hash.

The hash updates below as you type. Pick an algorithm and input encoding, hash a local file, or enable HMAC with a secret key. Everything runs in your browser and nothing is uploaded.

No file selected
MD5 hash

Look up an MD5 hash

Paste a 32-character MD5 hash to see its text, when it was hashed here before or is a common password. This lookup runs locally in your browser.

What is MD5?

MD5 is a message-digest algorithm from RFC 1321. It turns any input into a fixed 128-bit value, normally written as 32 hexadecimal characters. The same bytes always produce the same MD5 hash, which makes it useful for checksums and for comparing two values without comparing the originals.

MD5 is not encryption and it cannot be reversed. It is also no longer considered collision-resistant (RFC 6151), so it should not be used for password storage, certificates, or other security-sensitive work. This tool is for checksums, legacy compatibility, and debugging. When you need a stronger algorithm, switch to SHA-256 or SHA-512 in the Algorithm menu – both run right here in your browser.

How to use the hash generator

Type or paste text in the left card and the hash updates below in real time. Choose an algorithm from the Algorithm menu (MD5, SHA-1, SHA-256, SHA-384, or SHA-512), and pick how the input is read from the Input encoding menu (UTF-8, UTF-16 LE, UTF-16 BE, Hex, or Base64). Use Hash a file to hash any local file, for example to compare a downloaded file against a published checksum. Everything runs in your browser and nothing is uploaded.

The Format menu switches the output between lowercase hex, uppercase hex, and Base64. Enable HMAC with a key to compute a keyed digest instead of a plain hash; the key has its own encoding menu and supports all five algorithms. Look up an MD5 hash at the bottom of the result card for a local reverse check.

Examples

  • hello world produces the MD5 hash 5eb63bbbe01eeed093cb22bb8f5acdc3.
  • hello world produces the SHA-1 hash 2aae6c35c94fcfb415dbe95f408b9ce91ee846ed.
  • hello world produces the SHA-256 hash b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9.
  • With Input encoding set to Hex, the text 68656c6c6f produces the MD5 hash 5d41402abc4b2a76b9719d911017c592 (those are the hex digits of hello).
  • With HMAC enabled, key key and message The quick brown fox jumps over the lazy dog produce the HMAC-MD5 value 80070713463e7749b90c2dc24911e275.
  • Hashing the file you just downloaded lets you compare the result with the checksum on the download page.

How the hash lookup works

Paste a 32-character hash into Look up an MD5 hash. Because MD5 is one-way, the lookup only finds text that was hashed in this browser before (stored on this device) or very common passwords from a built-in list. Anything else correctly reports no match.

Related tools

More utilities you may find useful.

View all tools