Hash Generator (SHA-256 & more)
Compute SHA-256, SHA-384, SHA-512 and SHA-1 digests of any text, locally.
Loading tool…
How to use it
- Paste the text you want to hash and press Hash.
- Read the SHA-256, SHA-384, SHA-512 and SHA-1 digests side by side, each with a copy button.
- Remember the difference: hashing is one-way and verifies integrity — it does not encrypt and cannot be reversed.
- Avoid SHA-1 in new security designs; it is shown for legacy checks only.
About this tool
Computes digests with the native Web Crypto API, so results match reference implementations exactly. Hashing is one-way: it verifies integrity, it does not encrypt — the page explains the difference and warns that SHA-1 is legacy-only for security purposes.
Your input never leaves the browser: this tool works entirely offline once the page has loaded.
Frequently asked questions
Is hashing the same as encryption?
No. Hashing is one-way: it produces a fixed-size fingerprint that cannot be reversed. Encryption is two-way and requires a key. Use hashing to verify integrity, never to store recoverable secrets.
Why is SHA-1 included if it is insecure?
It is marked legacy for checking older systems and compatibility. For anything new, use SHA-256 or stronger.