Skip to content
utilnook

MD5 Hash Generator

Get the MD5 hash of text or of a file up to 1 GB, and compare it with a checksum you were given. Calculated in your browser; nothing is uploaded.

0 characters

Runs in your browser. Nothing you enter is uploaded.

How to use

This page works out the MD5 hash of a piece of text or of a file: 32 hexadecimal characters that change completely when a single byte of the input changes.

  1. Stay on Text and type or paste, or switch to File and choose a file of any kind. The MD5 appears under it at once.
  2. Press Copy beside the hash. Output switches between lowercase hex, uppercase hex and Base64, for systems that want one or the other.
  3. Checking a download? Paste the MD5 its publisher lists into Compare with an expected hash. The page says whether it matches, and why not when it doesn't.
  4. HMAC with a key gives HMAC-MD5, which a few older APIs still sign requests with.
  5. Show the other hashes too lists SHA-256 and the rest for the same input.

What MD5 is still good for: spotting accidental damage in a download or a backup, finding duplicate files, keying a cache, and talking to older systems that expect it. It is quick, and every platform has it.

What it isn't good for: anything an attacker might want to fake. Two different files with the same MD5 can be manufactured on a laptop, so it proves nothing about who made a file, and password hashes stored as MD5 are cracked by the billion. For those jobs use SHA-256 or a password hashing scheme.

Text is hashed as UTF-8, exactly as typed, with no line break added at the end.

Frequently asked questions

Is MD5 still safe to use?

For catching accidental changes, yes: a damaged download won't keep its MD5 by chance. Against a person trying to fool you, no. Collisions have been practical since 2004, so use SHA-256 when it matters that nobody tampered with the file.

Why does my MD5 differ from the one md5sum prints?

Usually a line break. In a terminal, echo adds one to the text unless you write echo -n, and that changes every character of the hash. Windows line endings (CR LF) and a different text encoding do the same. For a file, the two should always agree.

Can I get the MD5 of a large file, such as an ISO?

Yes, up to 1 GB. The file is read on your device in a background thread, so the page stays usable while it works, and nothing is sent anywhere. Bigger files need a command-line tool such as md5sum or certutil.

More encoding tools

All encoding tools