MD5 Hash Generator

Generate the 128-bit MD5 hash of any text, entirely in your browser.

Text
Hash
Runs locally in your browser

About the MD5 Hash Generator

MD5 produces a 128-bit hash written as 32 hexadecimal characters. It is fast and still widely used as a checksum to detect accidental changes to a file, as a cache key, and as a deduplication fingerprint. This tool computes it from the UTF-8 bytes of your text using a WebAssembly implementation, so results match the reference vectors exactly and large inputs hash quickly.

MD5 is broken for security. Collisions, two different inputs with the same hash, can be produced deliberately, so MD5 must never be used for passwords, digital signatures or anything where an attacker could craft the input. For passwords use bcrypt; for integrity where security matters use SHA-256.

Output can be hexadecimal or Base64, in lower or upper case. Everything runs locally, so hashing text that contains secrets is safe. To hash a file rather than text, use the File Hash Generator.

How to use

  1. Type or paste text on the left.
  2. Choose hex or Base64 and case.
  3. Copy the MD5 hash.

Common questions

Is MD5 safe for passwords?
No. MD5 is fast and broken; a password hashed with it can be cracked quickly. Use bcrypt or Argon2 for passwords.
Why does my MD5 differ from another tool?
Usually a character-encoding difference. This tool hashes the UTF-8 bytes; a tool using a different encoding gives a different result for non-ASCII text.
Can two inputs have the same MD5?
Yes, that is a collision, and MD5 collisions can be created on purpose. That is why it is unsafe for security uses.