File hash checker: SHA-256 in your browser

Calculate a file's SHA-256, SHA-512, SHA-384 and SHA-1 hash and compare it with a published value. The file stays on your device.

Choose any file to calculate its SHA-256, SHA-512, SHA-384 and SHA-1 hashes with your browser's built-in cryptography. Paste a published hash to compare it. A match means the file has the same bytes as the file that hash describes, as long as you trust where the hash came from.

When to use it

A hash is a short fingerprint of a file. Change one byte and the whole fingerprint changes. People use this to confirm that a download arrived intact, that a backup copy matches the original, or that two files with different names are the same.

Comparing a value

Paste the published hash into the box. Capital letters, spaces and a leading label such as sha256: are ignored. The tool checks your value against all four results, so you do not need to pick the algorithm.

A note on sensitive files

Plenty of online hash sites ask you to upload the file. Here it stays in your browser, and the page’s security policy blocks its scripts from making network requests.

Frequently asked questions

What does a matching hash prove?

That your file is identical to the one the hash was made from. It says nothing about whether that file is safe, and a hash from the same compromised site as the download proves little.

Why is MD5 missing?

Browsers do not include MD5 in their Web Crypto API, and it has been broken for detecting deliberate tampering. SHA-1 is here for older checksums only, because NIST has moved away from it too.

How big a file can it handle?

The browser has to hold the whole file in memory while hashing. Files of a few gigabytes work on many computers, and phones hit the limit sooner. The tool tells you if the browser runs out.

Related pages

Sources