File Hash Generator
Upload any file and instantly get its SHA-1, SHA-256, SHA-384, and SHA-512 hashes, calculated with the browser's native Web Crypto API. Useful for verifying a file's integrity or authenticity without uploading it to any server.
How it works
- Select any file from your device using the file picker.
- Your browser reads the file as binary data (ArrayBuffer).
- The SHA-1, SHA-256, SHA-384, and SHA-512 hashes are calculated simultaneously using crypto.subtle.digest(), the browser's native cryptographic API.
- Each hash is displayed in hexadecimal, with its own button to copy it to the clipboard.
Use cases
- Verify that a downloaded file exactly matches the checksum published by its source.
- Check that two copies of a file are byte-for-byte identical.
- Generate a unique, reproducible identifier for a file (for example, to detect duplicates).
- Audit file integrity before distributing or digitally signing them.