File Checksum
Compute SHA-1, SHA-256 and SHA-512 checksums for local files with crypto.subtle. Compare an expected hash without uploading anything.
π Runs entirely in your browser β nothing is uploadedVerify downloads without uploading the file
A file checksum is a short fingerprint of the exact bytes in a file. Software projects often
publish SHA checksums beside installers, archives and firmware images so you can confirm that a
download arrived intact. This tool reads the selected file in your browser, passes the bytes to
crypto.subtle.digest and displays the SHA-1, SHA-256 and SHA-512 results as lowercase
hexadecimal text. The file never leaves your device. That makes the page useful for checking
private documents, large downloads or internal build artifacts when you do not want to send the
file to an online service just to calculate a digest.
Comparing an expected hash
Paste the checksum supplied by the publisher into the expected hash box before or after you calculate. The comparison ignores spaces, colons and letter case, so hashes copied from release notes, package managers or terminal output are easier to check. A match means the file you chose has the same bytes for that algorithm. A no-match result should be treated carefully: you may have selected a different version, copied the wrong algorithm, downloaded an incomplete file or received content that has been modified. Re-download from the official source and compare against a trusted page before installing or opening anything sensitive.
Checksum limits and safe habits
Checksums are excellent for detecting accidental corruption and confirming that two copies are identical, but they are only as trustworthy as the place where you got the expected value. If an attacker can replace both the file and the published hash, a checksum alone cannot prove authenticity. Prefer SHA-256 or SHA-512 from an HTTPS release page, package registry or signed announcement. SHA-1 is included because older projects still publish it, but it is not a good choice for new security-sensitive workflows. For important software, also look for code signing, detached signatures or reproducible build information. This browser helper is a private first step: it gives you the digest locally so you can compare it against the strongest source available.
How to use
- Choose a fileSelect the download or document you want to verify.
- Hash locallyThe browser reads the file and computes SHA-1, SHA-256 and SHA-512 checksums.
- Compare expected hashPaste a published checksum to see whether it matches one of the generated digests.