A file checksum is a fixed-length fingerprint computed from every byte of a file. If even one bit changes, the checksum changes completely, which makes hashes the standard way to confirm a download is intact and unmodified. This tool computes SHA-256, SHA-1, and MD5 for any file you select — entirely inside your browser, with nothing uploaded.
How it works
When you choose a file, the browser reads its raw bytes into an ArrayBuffer:
- SHA-256 and SHA-1 are produced by the native Web Crypto API call
crypto.subtle.digest(...), which is fast and constant-time. - MD5 is not offered by Web Crypto, so it is computed with a pure-JavaScript implementation of the RFC 1321 algorithm (padding, 64-round compression, little-endian output).
- Each digest is rendered as a lowercase hexadecimal string.
Because the bytes never leave the page, you can safely hash confidential files without exposing them to a server.
Example and notes
A download page lists SHA-256: e3b0c442.... Drop the downloaded file here, read the SHA-256 value, and compare. If they match character-for-character, the file is authentic and undamaged. If they differ, re-download or treat the file as untrusted.
Prefer SHA-256 whenever you have the choice — collisions have been demonstrated for both MD5 and SHA-1, so they should only be used to verify legacy artifacts that publish nothing stronger.