MD5 Hash Generator

Generate an MD5 hash from any text instantly — in your browser.

Ad placeholder (leaderboard)
Enjoying the tools? Go Pro for £4.99 (one-time) and remove all ads — forever, on this device. Remove ads — £4.99

This tool produces the MD5 digest of any text — a 128-bit value shown as 32 hexadecimal characters — and updates it live as you type. It is implemented in pure JavaScript and runs entirely in your browser, so it is safe to use with private strings.

How it works

MD5 (RFC 1321) processes your text as UTF-8 bytes. It pads the message to a multiple of 512 bits, appends the original length, then runs four rounds of bitwise operations over 64 steps, mixing four 32-bit state words (A, B, C, D). The final state, output little-endian as hex, is the 128-bit digest. The same input bytes always yield the same hash.

MD5 is fast but cryptographically broken — collisions can be generated cheaply — so it must never be used for passwords or digital signatures. It remains useful as a quick checksum to detect accidental corruption or as a non-security content fingerprint.

Example

Hashing the text hello gives:

5d41402abc4b2a76b9719d911017c592

Changing a single character (helloHello) produces a completely different digest, which is the avalanche property that makes MD5 a good change-detector.

InputMD5
(empty)d41d8cd98f00b204e9800998ecf8427e
hello5d41402abc4b2a76b9719d911017c592
Hello8b1a9953c4611296a827abf8c47804d7

Nothing is uploaded to any server; your text never leaves your device.

Ad placeholder (rectangle)