SHA Hash Generator
100% PrivateSecurity & Privacy UtilitiesCompute SHA-1, SHA-256, SHA-384 and SHA-512 hashes of text or files.
Runs entirely in your browser. Your input is not uploaded to Ovatly or anywhere else.
SHA-1 is included for checking old published checksums only; it is no longer considered collision resistant. Prefer SHA-256 or stronger for anything new.
- 1Pick the algorithm; SHA-256 is the right default.
- 2Choose Text or File and provide the input; files never leave your device.
- 3Press Compute.
- 4Copy the hex digest and compare it with the published value, or save it as the reference for later.
SHA-256 of the text abc is ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad. This is the worked example printed in the FIPS 180-4 standard, so it doubles as a check that the tool is behaving.
- SHA-1 is offered only for verifying old published checksums; collisions have been demonstrated, so do not rely on it for new integrity claims.
- Text is hashed as UTF-8. A trailing newline counts, which is the most common reason a hand-typed check value disagrees.
- A hash proves the bytes match a reference value; it does not prove who published the file. Pair it with a signature or a trusted source for that.
- Very large files are read fully into memory before hashing.
SHA-256 for almost everything. SHA-512 is a fine alternative on 64-bit systems; SHA-384 is common in some security standards. SHA-1 only for legacy checks.
About this tool
The SHA Hash Generator computes SHA-1, SHA-256, SHA-384 and SHA-512 digests of text or files using the Web Crypto API built into your browser. These are the checksums publishers release alongside downloads, and the fingerprints used in certificates, git commits and integrity checks.
Related tools
Part of Ovatly's free tools in Security & Privacy Utilities.