File Hash Checker

This file hash checker calculates the SHA-256, SHA-512, SHA-1 or MD5 checksum of a file on your device and compares it with the hash you paste in. A match means the file is identical to the one the checksum was made from. The file is never uploaded.

Check a file’s hash

Calculate

We detect the algorithm from its length. You can paste a whole line such as “hash filename”.

The file is read and hashed inside your browser. It is not uploaded, copied or logged, and nothing you paste is sent anywhere.

How to use it

  1. On the download page, find the checksum published next to the file. It is usually labelled SHA-256 or SHA256SUMS.
  2. Choose your downloaded file above, or drag it onto the box. The hash is calculated on your device.
  3. Paste the published checksum into the compare box. The tool picks the algorithm from its length.
  4. Read the result. Match means your copy is identical. No match means do not run the file: download it again and check the source.

When to use it

  • Verifying an installer, disk image or archive against the SHA-256 shown on the publisher’s download page.
  • Confirming that a backup or a copied file is identical to the original.
  • Checking a file someone sent you against a hash they gave you through a different channel.
  • Getting a file’s SHA-256 or SHA-512 without uploading it anywhere or installing software.

What a checksum proves

A checksum is a hash of a file’s contents. If even one byte of a download is different, because the transfer was interrupted, the disk was faulty or someone altered the file, its hash changes completely. Comparing your file’s hash with the one the publisher lists shows whether you have exactly the file they hashed.

The file is read from your device by the browser and hashed using Web Crypto for the SHA algorithms. MD5 is calculated by this page’s own code, in chunks, so the page stays responsive. No part of the file is uploaded.

Worked example. A text file containing the five letters hello and nothing else has this SHA-256 hash:

2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824

If the same file is saved with a new line at the end (hello followed by Enter), it is six bytes long and its SHA-256 hash is completely different:

5891b5b522d5df086d0ff0b110fbd9d21bb4fc7163af34d08286a2e846f6be03

A single invisible character changed the result, which is exactly why a checksum can catch tiny differences.

What a matching checksum does not prove

A match shows your file equals the one the checksum was made from. It does not show the file is safe. If an attacker can change both the download and the checksum on the same web page, a match proves nothing. Take the checksum from the publisher’s official site over HTTPS, preferably from a different place than the download link, and use a digital signature when the publisher provides one.

Calculate a file’s checksum with tools already on your computer
SystemSHA-256 commandMD5 command
Windows PowerShellGet-FileHash .\file.iso -Algorithm SHA256Get-FileHash .\file.iso -Algorithm MD5
Windows Command Promptcertutil -hashfile file.iso SHA256certutil -hashfile file.iso MD5
macOSshasum -a 256 file.isomd5 file.iso
Linuxsha256sum file.isomd5sum file.iso

Frequently asked questions

How do I verify a downloaded file’s checksum?

Find the checksum on the publisher’s download page, calculate the hash of your downloaded file with this tool or a command in the table, and compare the two. They must be identical, character for character. This tool does the comparison for you when you paste the published hash.

What should I do if the hashes do not match?

Do not open or install the file. Delete it and download it again, ideally on a different network, and make sure you are comparing the right algorithm and the right version of the file. If it still fails, report it to the publisher.

Does a matching hash mean the file is safe?

No. It means your file is identical to the one the checksum was calculated from. The checksum is only as trustworthy as where you got it, so use the publisher’s official site and verify signatures when they are offered.

Which algorithm should I choose?

Use whichever the publisher lists, and prefer SHA-256 or SHA-512 when you have the choice. MD5 and SHA-1 can detect accidental corruption but should not be trusted against deliberate tampering.

How large a file can I check?

Roughly up to 2 GB, because the browser must hold the file in memory to hash it. For larger files, use a command from the table above, which streams the file from disk.

Is my file uploaded to your server?

No. The file is opened by your browser and hashed on your device. You can confirm this in your browser’s network panel: no file data is sent.

Sources and further reading