How to use the Hash Generator (SHA-256, SHA-512)
- Type or paste text.
- All four hashes update as you type.
- Copy the one you need.
How it works
Text is encoded as UTF-8 and hashed with the Web Crypto API (crypto.subtle.digest). Output is lowercase hexadecimal. Runs entirely in your browser. Nothing you paste is uploaded or stored.
Worked examples
Known test vector
SHA-256("abc") = ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad.
Limitations and assumptions
- MD5 isn't offered because browsers don't support it natively and it's broken for security uses.
- Don't hash passwords with plain SHA — use bcrypt, scrypt or Argon2 in your application.
Frequently asked questions
Can a hash be reversed?
Not mathematically, but short or common inputs can be guessed by brute force or lookup tables.
G
Built and reviewed by Guru G
Calculation logic is covered by automated tests against known values. Last reviewed Nov 6, 2026. Found a problem? Let us know — see our editorial policy.