MD5 Generator

Calculate the MD5 hash of text or files of any size and check downloads against a published MD5 checksum — with SHA-1 and SHA-2 hashes alongside for comparison.

Runs in your browser — nothing is uploaded Free, no limits

Text to hash

0 bytes · updates as you type
Paste a published checksum — hex is matched case-insensitively, spaces are ignored.

Hashes

MD5not for security
—
SHA-1not for security
—
SHA-256
—
SHA-384
—
SHA-512
—
MD5 and SHA-1 are broken for security. Collisions can be crafted, so don't use them for signatures, certificates or password storage. They're still fine for checksums and detecting accidental corruption. For passwords use a slow hash such as Argon2, bcrypt or scrypt.

How to use the MD5 Generator

  1. Type or paste text, or switch to File and choose a file (large files are processed in chunks).
  2. The MD5 hash appears at the top instantly, in hex, upper-case HEX or Base64.
  3. Paste a published MD5 checksum into the compare box to verify your copy.
  4. Need a keyed hash? Tick HMAC to get HMAC-MD5 (and HMAC-SHA variants).

Frequently asked questions

What is MD5?

MD5 (Message-Digest 5, RFC 1321) is a 1992 hash function that turns any input into a 128-bit value, written as 32 hexadecimal characters. For example, the MD5 of an empty string is d41d8cd98f00b204e9800998ecf8427e.

Is MD5 still safe to use?

Not for security. Researchers can create two different files with the same MD5 in seconds, so it must not be used for signatures, certificates or passwords. It's still fine for detecting accidental corruption, deduplicating files and cache keys.

Can MD5 be reversed or decrypted?

No — MD5 is a one-way hash. 'MD5 decrypt' sites simply look up hashes of common words and leaked passwords, which is why unsalted MD5 password hashes are trivially cracked.

How do I check a file's MD5 checksum?

Switch to File, choose the file and paste the expected MD5 into the compare box. On the command line you can use ‘md5sum file’ (Linux), ‘md5 file’ (macOS) or ‘Get-FileHash -Algorithm MD5 file’ (PowerShell).

Why do I get a different MD5 for the same text?

Any byte difference changes the hash: a trailing newline or space, different line endings (CRLF vs LF) or a different character encoding. This tool hashes text as UTF-8 exactly as typed.

Are my files uploaded?

No. MD5 is calculated in your browser, streaming the file in 4 MB chunks, so even multi-gigabyte files are hashed without uploading anything.