MD5 hash generator

Compute the MD5 hash of text or a file, and compare it with a known checksum.

Runs in your browser. Your input is not uploaded.

MD5 is fine for a checksum. It is not a password hash, and collisions can be made on purpose.
MD5
 

What it does

MD5 produces a 128-bit digest, written as 32 hex characters. It is still widely used as a checksum to detect accidental corruption, and as a cache or ETag key.

MD5 is broken for security. Collisions can be made on a laptop, and it is far too fast to protect passwords. This tool implements it in JavaScript because Web Crypto deliberately leaves it out.

How to use it

  1. Type text or choose a file.
  2. Choose hex or Base64 output.
  3. Paste a known checksum into Compare to check a download.

Example

Input
abc
Output
900150983cd24fb0d6963f7d28e17f72

Things to watch for

  • MD5 is fine for a checksum. It is not a password hash. Use bcrypt for passwords.
  • An MD5 match does not prove a file was not tampered with, because collisions can be made deliberately. Use SHA-256 for that.

Guides

Questions

Is MD5 encryption?
No. It is a one-way hash. There is no key and nothing to decrypt.
Can MD5 be decrypted?
No, but sites with tables of known hashes can look up common inputs. That is why it must not be used for passwords.
How do I check a file’s MD5 checksum?
Choose the file, paste the published checksum into Compare, and the tool says whether they match. On the command line: md5sum file.
Is the file uploaded?
No. It is read and hashed in your browser. Files up to 512 MB are supported.