File Checksum · Tutorial

How to verify a downloaded file with its SHA-256 checksum

5 min readbeginnerUpdated

You've downloaded an installer, an operating system image or a large dataset, and the website lists a SHA-256 checksum next to it. Checking takes a minute and confirms the file is complete and genuine before you run it. This tutorial shows how, without using the command line.

What you need

  • The File Checksum tool
  • The downloaded file
  • The checksum from the official download page, either a single hash or a SHA256SUMS file

Steps

  1. Find the official checksum

    On the download page, look for "SHA-256", "checksum" or a file named SHA256SUMS. Copy the checksum, or the contents of the SUMS file. Get it from the official website, ideally over HTTPS, not from a mirror or a forum post.

  2. Paste it as the expected value

    Paste the checksum, or the whole SUMS file, into Expected checksum. With a SUMS file, each line is matched to a file by name.

  3. Choose the file

    Make sure SHA-256 is ticked, then drop the downloaded file onto the box. A progress bar shows while it's read. Large disk images take a few seconds per gigabyte, all on your own computer.

  4. Read the result

    When hashing finishes, the file shows its SHA-256 and a badge. ✓ Matches the expected checksum means the file is exactly what the publisher released. ✗ Does not match means it isn't.

  5. Act on a mismatch

    Delete the file and download it again from the official site. If it fails again, don't run it. Report the problem to the publisher.

Try it yourself

Opens the File Checksum.

Try it now

Common mistakes

Getting the checksum from the same untrusted place as the file
If an attacker controls a mirror, they can change both the file and the checksum. Copy checksums from the official site, or check the publisher's signature if they provide one.
Comparing the wrong algorithm
A 64-character checksum is SHA-256, 40 is SHA-1 and 32 is MD5. Tick the matching algorithm, or the comparison will always fail.
Checking a renamed file against a SUMS file
SUMS files match by file name. If you renamed the download, paste just the hash line's checksum instead.

Next steps

Go back to the File Checksum, or keep going with one of these:

FAQ

Does a matching checksum mean the software is safe?

It means you have the exact file the publisher released. Whether that file is trustworthy depends on the publisher.