Skip to content

Security

File Hash & Checksum

Calculate SHA-256, SHA-512, SHA-1 or MD5 file checksums locally and compare them with an expected hash.

Loading tool…

Find this tool in

About this tool

What is File Hash & Checksum?

Compare a downloaded file with a checksum supplied through a trusted channel. A hash describes the file's bytes, so a one-byte edit produces a different digest even when the filename and visible contents look unchanged. Choose the same algorithm as the publisher and compare the complete expected value, not just a recognizable prefix.

A worked example

Verify the standard SHA-256 result for three bytes

Example input

abc

Expected result

ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad

Save exactly the three UTF-8 bytes abc in a file, without a trailing newline, and choose SHA-256. The checksum should match the value shown. A text editor that adds a newline creates a different file and therefore a different digest. For a real download, obtain the expected checksum from the publisher rather than computing both values from the same untrusted copy.

Common mistakes and limits

  • A matching checksum is not a malware scan or a proof of authorship. If an attacker can replace both the file and its published hash, they can make them agree.
  • MD5 and SHA-1 remain useful for legacy comparisons but are unsuitable for adversarial collision resistance. Prefer a publisher-provided SHA-256 or stronger checksum.

Features

What you can do

  • Chunked hashing without reading the entire file into memory
  • Four checksum algorithms
  • Compare against an expected checksum
  • Progress indicator and cancellation

Frequently asked questions

Questions about File Hash & Checksum

Can this verify the publisher of a download?

A checksum comparison verifies that bytes match an expected digest. It does not authenticate who published the file. Obtain the expected digest from a trusted source.

Related tools