StringMash.com

MD5 generator

The MD5 hash of your text, for checksums and legacy systems.

3 characters
Updates as you type

Show the steps
  1. MD5 of 3 bytes of UTF-8: 128 bits, written as 32 hex digits. The same input always gives the same hash, and any change gives a completely different one.
  2. MD5 is broken for security: practical collisions have been found since 2004. Use it only as a checksum, never for passwords or signatures.
  3. Hashing is one-way: there is no key, and the input can't be worked back out from the hash. For passwords, use a slow, salted function such as bcrypt, scrypt or Argon2 rather than any of these.

Using the generator

Type or paste text and its MD5 hash appears, 32 hex digits. The text is hashed as UTF-8, so the result matches md5sum on a file with the same contents and no trailing newline. Algorithm switches to the SHA family.

MD5 isn't in the browser's Web Crypto API, so this page carries its own implementation, checked against the test suite in RFC 1321, the standard that defines it.

Is MD5 safe?

Not for security. Collisions, two inputs with the same MD5, have been practical since 2004, so MD5 can't vouch that a file or message is genuine, and it's far too fast for passwords. It's still a handy checksum against accidental damage, and it lives on in older systems and APIs. For anything new, use SHA-256; the comparison page has the details.

Questions

Can an MD5 hash be decrypted?

No. It's a hash, not encryption. Sites that "decrypt" MD5 look the hash up in tables of hashes of common inputs.

What's the MD5 of an empty string?

d41d8cd98f00b204e9800998ecf8427e.

Why does my md5sum differ?

echo adds a newline. Use echo -n, or printf, to hash the text alone.

Sources

Added . What's new