MD5 Hash Calculator

Generate an MD5 checksum for any file, straight in your browser.

MD5_CALCULATOR

[1] SELECT FILE(S) TO HASH

Select one or multiple files to hash from your system, or drag and drop files below

[2] CHOOSE YOUR HASH FUNCTION

[3] LAUNCH THE HASHING PROCESS

What is MD5?

MD5 (Message-Digest Algorithm 5) was designed by Ronald Rivest in 1991. It condenses a file of any size into a 128-bit value, written as 32 hexadecimal characters. The same file always produces the same MD5, which is what makes it useful for spotting whether two files differ.

OUTPUT: 128-bit32 hexadecimal characters

STATUS: Broken for security use

Is MD5 secure?

Practical collision attacks against MD5 have been public since 2004, and they are cheap to run today. That means an attacker can craft two different files sharing one MD5. Do not use MD5 to verify a download against tampering, to sign anything, or to store passwords.

When to use MD5

  • Checking a file survived a copy or transfer intact
  • Finding duplicate files across a large directory
  • Matching a checksum a vendor still publishes as MD5
  • Cache keys, ETags and other non-adversarial fingerprints

For anything where someone might want to fool you, use SHA-256.

How to verify a file with MD5

  1. Select the file above. MD5 is already chosen for you.
  2. Press [CALCULATE HASH] and wait for the digest.
  3. Compare it against the 32-character checksum published by whoever gave you the file.
  4. Every character must match. A single difference means the file is not the one that was published.

Hashing several files at once works too — select them all and export the results as CSV or as a PDF verification report for an audit trail.

MD5 FAQ

How long is an MD5 hash?

An MD5 hash is 128 bits, displayed as 32 hexadecimal characters, for example d41d8cd98f00b204e9800998ecf8427e (the MD5 of an empty file).

Is MD5 still safe to use?

Not for security. MD5 has been vulnerable to practical collision attacks since 2004, so two different files can be made to share one MD5. It remains perfectly good for detecting accidental corruption, such as a truncated download or a bad copy.

Can an MD5 hash be reversed?

No. Hashing is one-way, so the original file cannot be reconstructed from the hash. Short, predictable inputs such as common passwords can still be looked up in precomputed tables, which is why MD5 must never be used to store passwords.

Does this MD5 calculator upload my file?

No. The hash is computed in your browser using JavaScript. The file is never sent to a server, which means you can hash confidential documents safely.