Hash generator
Input
0 chars / 0 bytes
SHA-1
SHA-256
SHA-384
SHA-512
What this hash tool does
This page generates cryptographic hashes from text in your browser. It supports SHA-1, SHA-256, SHA-384, and SHA-512 through the Web Crypto API, so the input never leaves your device.
What is a hash
A cryptographic hash is a fixed-size fingerprint of an input. The same input always produces the same hash, while a tiny change in the input produces a very different hash. Hashes are used for checksums, content addressing, and parts of authentication protocols.
Which algorithm should I use
For new code, prefer SHA-256 or SHA-512. SHA-1 is still found in older systems but is no longer considered safe for security uses. MD5 is omitted from this tool because the Web Crypto API does not include it and it is not recommended for security-related work.
Hashing is not encryption
Hashing is one-way: there is no key, and you cannot recover the original input from the hash. If you need to protect data so it can be read again later, use encryption instead.