Quick answer
Work out the SHA-256 hash of the file you downloaded and compare it with the SHA-256 checksum the publisher lists for that exact file name. If every character matches, your file has the same bytes as the file the checksum was made from. If it doesn't match, don't open or run the file. Download it again from the publisher's official site.
A match proves integrity: the file wasn't corrupted or changed on its way to you. On its own it doesn't prove authenticity, that the publisher made the file. If an attacker controls the site that gave you both the file and the checksum, they can change both. For authenticity, check the publisher's signature on the checksum list, or get the checksum from a separate trusted source. And a match never shows that a file is free of malware.
In FreeToolsKit's File Hash Checker:
- Keep SHA-256 selected under Hash algorithm.
- Add the file with Choose files, then choose Calculate hashes.
- Paste only the 64-character checksum into Expected SHA-256 checksum (optional). The file's status line then reads Match or No match.
The test files used in this guide
To show what to check, this guide uses a small "release" made up for the test. The project, Quillmoor Notes 2.4.1, is fictional:
- The release file:
quillmoor-notes-2.4.1.zip, 2,436 bytes. - The published checksum list: a file named
SHA256SUMS, laid out like the lists many projects publish. Each line holds a checksum, two spaces and a file name. It has two lines, one for the release file and one for a second file,quillmoor-notes-2.4.1-src.zip. - A tampered copy: the same file with exactly one byte changed. In its readme, the word "stable" became "stablf". It keeps the same name and the same size, 2,436 bytes, so neither tells you anything is wrong.
The hashes, worked out with the sha256sum command before the tool was opened, and shortened here to the first and last eight characters:
- Genuine file: e4a5938e…69435553, the value in
SHA256SUMS. - Tampered copy: 52e7bda9…272bef2. One changed byte gave a value that differs from the very first character.
That fits the standard behind SHA-256: "any change to a message will, with a very high probability, result in a different message digest" (NIST: FIPS 180-4, Secure Hash Standard). Renaming a file doesn't change its hash, but "changing even a single character in the contents of a file changes the hash value" (Microsoft Learn: Get-FileHash).
Check your download, step by step
- Get the checksum from the publisher's official site. Use the project's own download page, not a mirror, forum post or the site that sent you the link.
- Find the line for your exact file. A checksum list usually covers many files, one per line, such as one for each operating system. Copy the checksum on the line whose file name matches the file you downloaded.
- Choose the algorithm the publisher used. Under Hash algorithm, SHA-256 is the default. The tool also offers SHA-384, SHA-512 and SHA-1 (legacy; collision weaknesses), but not MD5. Changing the algorithm clears the hashes and any checksums you've pasted, so choose it first.
- Add the file and hash it. Choose Choose files (or drop the file on Drop files to hash), then Calculate hashes. When the file's line reads Complete, its full hash appears. You can add up to 10 files of up to 100 MiB each.
- Paste only the checksum. Put the 64 hexadecimal characters into Expected SHA-256 checksum (optional). Leave out the file name, labels and any spaces inside the value.
- Read the status line under the file. It shows Match, No match, Invalid expected checksum or "Not verified — no expected checksum entered".
What the test showed
Both copies were added to the tool together and hashed with SHA-256. The tool showed the same two values as sha256sum. Then the published checksum was pasted into each file's box:
- Genuine file: Match.
- Tampered copy: No match. The summary read Matches 1 and No match 1.
- Checksum in capital letters: Match. Case doesn't matter, because hexadecimal is "the standard case-insensitive hex encoding" (IETF: RFC 4648). Some publishers print capitals, as Microsoft's own example does (Microsoft Learn: Get-FileHash).
- Spaces before or after the checksum: Match. The tool ignores them.
- The whole line from
SHA256SUMS, checksum plus file name: Invalid expected checksum, with the message "Use hexadecimal characters only (0–9, a–f), with no spaces, labels or file names." A label such asSHA256:in front, or a space inside the value, gave the same message. - One character missing: "A SHA-256 checksum has 64 hex characters; this has 63."
- A 128-character value, the length of a SHA-512 checksum: "A SHA-256 checksum has 64 hex characters; this has 128." A length like this usually means you need a different algorithm.
- The checksum from the other line of
SHA256SUMS, for the second file: No match. That looks exactly like the tampered copy, which is why the first thing to check on a mismatch is that you copied the right line.
One more thing the run showed: a file whose pasted value is invalid isn't counted under Matches or No match in the summary. Read each file's own status line, not just the totals.
As a cross-check outside the browser, sha256sum -c read the same SHA256SUMS file and reported "OK" for the genuine file and "FAILED" for the tampered copy.
This was one small synthetic file. It shows what to check and how the tool responds, not anything about a particular publisher's downloads.
What a match proves, and what it doesn't
A match proves the bytes are the same. SHA-256 digests "are used to detect whether messages have been changed since the digests were generated" (NIST: FIPS 180-4). The Apache Software Foundation puts the limit plainly: file hashes "are used to check that a file has been downloaded correctly. They do not provide any guarantees as to the authenticity of the file" (Apache: Verifying Apache Software Foundation Releases).
Authenticity is a separate check. Debian describes the two steps. The checksum shows "that the images have not been corrupted during download". The signatures on the checksum files confirm "that the images are the ones created and released by Debian, and have not been tampered with" (Debian: Verifying authenticity of Debian images).
A checksum from a hacked site proves little. In February 2016, attackers made "a modified Linux Mint ISO, with a backdoor in it, and managed to hack our website to point to it", the project wrote. Asked what was compromised, it replied: "The website itself, i.e. the MD5 and the links pointing to the mirrors" (The Linux Mint Blog, 21 February 2016). The checksum on the site had been changed along with the link, so, in our reading, comparing that download with that site's checksum wouldn't have caught it. People noticed because they found "contradicting MD5s": the checksums weren't published in only one place.
So a match tells you that your file is the file described by the checksum you pasted. It tells you that it's the file the publisher released only if that checksum came from somewhere an attacker couldn't also change, or was itself signed. The tool says the same under the results: "A match only shows the file equals the checksum you entered."
Where publishers put their checksums
Every project does this differently, so follow the publisher's own instructions. Five examples, checked on 19 November 2026:
- Ubuntu: a
SHA256SUMSfile and a signature for it,SHA256SUMS.gpg, next to the disk images. Ubuntu's tutorial verifies the signature on the list first, then checks the image against it (Ubuntu: How to verify your Ubuntu download). - Debian: "signed checksum files" alongside the images, with SHA256 and SHA512 checksums (Debian: Verifying authenticity of Debian images).
- Node.js: each download directory has a
SHASUMS256.txt.ascfile "with SHA checksums for the files and the releaser PGP signature" (Node.js README: Verifying binaries). - Go: the downloads page lists a "SHA256 Checksum" beside each file (Go: All releases). We didn't find a separate signature for those files on that page, so in our reading their trust rests on the download page itself.
- Python: each release page lists an "MD5 checksum" and a
.sigstorefile for each download. Python 3.14 and later "no longer provides PGP signatures", and "Sigstore is recommended for verifiers" (Python.org: Python 3.14.0). This tool has no MD5, so it can't check Python's listed checksums. Use Python's Sigstore verification instead (Python.org: Download Python).
Apache adds a rule worth applying everywhere: its "signatures and checksums are only available from the official Apache Software Foundation site" (Apache: Verifying releases). Take checksums from the project's own site, not from the mirror that served the file.
If the checksums don't match
Work through these in order. The first three are mistakes in the comparison, not in the file:
- Wrong line. Check that the file name on the line you copied is exactly the name of the file you downloaded, including the version, operating system and file extension. In the test, the other file's checksum gave a plain No match.
- Wrong algorithm. If the tool says the value has 40, 96 or 128 characters instead of 64, the publisher used another algorithm (SHA-1, SHA-384 or SHA-512). Choose it under Hash algorithm, choose Calculate hashes again and paste the value again.
- Pasted badly. Invalid expected checksum means the box contains something other than the hex value, such as the file name or a label. Paste only the checksum.
- Download it again, from the official site. If the comparison is right and you still see No match, Ubuntu's advice for its own images fits any download: the file "has been altered, or it downloaded incorrectly", and "either way you should download a fresh ISO from a known good source" (Ubuntu: How to verify your Ubuntu download). A checksum can't tell you which of the two happened.
- Don't open or run the mismatched file. Delete it. If a fresh copy from the official site still doesn't match, contact the project before using it.
SHA-1 and MD5 checksums
Some older downloads list only a SHA-1 or MD5 checksum.
- SHA-1: the tool offers it, labelled SHA-1 (legacy; collision weaknesses), and shows this warning: "Use it only when the publisher lists nothing stronger." NIST says SHA-1 "should be phased out by Dec. 31, 2030" and recommends that "anyone relying on SHA-1 for security migrate to SHA-2 or SHA-3 as soon as possible" (NIST: NIST Retires SHA-1 Cryptographic Algorithm). SHA-256 is one of the SHA-2 family (NIST CSRC: Hash Functions).
- Our reasoning, not a NIST statement: a SHA-1 match still catches accidental corruption. The published attacks on SHA-1 are collisions, in which the attacker creates two files that share a hash. The risk for a downloader is relying on SHA-1 as the only protection against someone who can also control the checksum. If the publisher offers SHA-256 or a signature, use that.
- MD5: the tool doesn't support it. Look for a SHA-256 checksum or a signature from the same publisher instead, as with Python above.
Signatures: the step that checks who made the file
This tool compares hashes. It doesn't check GPG or Sigstore signatures, and it doesn't read checksum files. When a publisher signs its checksum list, use the publisher's recommended program for that step, then use the checksum for the file:
- Verify the signature on the checksum list with the publisher's instructions, such as GnuPG for Ubuntu's
SHA256SUMS.gpgor Sigstore for Python. - Check the key. A "Good signature" only shows the list was signed with that key. Apache warns that "any attacker can create a public key and upload it to the public key servers", so compare the key's fingerprint with the one the publisher lists (Apache: Verifying releases). Ubuntu explains that the warning that a key is "not certified with a trusted signature" is "simply there to let you know" you haven't countersigned the key yourself.
- Then compare your file's hash with the line for your file in that verified list.
With Sigstore, "software consumers can trace software back to the source to know who created the artifact and that it has not been altered or tampered with after it was signed" (Sigstore: Overview).
Checking from the command line instead
You can also get the same value from a command, which is handy as a second opinion:
- Linux:
sha256sumfollowed by the file name. - macOS:
shasum -a 256followed by the file name. Without-a 256, shasum uses SHA-1, its default (shasum manual page). - Windows PowerShell:
Get-FileHashfollowed by the file name. It uses SHA256 by default, and its documented examples show the hash in capital letters (Microsoft Learn: Get-FileHash).
Before you open the download
- Source: the checksum came from the publisher's official site, or from a checksum list whose signature you've verified.
- Right line: the file name on that line is exactly your file's name.
- Right algorithm: the algorithm in the tool is the one the publisher lists.
- Status: the file's own status line reads Match, not just the summary.
- Mismatch: a file that shows No match has been deleted and downloaded again from the official site.

