Skip to content
cliplimeClipLime

The download page prints a long string of letters next to the button. Here is how to check it in a minute

Hash the file, paste the published value and read Match or No match. Then what a match proves, what it cannot, and the same check on the command line.

5 min readUpdated October 27, 2026

Skip the readingHash Generator: Hash text or files with MD5, SHA-1, SHA-256, SHA-384 and SHA-512, and check a download against its published hash.

The quick answer

Next to the download button there is a line such as sha256: ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad. It is a fingerprint of the file the publisher built. Calculate the fingerprint of your copy, and if the two are the same, your copy is identical to theirs.

  1. Find the published hash and read its type from the label next to it. If there is no label, the length in hex characters is a good guide: 32 is usually MD5, 40 SHA-1, 64 SHA-256, 96 SHA-384 and 128 SHA-512.
  2. Open the hash generator, or start with a single algorithm on the SHA-256 or MD5 page. Choose File and drop the download on the box.
  3. Paste the published value into Compare with a hash. A whole line from sha256sum works, and so does a Base64 value.
  4. Read the result: a green Match or a red No match.
Hash GeneratorHash a file on your device and compare it with the value the publisher lists.Open it

A match means every byte of your copy is the same as the file that was hashed. A mismatch means download again, and if it still fails, do not run the file.

What a hash is, in plain words

A hash function turns any amount of data into a short fingerprint of fixed size. The same bytes always give the same fingerprint, and any change gives one that looks unrelated. The SHA-256 of hello starts 2cf24dba. Change one letter to hellp and it starts fdd7585e, and 63 of the 64 characters differ. Add a line break after hello and it starts 5891b5b5.

The algorithm decides the length, which is how you identify an unlabeled hash:

AlgorithmBitsHex charactersBase64 characters
MD51283224
SHA-11604028
SHA-2562566444
SHA-3843849664
SHA-51251212888

Capitals do not matter: BA78 and ba78 are the same value written two ways.

When a match protects you and when it does not

A hash is only as trustworthy as the place you got it from.

Where the hash came fromWhat a match tells you
The same page and server as the downloadYour copy is not damaged or cut short. It proves little against tampering, because someone who can replace the file can replace the hash beside it
A different trusted place, such as the publisher's own site while you downloaded from a mirrorThe mirror's file matches what the publisher lists. This is where hashes help most
A signed checksum fileThe strongest case, if you also check the signature
A forum post or message from someone elseVery little. Anyone can post a hash

Even a match proves only that your file is the one that was hashed. If the publisher shipped something harmful, the hashes match. A hash checks integrity, not safety.

MD5, SHA-1 and SHA-256 compared

AlgorithmCatches accidental damageSafe against deliberate tamperingUse it
MD5YesNo. Different inputs with the same MD5 can be made on purpose, a weakness found in 2004When it is all the site lists
SHA-1YesNo. A practical collision was published in 2017When it is all the site lists
SHA-256, SHA-384, SHA-512YesYes. No practical attack is knownWhenever you have the choice

If a site lists both MD5 and SHA-256, check SHA-256. If it lists only MD5, a match still tells you the download arrived intact, which is the usual reason to check at all.

The same check on the command line

Run these in the folder that holds the file, or give the full path. They print the same value as the tool, so use one as a second opinion on a file that matters.

SystemSHA-256MD5
macOS (Terminal)shasum -a 256 filemd5 file
Linuxsha256sum filemd5sum file
Windows PowerShellGet-FileHash file -Algorithm SHA256Get-FileHash file -Algorithm MD5

In an older Windows Command Prompt, certutil -hashfile file SHA256 does the job. PowerShell prints the hash in capitals, which is the same value as lowercase.

When it says No match

  • Wrong algorithm. The page works out the type from the length. If you paste an MD5 value while MD5 is not ticked, it says so and asks you to tick it. After a file has been hashed, tick MD5 and then choose Hash again with the new selection.
  • Wrong file. Hashes are published per file. The hash of an .iso does not match the .zip it came in, and a different version or processor build has its own hash.
  • Wrong mode. In Text mode the page hashes the characters you type, not a file. Pasting a file name there hashes the name.
  • A cut-off or damaged download. Compare the size on disk with the size the site lists, then download again.
  • A copy mistake. A wrong character in the pasted hash gives No match. A missing or extra one makes the page say it does not look like a hash. Copy the whole value.
  • An edited file. Re-saving a text file can change its line endings (Windows uses two characters, Linux and macOS one), and that changes the hash.

If you download again from the official site and it still fails, treat the file as untrusted.

Hex, Base64 and big files

Some sites print a hash in Base64, where a SHA-256 is 44 characters and ends in =. Compare accepts hex or Base64, and the output can be switched between lowercase hex, capitals and Base64. Do not convert a hex hash by pasting it into the Base64 encoder. That encodes the 64 characters of text and returns 88 characters, not the 32 bytes the text stands for, which would be 44. Base64 encoding and decoding explained shows why.

Large files are fine. Files up to 256 MB are read at once so your browser can use its built-in SHA code, and bigger ones are read in 2 MB pieces so memory use stays small. The file is read from your disk into the page and is never sent anywhere, which you can confirm in the Network tab of your developer tools.

What hashes are not for

A hash is a fingerprint, not a way to hide or store a secret. The five algorithms here are built to be fast, so a leaked list of fast hashes can be guessed at enormous speed. Passwords need a slow, salted function, and the best protection is a long random password that is different for every account: make a strong password shows how long is long enough.

Try it yourself

Questions people ask

How do I check the SHA-256 of a file?

Drop the file on the SHA-256 hash generator and paste the published value into Compare with a hash. Or run sha256sum file on Linux, shasum -a 256 file on macOS, or Get-FileHash file -Algorithm SHA256 in Windows PowerShell, and compare the two strings.

Is MD5 still fine for checking a download?

For spotting a damaged or cut-off download, yes. For proof that nobody replaced the file on purpose, no, because MD5 collisions can be made deliberately. Use the MD5 hash generator when MD5 is all that is listed, and SHA-256 whenever you can.

What should I do if the hash does not match?

Check you picked the right algorithm and file, then download again from the official site. If the hash still differs, do not open or run the file. Ask the publisher, because a mismatch can mean a damaged mirror or a changed file.

Does a matching hash mean the file is safe?

No. It means your copy is identical to the file that was hashed. If the hash came from the same compromised page, or the publisher shipped something harmful, the hashes still match. Get the hash from a separate trusted place when it matters.

Why is the hash in capitals in PowerShell and lowercase elsewhere?

It is only a display choice. Hexadecimal digits in capitals or lowercase are the same value, and the Compare box ignores the difference. PowerShell prints capitals, while sha256sum and shasum print lowercase. If you compare by eye, check every character, not just the first and last few.

How big a file can I hash?

The tool sets no size limit. Files up to 256 MB are read at once, and larger ones are read in 2 MB pieces so memory stays small. How long it takes depends on your device and on how many algorithms are ticked, and you can cancel at any time.

All Data and developer guides Browse all data & developer tools