Hash Generator
Generate SHA-1, SHA-256, SHA-384, and SHA-512 hashes. Runs locally in your browser.
What is a hash function?
A cryptographic hash function takes input of any size and produces a fixed-length string (the digest). The same input always yields the same hash, and even a tiny change to the input produces a completely different output. Hashes are one-way — you cannot reverse a digest back to the original text.
The SHA family
- SHA-1 — 160-bit. Considered weak for security; avoid for new cryptographic use, but still seen in legacy systems and checksums.
- SHA-256 — 256-bit. The most widely used secure hash today.
- SHA-384 / SHA-512 — longer digests from the SHA-2 family, used where extra strength is desired.
Common uses
- Verifying file integrity (checksums).
- Storing password hashes (with a proper salt and a slow algorithm like bcrypt/Argon2 — SHA alone is not enough for passwords).
- Generating content fingerprints and cache keys.
- Digital signatures and certificates.
Note on MD5
MD5 is intentionally not offered here — it is cryptographically broken. This tool uses the browser's Web Crypto API, which provides the secure SHA family.
Is my data safe?
Yes — hashing happens entirely in your browser. Nothing is sent to a server.
Frequently asked questions
Which algorithms are supported?
SHA-1, SHA-256, SHA-384, and SHA-512 — all computed in your browser via the Web Crypto API.
Can I reverse a hash back to the original text?
No. Cryptographic hashes are one-way functions; you cannot recover the input from its hash.
Is my input sent anywhere?
No. Hashing runs locally in your browser, so your input never leaves your device.