Before you install a program, flash an operating system or open a large archive, you can check that the file arrived exactly as the publisher released it. The tool for that is a checksum: a short fingerprint that changes completely if even one byte of the file is different. With the free SHA256 Generator you can calculate the fingerprint of the file you downloaded and compare it with the published one, without uploading the file anywhere.
This guide shows the exact steps, what a match and a mismatch mean, and where the check stops being enough.
Why bother checking a download
Two things can go wrong between the publisher's server and your computer.
The first is accidental damage. A dropped connection, a flaky mobile network, a full disk or a download manager that resumed badly can leave you with a file that is a few bytes wrong. It may still open, then fail halfway through an installation or an unzip.
The second is deliberate tampering: someone replaces the file on a mirror or in transit with a modified copy. A checksum helps here too, but only if you take it from a place the attacker cannot also change. More on that below.
Either way, the check takes under a minute.
Step 1: find the published SHA-256 checksum
Look on the official download page for words such as "SHA-256", "SHA256", "checksum" or "hash". It is usually a 64-character string of the digits 0 to 9 and the letters a to f, shown beside the file name, or inside a small text file called something like SHA256SUMS.
Example of what you might see:
2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824 setup.exe
The first part is the hash. The second part is the file name. Copy only the first part, the 64 characters. If you paste the file name with it, the page cannot match it.
If you can, get the checksum from a different place than the file, such as the official site while the file comes from a mirror. That is what makes the check worth something.
Step 2: hash your downloaded file
- Open SHA256 Generator.
- Under Input type, choose File.
- Press Choose file and select the file you downloaded.
- Wait for the "Hashing…" label to finish. A progress bar shows how far it has got.
The SHA-256 row is listed first in the Hashes panel and is highlighted. The file is read in your browser; the page says "The file is read locally and never uploaded."
Keep Output format on hex, which is lower-case hexadecimal and the way most sites print checksums.
Step 3: compare it with the published value
Paste the checksum into "Compare with expected hash (optional)".
- A green note reads "Match — the expected value equals the SHA-256 hash", and the SHA-256 row gets a "match" label. Your file is identical to the original.
- A red note reads "No match with any hash of this file." If your value is 64 hex digits, it adds that its length fits SHA-256 and that the input differs.
Capital letters do not matter, spaces are ignored, and a leading 0x is accepted. So you do not need to tidy the value, although you should make sure you did not copy anything extra.
You can also compare by eye. The page shows the full 64 characters; check the beginning, the end and a few spots in the middle. Pasting into the compare box is faster and does not get tired.
What a mismatch usually means
Work through these in order.
- A wrong or incomplete paste. Paste the checksum again and make sure you copied all 64 characters and nothing else.
- A different file or version. A publisher may list checksums for several files: the 32-bit and 64-bit installers, or two versions. Compare against the line for your exact file name.
- A damaged download. Delete the file and download it again. If you use a download manager, try the browser instead.
- A file that was changed after download. Some programs, and some email or antivirus tools, rewrite files. Hash the file as it came from the server.
- A real problem. If a fresh download from the official site still gives a different value, do not install it. Tell the publisher.
If the file was a ZIP you already extracted, check the ZIP itself. A checksum belongs to the exact file the publisher hashed, not to its contents.
When the file is too big
SHA-256 in the browser needs the whole file in memory, so the page limits SHA hashes to 500 MB. A larger file, such as an operating-system image of several gigabytes, shows "File is over 500.00 MB — too large for SHA hashing in the browser." in the SHA rows.
You have two options:
- Use your computer's own tool. On Windows, open PowerShell and run
Get-FileHash .\file.iso(it uses SHA-256 by default). On Linux usesha256sum file.iso, and on macOSshasum -a 256 file.iso. Compare the result with the published value. - If the publisher also lists an MD5 checksum, use the MD5 Generator. MD5 on this page reads the file in 4 MB pieces and works for any size. It is good for catching a damaged download.
What a checksum does not prove
A matching hash proves that your copy equals the file the checksum was made from. It does not prove that the file is safe.
- If an attacker controls the web page, they can change the file and the checksum together. Then they match and you learn nothing. A checksum from a separate, trusted source, or a digital signature from the publisher, is stronger.
- A checksum says nothing about whether the software itself is harmless. Download from official sites, keep your antivirus on, and read the permissions a program asks for.
- MD5 and SHA-1 are broken against deliberate tampering. They still find accidental corruption, but SHA-256 is the better choice whenever it is offered.
A quick practice run
You can learn the process without downloading anything. In the page, choose Text and type hello. The SHA-256 row shows 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824. Paste that value into the compare box and you will see the green Match note. Now change one letter in the compare box, and the note turns red. That is exactly what you will see with a good or a bad download.
For a full tour of the page, including HMAC and the output formats, read the SHA256 Generator guide.
Quick checklist
- Copy only the 64-character hash, without the file name.
- Use File, not Text, so the real bytes are hashed.
- Prefer a checksum from a different place than the download link.
- Over 500 MB? Use
sha256sum,shasum -a 256orGet-FileHash. - On a mismatch, download again before suspecting anything worse.



