MD5 hash generator

Compute the MD5 checksum of text or a file. Fine for spotting accidental corruption, but not for security.

Hashed as UTF-8.

Hashes are computed on your device with the Web Crypto API. Files are never uploaded.

Shortcuts

Is MD5 still safe?

For detecting accidental corruption, yes. For anything security-related, no: researchers can create two different files with the same MD5 hash. Use SHA-256 where you can.

Which hash should I use?

AlgorithmOutputUse it for
MD5128-bit, 32 hex charsLegacy checksums only. Broken for security: collisions are easy to create.
SHA-1160-bit, 40 hex charsLegacy systems and Git object IDs. Not collision-resistant; avoid for new security work.
SHA-256256-bit, 64 hex charsThe default choice: file checksums, signatures, blockchains, integrity checks.
SHA-384 / SHA-512384 / 512-bitHigher security margin; SHA-512 is often faster on 64-bit CPUs.

Don’t hash passwords with these. Fast hashes make brute-forcing easy. Store passwords with a slow, salted algorithm such as Argon2id, scrypt or bcrypt.

Frequently asked questions

Can a hash be reversed?

No. Hash functions are one-way. Short or common inputs can sometimes be guessed with lookup tables, which is why passwords need salted, slow hashing.

Why does my hash differ from another tool’s?

Check for a trailing newline or space in the text, and that both tools use UTF-8. For files, make sure you’re hashing the exact same file.

Is there a file size limit?

Files are read into memory, so a few hundred megabytes works on most computers. Very large files may be slow on phones.

Related tools

More from the Cirelay network