Hash Generator
Generate SHA-1, SHA-256 and SHA-512 hashes of any text, computed live in your browser.
How it works
Your text is UTF-8 encoded and passed to the browser's built-in Web Crypto API (crypto.subtle.digest), which computes the cryptographic hash and returns it as a hex string — the same algorithms used by Git, TLS certificates and file-integrity checks. All three hash lengths update live as you type, entirely on-device.
Example
Hashing the text "hello" gives SHA-1 aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d, SHA-256 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824, and a 128-character SHA-512 digest — useful for verifying a download or checking that two files are byte-identical.
Frequently asked questions
Why is there no MD5 option?
The Web Crypto API this tool relies on does not provide MD5 natively, and MD5 is cryptographically broken — collisions can be engineered — so it is unsuitable for anything security-related.
Can I use these hashes to store passwords?
No — plain SHA-256/512 is too fast for password storage; use a purpose-built algorithm like bcrypt or Argon2 with salting instead.
Is my text uploaded anywhere?
No — hashing runs entirely in your browser via the Web Crypto API; nothing is sent to a server.
Which algorithm should I use?
SHA-256 is the standard choice for most integrity checks today; SHA-512 is slightly slower but has a larger output; SHA-1 is kept only for compatibility with older systems.
Related tools
Encode text to Base64 or decode Base64 back to text — Unicode-safe, entirely in your browser.
Password GeneratorCreate a strong random password of any length, drawing from your chosen character types.
UUID GeneratorGenerate one or many random v4 UUIDs using your browser's cryptographic randomness.