All free tools

MD5 hash generator

Type text or choose a file to get its MD5 hash straight away, then paste a published checksum to see whether it matches.

Runs in your browser. Your text and files are hashed on your device and never uploaded to EpiFive.

Hash

How to use it

  1. Choose Text and type or paste, or A file and pick one. The MD5 hash appears at once.
  2. Tick Uppercase hex if the checksum you compare against is in capitals.
  3. Paste the expected MD5 from the download page into the compare box to verify the file.
  4. Tap Show all algorithms to see SHA-1, SHA-256, SHA-384 and SHA-512 of the same input.

When MD5 is fine, and when it is not

MD5 is fast and its 32-character hashes are short, which made it the standard checksum of the 1990s and 2000s. It is still fine for catching corrupted downloads, finding duplicate files and building cache keys. It is not fine for anything security-related: collisions (two inputs with the same hash) can be made on purpose, so a tampered file can carry the same MD5 as the real one.

For new checksums use SHA-256. For passwords, a fast hash of any kind is the wrong tool; use a slow password hash such as bcrypt or Argon2 through your framework.

Verifying a checksum

Download pages sometimes list an MD5 next to the file. Choose the downloaded file here, paste the published value into the compare box, and look for the green match. If it does not match, download the file again from the official site. If the publisher also lists a SHA-256, check that instead, because only SHA-256 also protects against deliberate tampering.

Test values

  • MD5 of abc: 900150983cd24fb0d6963f7d28e17f72
  • MD5 of an empty input: d41d8cd98f00b204e9800998ecf8427e

Need several algorithms at once? The hash generator shows MD5, SHA-1, SHA-256, SHA-384 and SHA-512 together.

  • Hash generator: MD5, SHA-1, SHA-256 and SHA-512 hashes of text or files, and checksum verification.
  • SHA-1 hash generator: SHA-1 hash of text or a file, as used by Git and older download pages, with checksum verification.
  • SHA-256 hash generator: SHA-256 hash of text or a file in hex and Base64, and verify a download against its published checksum.
  • SHA-512 hash generator: SHA-512 hash of text or a file in hex and Base64 (for SRI and npm integrity), with checksum verification.
  • Base64 encode and decode: Encode or decode Base64 text (UTF-8 safe) and convert files to and from Base64.

Questions people ask

What is an MD5 hash?

MD5 turns any input, from one letter to a large file, into a fixed 128-bit fingerprint written as 32 hexadecimal characters. The same input always gives the same hash, and changing a single byte changes it completely.

Is MD5 secure?

No. Since 2004 researchers have been able to make two different files with the same MD5 hash, and today it takes seconds on a laptop. Never use MD5 for passwords, digital signatures, certificates or anything an attacker could tamper with. Use SHA-256 for integrity, and bcrypt or Argon2 for passwords.

What is MD5 still used for?

Spotting accidental changes: checking a download was not corrupted, finding duplicate files, cache keys and ETags, and comparing against older checksums that projects still publish. These uses only need to catch mistakes, not deliberate attacks.

Can an MD5 hash be decrypted or reversed?

A hash is not encryption, so there is nothing to decrypt. Sites that "reverse" MD5 simply look the hash up in huge tables of hashes of common words and leaked passwords. That is exactly why short or common passwords hashed with MD5 are easy to recover.

How do I get the MD5 of a file on my computer?

On Windows, run certutil -hashfile file.zip MD5 in Command Prompt. On macOS, run md5 file.zip, and on Linux run md5sum file.zip. All of them should print the same 32 characters as this page.