Verify a SHA-256 Checksum

Check that a download is complete and unchanged, without the command line.

The Short Answer

A SHA-256 checksum is a fingerprint of a file. If the fingerprint of your download matches the one the publisher lists, you have exactly their file: nothing is missing and nothing changed on the way.

You don't need the command line to check it. A browser-based checker reads the file on your own computer and compares the two values for you.

Check a file's SHA-256 →

Verify a Download in Five Steps

  1. Find the published checksum. It is usually next to the download link, or in a file named something like SHA256SUMS or file.iso.sha256. Use the publisher's own website.
  2. Open the file checksum tool. It works in any modern browser on Windows, Mac, Linux, iPhone or Android.
  3. Paste the expected value. Copy the long string of letters and numbers and paste it into the expected hash box. Capitals and spaces don't matter, and a whole line like <hash>  file.iso is fine too.
  4. Choose the downloaded file. Or drag it onto the page. It is read in pieces, so a multi-gigabyte ISO works. A progress bar shows how far it has got.
  5. Read the result. A green “Match” means the file is the one the publisher hashed. A red “Does not match” means it isn't: download it again.

The tool works out the algorithm from the length of what you paste, so you can also check MD5, SHA-1 and SHA-512 values the same way.

Which Checksum Did They Give You?

Length (hex characters)Algorithm
32MD5
40SHA-1
64SHA-256
128SHA-512

For example, the SHA-256 of an empty file is always e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855: 64 characters.

Things That Trip People Up

Platform Notes: The Built-In Commands

If you are comfortable with a terminal, every desktop system can do this without installing anything:

These commands print the hash and leave the comparing to you, which is where people slip: comparing the first few characters by eye is not enough. Pasting both values into the checker compares all of them.

Frequently Asked Questions

How do I verify a SHA-256 checksum on Windows without the command line?

Open the file checksum tool in your browser, choose the downloaded file, and paste the SHA-256 from the download page into the expected hash box. It shows a clear match or mismatch. The file is hashed on your computer and is not uploaded.

What is the built-in command for SHA-256 on Windows?

In PowerShell, Get-FileHash followed by the file path. Microsoft's documentation says it uses SHA256 by default. In Command Prompt, certutil -hashfile followed by the file path and SHA256 also works.

How do I check SHA-256 on a Mac?

Without Terminal, use the checksum tool in Safari or any browser. In Terminal, the shasum command with -a 256 and the file path prints the SHA-256.

Does it matter if the hash is in capitals?

No. A SHA-256 is a hexadecimal number, so A and a mean the same thing. Windows PowerShell prints capitals and most websites print lowercase. The checksum tool ignores case and spaces when comparing.

What does it mean if the checksum does not match?

Your file is not byte-for-byte what the publisher hashed. The usual causes are an incomplete or interrupted download, the wrong file or version, or comparing against the wrong algorithm. Download again from the official site. Do not install or open a file that fails the check.

Is MD5 or SHA-1 good enough?

For catching a corrupted download, yes. For protection against deliberate tampering, no: different files with the same MD5 or SHA-1 have been produced. Use SHA-256 or SHA-512 when the publisher provides them.