How to use
- Type or paste your text.
- Choose the algorithm (SHA-256 is the most common).
- Click Copy to copy the hash.
How it works
The text is converted to UTF-8 bytes and hashed with the browser's Web Crypto API. The result is shown in hexadecimal. The same text always gives the same hash, and any small change gives a completely different one.
Tips and common uses
Check that two texts are identical
Hash both texts. If the hashes match, the texts are exactly the same, down to a single space. A tiny change gives a completely different hash.
Know the output length
In hexadecimal, SHA-1 gives 40 characters, SHA-256 gives 64, SHA-384 gives 96 and SHA-512 gives 128. A hash of the wrong length means a different algorithm.
Not a way to store passwords
A plain fast hash is not enough to protect user passwords. Real systems use a slow, salted method such as bcrypt or Argon2. Use this tool for checksums and testing.
Frequently asked questions
Is there an MD5 option?
No. MD5 is broken and should not be used for anything security-related, and browsers do not include it. Use SHA-256 instead.
Can a hash be reversed?
No. A hash is one-way. That is why websites store password hashes instead of passwords (with extra protections like salting).
Why is SHA-1 still listed?
Some older systems, such as Git, still use it. Do not use SHA-1 for new security work.