SHA-256 file hash generator
Compute the SHA-256 checksum of any file. The file is hashed in your browser and never uploaded — no account, no size limit, and it works offline.
What this tool does
It computes the SHA-256 hash of any file — a 64-character fingerprint that is unique to that exact sequence of bytes. Change one pixel, one character, one byte, and the hash changes completely.
Everything happens in your browser. The file is read from disk with the Web Crypto API and never leaves your device. There is no upload, no account and no size limit beyond what your own machine can handle.
What a file hash is useful for
- Verifying a download. Compare the hash you compute against the one the publisher lists. If they match, the file arrived intact and unmodified.
- Detecting tampering. Record the hash of an important file now, and you can prove later whether it has changed.
- Deduplication. Two files with the same SHA-256 are the same file, whatever they are named.
- Proving a file existed. A hash identifies a file uniquely without revealing its contents, which is what makes it publishable.
How to check a hash on the command line
The values below will match what this page produces for the same file.
# macOS / Linux
shasum -a 256 yourfile.pdf
# Windows (PowerShell)
Get-FileHash yourfile.pdf -Algorithm SHA256
# Windows (cmd)
certutil -hashfile yourfile.pdf SHA256
From a hash to dated proof
A hash on its own proves nothing about when your file existed — you could compute it today for a file you make tomorrow. What gives a hash evidentiary weight is publishing it somewhere nobody can alter after the fact.
That is what blockchain timestamping does: it records this same SHA-256 fingerprint in a public Ethereum transaction. The record is permanent, publicly verifiable, and it proves the file existed no later than that block — while the file itself stays on your machine. Only the hash is ever published.
Worth being precise about what that establishes: it proves existence and integrity, not authorship. See proof of existence vs proof of authorship for where the line falls.
About SHA-256
SHA-256 is part of the SHA-2 family published by NIST in 2001 and is the hash function securing, among many other things, the Bitcoin blockchain. It produces a 256-bit output regardless of input size, is deterministic, and is designed so that finding two different files with the same hash is computationally infeasible. No practical collision has ever been found.