File Hash
Compute SHA-256, SHA-1 and SHA-512 checksums for a file.
Add a file
JSON, XML, text or any file you want to encode, decode or hash.
Choose an output
Compute SHA-256, SHA-1 and SHA-512 checksums for a file.
About File Hash
This tool computes SHA-256, SHA-1 and SHA-512 checksums of a file using the browser's Web Crypto API and lists them along with the file size. Comparing a checksum against the one a publisher lists is the standard way to confirm a download arrived intact and unmodified.
When it helps
- Verifying an ISO, installer or firmware image against the SHA-256 published on the vendor's site.
- Confirming two copies of a large file are identical without comparing them byte by byte.
- Recording a checksum of a release artifact or backup so you can detect corruption later.
Tips
- SHA-256 is the value most projects publish today. Compare the full string; matching only the first few characters is not a real check.
- Hex output is case-insensitive, so an uppercase checksum on a website matches the lowercase one shown here.
- If you also need MD5, SHA-384 or CRC32, use the Hash Generator, which computes those as well and accepts pasted text.
Good to know
Quick answers about file hash in your browser.
Use whichever the publisher lists, preferring SHA-256 or SHA-512. SHA-1 has known practical collision attacks, so it is fine for catching accidental corruption but should not be trusted against deliberate tampering.
The file is different from the one the publisher hashed. That can mean an incomplete download, a different version, or a modified file. Download it again from the official source before using it.
Yes. There is no sign-up, no watermark and no limit on how many files you process.
No. Files are read and processed locally in your browser, so they never leave your device.
Related tools
Part of the Developer Tools collection.