Generate SHA-256, SHA-1, SHA-384 and SHA-512 hashes from any text.
Hashing happens locally with the browser’s Web Crypto API — your text never leaves your device.
How do you generate a SHA-256 hash from text?
A hash generator creates a cryptographic digest using the SHA family (SHA-256, SHA-1, SHA-384, SHA-512), computed locally in your browser with Web Crypto. A hash is a fixed-length fingerprint of your input: the same input always gives the same hash, any change produces a completely different one, and it's one-way, so you can't recover the original text.
Understanding your result
A hash is a fixed-length fingerprint of your input. The same input always gives the same hash, while any change produces a completely different one. Hashes are one-way — you can’t recover the original text from them.
How to use this tool
- Paste or type the text you want to hash.
- Choose an algorithm (SHA-256 is the common default).
- Press Generate hash and copy the result.
Common mistakes to avoid
- Using SHA-1 for security-sensitive work — it’s considered weak; prefer SHA-256 or stronger.
- Expecting to “decrypt” a hash back to text — hashing is one-way by design.
About the Hash Generator (SHA-256)
The Hash Generator produces a cryptographic hash (digest) of any text using the SHA family of algorithms, computed entirely in your browser so the input is never sent anywhere.
Explore all Security and Privacy tools
Frequently asked questions
Is my text uploaded to a server?
No. Hashing uses the browser’s built-in Web Crypto API, so the text and the resulting hash stay on your device.
Why isn’t MD5 included?
MD5 is broken for security use and isn’t part of the Web Crypto standard. The SHA family is the modern, supported choice.