SHA-256 Checksum Calculator
Find the SHA-256 "fingerprint" of a file and compare it with one written in a court filing, an email, or anywhere else. Your file never leaves your computer. It is read and hashed inside this browser tab. Nothing is uploaded, stored, or logged.
Super simple
A checksum is a file's fingerprint. If even one dot in the file changes, the fingerprint changes. Same fingerprint means same file.
Average Joe
When someone says "I sent this exact file," they can write down its SHA-256 checksum. Later, anyone with a copy can run the file through a calculator like this one. If the 64 characters match, the copy is identical to the original, down to every byte. If they don't match, something is different. It might be one word, a page, the formatting, or the whole thing. The checksum can't tell you what changed, only that something did.
Genius
SHA-256 is a cryptographic hash function from the SHA-2 family, standardized by the U.S. National Institute of Standards and Technology (NIST) in FIPS 180-4. It takes input of any size and produces a fixed 256-bit output, shown as 64 hexadecimal characters. It is deterministic: the same input always gives the same output. It is one-way: you can't rebuild the file from the hash. A change to any single bit of input changes, on average, about half of the output bits (the "avalanche effect"). No two different files with the same SHA-256 hash have ever been found. That is why a match is treated as strong evidence that two copies are identical.
Savant
SHA-256 runs the input, padded to a multiple of 512 bits with its length appended, through a Merkle–Damgård construction. Each 512-bit block passes through 64 rounds of a compression function made of modular addition, rotations, shifts and the Ch/Maj boolean functions, using constants taken from the cube roots of the first 64 primes. Its security claims are: preimage resistance of about 2256 work; second-preimage resistance (given a file, finding a different file with the same hash) of about 2256; and collision resistance (finding any two files that match) of about 2128 by the birthday bound. No practical attack beats these for full SHA-256; the best published cryptanalysis reaches only reduced-round versions. Two practical limits matter. First, a hash proves sameness, not origin or time: anyone can hash a file. To show who produced it and when, pair the hash with a digital signature or a trusted timestamp (for example RFC 3161), or post it somewhere public and dated. Second, Merkle–Damgård hashes allow length extension, which matters for building authentication codes (use HMAC), not for checking that a file is intact.
Drag a file here, or
Compare with the checksum you were given (optional)
Check it with another calculator
Don't take our word for it. Any correct SHA-256 tool gives exactly the same 64 characters for the same file. Try one or more of these:
Built into your computer (no website needed)
- Windows (Command Prompt):
certutil -hashfile "C:\path\to\file.pdf" SHA256 - Windows (PowerShell):
Get-FileHash "C:\path\to\file.pdf" -Algorithm SHA256 - Mac (Terminal):
shasum -a 256 "/path/to/file.pdf" - Linux:
sha256sum "/path/to/file.pdf"
Other browser tools (independent of us; we don't control them)
- eakondratiev.github.io: File SHA-256 Checksum Tool
- h-schmidt.net: FileHasher
- defuse.ca: Online Text & File Checksum Calculator
- devglan.com: File Hash Generator & Checker
What this page does and doesn't prove
- Proves: the file you have is byte-for-byte the same as the file whose checksum you were given.
- Doesn't prove: who made the file, when it was made, or that its contents are true. Those need other evidence.
- Doesn't see your file: the calculation uses your browser's built-in Web Crypto API on your own device. You can unplug from the internet after the page loads and it still works.