Skip to content
LineOtter

How to verify a download with a checksum (SHA-256)

What a checksum proves, where to find the official hash, and how to check a file in your browser without installing anything.

What a checksum proves

A hash such as SHA-256 is a fingerprint of a file's exact bytes. Change one byte and the fingerprint changes completely. If your file's hash equals the one the publisher lists, you have exactly the file they published: not truncated, corrupted or swapped.

It does not prove the publisher is trustworthy. Take the hash from the official website or release page, not from a mirror or a message.

Step by step

1. Download the file and find the hash on the download page. It is often labelled SHA-256, checksum or digest, sometimes in a separate .sha256 file.

2. Open the checksum verifier, drop the file, and paste the published hash into Expected hash.

3. Match means the file is identical. No match means download it again; check that you picked the same version and platform as the hash.

Which algorithm?

Use whatever the publisher gives, preferring SHA-256 or SHA-512. The tool picks the algorithm from the length of the hash you paste. SHA-1 still detects accidental corruption but not deliberate tampering. MD5 is not supported because browsers do not include it and it is not safe for this.

Where to find the official hash

Look on the download page next to the file, in the release notes, or in a separate file named like SHA256SUMS or file.iso.sha256 in the same folder. Open that file in a text editor; each line is a hash followed by a file name.

Large projects sometimes sign the checksum file as well. Verifying a signature needs separate tools, but comparing the hash already catches incomplete or corrupted downloads.

Saving a checksum for later

After a successful check, download the .sha256 file from the verifier and keep it with the original. Checking a backup or a copy months later then takes one drop and one comparison.

Checksums on other devices

On Windows, PowerShell can print a SHA-256 with Get-FileHash. On macOS and Linux, the terminal command shasum -a 256 does the same. All of them, including this page, give the same 64-character result for the same file, so you can check a file on whichever device you have.

Tools for this