SHA hash generator (SHA-1, SHA-256, SHA-512)
Get the SHA-1, SHA-256 and SHA-512 digest of any text, computed locally.
- Runs in your browser
- Nothing uploaded
- Works offline
- No sign-up
About this tool
Switch between hashing text or a whole file and see the SHA-1, SHA-256 and SHA-512 digest update instantly. The hashing is done by the browser's built-in Web Crypto API, so your input never leaves the page - useful for checking a download's checksum, generating a fingerprint, or learning how hashing behaves when you change a single character.
How to use it
- Choose Text or File as the input type.
- Type or paste text, or pick a file - the hashes calculate automatically.
- Click any hash to copy it.
- Change one character (or pick a different file) and watch every hash change completely.
Frequently asked questions
Which algorithms are supported?
SHA-1, SHA-256 and SHA-512, via the standard SubtleCrypto.digest API.
Why is there no MD5?
The browser's crypto API does not include MD5 (it is considered broken). SHA-256 is the safe default for new uses.
Is my text uploaded?
No. Hashing runs entirely in your browser.
Can I hash a file?
Yes - switch the input type to "File" and choose it. The file is read and hashed locally; it is never uploaded.
