Skip to content

File checksum calculator

Free, no sign-up Runs in your browser

Drop a file and get its SHA-256, SHA-1, SHA-512 and MD5 checksums, computed in your browser. The file is not uploaded. Works for files up to 1 GB.

The file is read in your browser. It is not uploaded.

SHA-256
The result appears here.
SHA-1
The result appears here.
SHA-512
The result appears here.
MD5
The result appears here.

Files up to 1.0 GB. The browser’s Web Crypto cannot hash a file piece by piece, so the whole file is held in memory while it is hashed; on a phone or a machine short of memory the practical limit is lower.

Everything you type here stays in your browser. Nothing is sent to HardenKit or to anyone else.

How to use the file checksum calculator

  1. Drop a file on the box, or click it to choose one.
  2. Wait while it is hashed. Large files take a few seconds.
  3. Copy the checksum you need, or compare it with the published one.
  4. To compare automatically, use the checksum verifier.

About this tool

A checksum is the hash of a file’s bytes: a short value that changes completely if a single bit of the file changes. Publishers list checksums next to downloads so you can confirm that what arrived is what they released, and you can do the same for a backup, a build artifact or a file you are about to send. This tool reads the file inside your browser and shows its checksums. The file is not uploaded.

It computes SHA-256, SHA-1 and SHA-512 with the browser’s Web Crypto, and optionally MD5 with its own code. SHA-256 is the one to use and to publish. SHA-1 and MD5 are here because older download pages and many systems still list them; both are broken against deliberate tampering and only tell you about accidental damage.

A checksum proves the file matches the checksum, nothing more. If an attacker can replace the file on a server, they can usually replace the checksum on the same page. Get the checksum over HTTPS from the publisher’s own site, or better, verify a signature on the checksum file. There is one practical limit: Web Crypto hashes a whole buffer at once, so the file must fit in memory. We accept files up to 1 GB.

Sources

Questions

Is my file uploaded?

No. The browser reads the file from your disk into memory and hashes it there. The page makes no network request with the file or its checksums, which you can confirm in the browser’s network tab or by going offline first.

Which checksum should I use?

SHA-256, unless the publisher only offers something else. It is supported everywhere and has no known weakness. SHA-512 is equally sound. MD5 and SHA-1 can be forged by someone who prepares the file, so treat a match with those as a check against download errors only.

How do I compute a checksum on the command line?

On Linux: sha256sum file. On macOS: shasum -a 256 file. On Windows: certutil -hashfile file SHA256, or Get-FileHash file in PowerShell. Those tools read the file in pieces and have no size limit, so use them for very large files.

Why is there a 1 GB limit?

The browser’s hashing function takes the complete data in one call and cannot be fed piece by piece. The whole file therefore sits in memory while it is hashed. One gigabyte works on most desktop browsers; on phones and machines short of memory the real limit can be lower.

Related tools