SHA-256 hasher
This tool computes the SHA-256 hash of your text. A hash is a fixed-length fingerprint: the same input always gives the same result, and a tiny change gives a completely different one. Developers use it to compare values, check test vectors and build cache keys.
- Runs in your browser
- Free, no account needed
- Copy or download the result
Result
Example
hello
2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
How to use the sha-256 hasher
- Type or paste text into the Text to hash box.
- Choose Hexadecimal letters: Lowercase or Uppercase.
- Press Run to compute the digest.
- Copy result or Download the hash.
How it works
The text is hashed as UTF-8 bytes, so the result matches other tools that hash UTF-8 text.
Every character counts, including spaces and a line break at the end. A trailing newline gives a different hash.
The output is always 64 hexadecimal characters, which is 256 bits.
Hashing uses the browser's Web Crypto feature, which needs a secure (HTTPS) page. If it is missing, the tool shows an error.
A hash is a one-way digest, not encryption. The text cannot be recovered from it, and a plain SHA-256 hash is not a safe way to store passwords.
Everything runs in your browser. Your input is not uploaded or stored.
Questions and answers
Can SHA-256 be decrypted?
No. SHA-256 is a one-way hash, not encryption, so there is no key and no way to reverse it. Short or common inputs can still be guessed by hashing many candidates and comparing.
Why does my hash not match another tool?
Check for extra spaces, a trailing line break, or a different text encoding. This tool hashes the exact UTF-8 bytes of what is in the box.
Is SHA-256 safe for storing passwords?
Not on its own. Passwords should be stored with a slow, salted password hashing method such as bcrypt, scrypt or Argon2.
Is my text sent anywhere?
No. The hash is computed in your browser.