File Hash Generator
Generate cryptographic checksums for any file — SHA-256, SHA-512, SHA-384, and SHA-1. Verify file integrity by pasting a known hash and checking it against the computed value. Works entirely in your browser using the FileReader API and Web Crypto API — files are never uploaded.
When you download software, the publisher often provides a checksum (e.g. SHA-256: a3b4c5…). Hashing the downloaded file and comparing it to the published checksum confirms the file hasn't been tampered with or corrupted in transit.
Paste the expected hash into the Verify Hash field that appears after hashing a file. A green match means the file is exactly as the publisher intended.
| Algorithm | Output Length | Status | Use For |
|---|---|---|---|
| SHA-1 | 40 hex chars | Deprecated | Legacy systems only |
| SHA-256 | 64 hex chars | Recommended | General integrity verification |
| SHA-384 | 96 hex chars | Secure | Subresource Integrity (SRI) |
| SHA-512 | 128 hex chars | Secure | High-security applications |
Frequently Asked Questions
Why would I hash a file?
Hashing verifies a downloaded file is authentic and unmodified. Compare your computed hash to the publisher's published checksum — a match confirms the file is genuine.
Is my file uploaded anywhere?
No. The file is read into browser memory using the FileReader API and hashed locally. Your file never leaves your device.
What hash algorithms are available?
SHA-256, SHA-384, and SHA-512. SHA-256 is the most widely used standard for file integrity verification.
Can I verify a hash I already have?
Yes. Paste the expected checksum into the verification input and the tool will compare it to the computed hash.