Developer tools TOOL

SHA-256 hash

Calculate a SHA-256 hash on your device.

01

Enter your text

On-device processing
Input · Up to 2 MB
02

Output options

Calculates SHA-256 from your exact input text.

No account. No uploads.

SHA-256 hash · How to use

Calculate a SHA-256 hash on your device.

Example

hello → 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824

Things to know

Spaces and line breaks affect the hash. A hash cannot be decrypted back to the original text.

Your files and results are never sent to a server. Everything is processed in this browser.

How to calculate the SHA-256 hash of text

Comparing hashes is a quick way to debug an API signature string or confirm that two texts match character for character. Text is encoded as UTF-8 first, so any other UTF-8 based tool gives the same value.

When to use this tool

  • Check an intermediate value while computing an API signature
  • Confirm two texts are identical by comparing hashes
  • Create expected hash values for test code

Step-by-step instructions

  1. Enter the text you want to hash.
  2. Check that leading spaces, trailing spaces and the final line break are what you intend.
  3. Choose Convert.
  4. Copy the 64-character hash or download it as hash.txt.

Frequently asked questions

Why does another site give a different hash for the same sentence?

Your exact input is hashed, so one extra trailing line break or space produces a completely different value. Tools that do not use UTF-8 will also disagree on text containing non-ASCII characters.

Can a hash be turned back into the original text?

No. SHA-256 is a one-way function, so the input cannot be recovered from the hash. If you need to hide data and read it again later, you need encryption, not hashing.

Does it hash files or support other algorithms?

It calculates SHA-256 for text input only; there is no file picker and no MD5 or SHA-1. The result is shown as 64 lowercase hexadecimal characters.

Save only the tools you need.