File Hash Compare
Guide: How to Check a Download With a Checksum (and Why It Matters)
Choose a file and paste the checksum to check it.
Use the same type of hash as the one on the download page, and SHA-256 if you have the choice, because MD5 and SHA-1 can be faked. If the result doesn't match, download the file again from the official site. Files are read in your browser and never uploaded.
Nothing you enter or choose here leaves your device. This tool runs in your browser.
Why you'd check a file
Downloads can go wrong in two ways. A transfer can be cut short or damaged, giving you a file that looks right and is broken. Or someone can swap a file for a harmful copy. A checksum catches both. The site that publishes a file lists a short fingerprint of it. You work out the fingerprint of your copy, and if the two match, the file is identical.
How to check, step by step
- Find the checksum on the download page. It's usually a long string of letters and numbers, labeled SHA-256, SHA256SUMS or similar.
- Choose the same hash type in the tool. Using the wrong one is the commonest reason for a mismatch.
- Choose your downloaded file, which is read in your browser and never uploaded.
- Paste the published checksum, or choose a second file to compare against.
- Read the result. A match means the files are identical, byte for byte.
If the check fails
- The wrong hash type. A SHA-256 checksum won't match a SHA-1 result. Switch types and try again.
- An incomplete download. Download the file again, preferably on a stable connection.
- The wrong version. Make sure the checksum is for the file you downloaded. Different versions have different checksums.
- Stray characters. Spaces and line breaks around a pasted checksum can matter. Paste just the string.
- A real problem. If a fresh download still doesn't match, don't open the file.
Letter case doesn't matter in a checksum. The hexadecimal digits A to F can be written in capitals or lower case.
What a match doesn't prove
A match shows your file is the same as the one the checksum was made from. If the file and the checksum were both on the same page, and that page was compromised, an attacker could have replaced both. For software that matters, get the checksum from a different place, such as the project's official site or a signed release, and check a digital signature where one is offered.
Choosing a hash type
Use the one the page lists, usually SHA-256. If you get to choose, pick SHA-256 or SHA-512. MD5 and SHA-1 are fine for catching accidental damage, but they can be faked on purpose, so they're weak for security checks.
On the command line
| System | Command |
|---|---|
| Mac | shasum -a 256 file.iso |
| Linux | sha256sum file.iso |
| Windows PowerShell | Get-FileHash file.iso -Algorithm SHA256 |
Files up to 500 MB work here, because the whole file is read into memory by your browser. For anything bigger, use a command like those above. To hash text or a file and see all the algorithms at once, use the hash generator, and read the guide to verifying downloads.
Written by Akinrinmade Michael · Updated October 24, 2026
How to use
- 1Choose the hash type that matches the checksum you were given.
- 2Choose your file, and paste the checksum or choose a second file.
- 3Read the result: a match means the files are identical.
Frequently asked questions
Are my files uploaded?
No. Everything happens in your browser, and nothing is sent to us.
What is a checksum?
A short fingerprint worked out from a file's contents. Change one byte of the file and the fingerprint is completely different, so a match shows the file is unchanged.
Which hash type should I use?
The one the download page lists, usually SHA-256. If you can choose, use SHA-256 or SHA-512, because MD5 and SHA-1 can be faked on purpose.
What if it doesn't match?
Download the file again from the official site and compare again. If it still doesn't match, don't open it.
Is there a size limit?
Files up to 500 MB, because the whole file is read into memory in your browser.
Read the guide
Learn how this works and how to get the most from it.
Security
How to Check a Download With a Checksum (and Why It Matters)
What a checksum is, how to compare a file against the one on a download page, which hash to trust, and what to do if the result doesn't match.
3 min read
Related tools
Hash Generator
Generate MD5, SHA-1, SHA-256 and SHA-512 hashes and HMACs.
Bcrypt Hash Generator & Checker
Generate bcrypt password hashes and check a password against a hash.
AES Encrypt & Decrypt
Lock text or files with a password, right in your browser.
Base64 & URL Encoder / Decoder
Encode and decode Base64 and URL-encoded text instantly.