- Home
- Hash Generator
Hash Generator
Generate SHA-256, SHA-384 and SHA-512 hashes from text with your browser's Web Crypto API — fast, local and copyable.
Web Crypto is unavailable — This browser does not provide crypto.subtle.digest, so hashes cannot be generated. Try a current version of Chrome, Firefox, Safari, or Edge.
Hashing failed — The browser could not compute the digest. Try again, or reload the page.
Hash
—Lowercase hexadecimal output appears here.
Hashing is not encryption
Hashes are one-way and cannot be reversed. SHA-256, SHA-384 and SHA-512 are general-purpose hashes, not password-storage algorithms. Use Argon2id, scrypt or bcrypt for passwords.
Computed locally
Your text and hashes stay in this browser. Nothing is uploaded, stored or sent to a server.
How it works
Choose SHA-256, SHA-384 or SHA-512, enter text, and select Generate hash. Changing the algorithm recalculates the digest from the same input without clearing your text.
Copy the lowercase hexadecimal result when you need it. The same text and algorithm always produce the same digest; spaces, line endings and capitalization are part of the input.
What a hash is
A cryptographic hash maps any input to a fixed-length digest: 64 hexadecimal characters for SHA-256, 96 for SHA-384 and 128 for SHA-512. A small input change produces a completely different digest.
Hashes are one-way: the digest cannot be reversed to recover the text. They are used for integrity checks, content addressing, digital signatures and deduplication, not for hiding readable data.
Security and passwords
Hashing is not encryption. General-purpose hashes such as SHA-256, SHA-384 and SHA-512 are fast and unsalted by design; those properties make them unsuitable for storing passwords.
Password storage requires a dedicated password-hashing algorithm with a salt and a tunable work factor, such as Argon2id, scrypt or bcrypt. Do not use this tool to store or verify user passwords.
Assumptions and edge cases
- Input is encoded as UTF-8 before hashing, so accents, CJK text and emoji produce the expected digest.
- Line endings, trailing spaces and letter case are significant:
abc,ABCandabcproduce different hashes. - The interface rejects empty input; the underlying SHA-2 functions do have defined digests for the empty string, but this page requires text.
- Hexadecimal output is always lowercase. Compare the complete digest, not a shortened prefix, when checking integrity.
- To encode a hash for transport, use the Base64 encoder; to create an identifier instead of a digest, use the UUID generator.