SHA-256 hash generator

Calculate the MD5, SHA-1, SHA-256 or SHA-512 hash of text (UTF-8), as hexadecimal.

Input

Output

Hash of 43 bytes
Words 9Characters 43Without spaces 35Sentences 1Lines 1Paragraphs 1Reading time < 1 min

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

  1. Paste or type the text in the Input box.
  2. The 64-character SHA-256 hash appears on the right as you type.
  3. 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.

Related tools