File Privacy guide

How to Verify a Download With a SHA-256 Checksum

A checksum comparison can detect file corruption or substitution when the expected hash comes from a trusted source.

Obtain the expected value safely

Use the official vendor website, signed release notes, package repository, or another authenticated channel. A hash copied from the same untrusted mirror as the file provides little independent assurance.

Confirm the hash corresponds to the exact version, operating system, architecture, and file name you downloaded.

Calculate the local file hash

A browser tool can pass the file bytes to the Web Crypto API without uploading them. Operating systems also provide command-line checksum utilities for very large files.

Hash the final downloaded file before installation or extraction when that is the published comparison point.

Compare the full digest

A SHA-256 digest is normally shown as 64 hexadecimal characters. Compare every character. Uppercase and lowercase hexadecimal letters represent the same value.

A mismatch can result from corruption, a different build, a modified file, or an incorrect expected hash. Download again from the official source and investigate.

Know what a match proves

A match proves that your file bytes correspond to the expected digest. It does not prove the publisher is trustworthy or that the file is free from malware.

Use code signing, trusted distribution, security scanning, and vendor reputation in addition to checksums.

Final review checklist

  • Expected hash from trusted source
  • Correct version and file selected
  • All 64 characters compared
  • Mismatch investigated before opening
  • Additional security checks used

Written and maintained by Imran Gul

Imran is a web developer who builds browser-based tools and maintains Privacy Toolbox. These guides explain practical workflows and limitations; they are not legal, medical, compliance, or security advice.

Read the testing methodology
Apply the guide

Related browser tools

Use local processing for the first pass, then review the output before sharing.

Choose the tool that matches your content

Clean text, logs, JSON, CSV data, screenshots, image metadata, links, or file hashes in your browser.

Browse tools