About SHA-256 Hash Generator
SHA-256 is the hash you will meet most today: in software checksums, Git’s newer object format, API request signing and blockchain systems. It produces a 64-character hexadecimal digest.
Paste text to see its SHA-256 straight away. Because the hash is calculated in your browser, you can safely check a secret or a token here without it ever being transmitted.
How to use it
- Paste or type the text in the Input box.
- The 64-character SHA-256 hash appears on the right as you type.
- Turn on Uppercase if needed, then copy the result.
Frequently asked questions
Is SHA-256 secure?
Yes, no practical collisions are known. For storing passwords, though, use a slow password hash such as bcrypt or Argon2 rather than plain SHA-256.
Why doesn’t my result match sha256sum?
Most likely a newline. Files usually end with one and echo adds one too, so try echo -n "text" | sha256sum, and check the input box for a trailing blank line.
Is this an HMAC?
No, it is a plain SHA-256 of the text with no key. HMAC-SHA256 mixes in a secret key and gives a different result.