Code tool

SHA-256 Hash

Create a 64-character SHA-256 hexadecimal digest without uploading your text. The tool runs locally, supports up to 1 MiB of UTF-8 text, and includes a copy button.

In-browser processingNo account requiredPrivacy details ↗

Up to 1 MiB of UTF-8 text. Processing stays in your browser.

Enter text to generate a digest.

SHA-256 is a one-way hash, not encryption. It cannot decrypt or reliably recover the original text.

A QUICK WALKTHROUGH

How to use this tool

  1. Enter or paste text into the input field.
  2. Click Generate SHA-256.
  3. Copy the hexadecimal digest if needed.

Runs locally in your browser

The page uses the browser Web Crypto API. Your input is encoded as UTF-8 and is not uploaded or sent to a third-party service.

A 256-bit one-way digest

SHA-256 is designed to be one-way. The digest is useful for comparison and integrity checks, but it cannot decrypt or reliably recover the original text.

Input size limit

The tool accepts up to 1 MiB of text as entered in the browser. Spaces, punctuation, line breaks, and Unicode characters all affect the digest.

GOOD TO KNOW

Common questions

Can SHA-256 decrypt text?

No. SHA-256 is a one-way hash, not encryption, so there is no decrypt operation that recovers the original input.

Is my text uploaded?

No. Hashing happens locally in your browser through the Web Crypto API.

Why is the result 64 characters?

SHA-256 produces 256 bits. Written as two hexadecimal characters per byte, that is 64 lowercase hexadecimal characters.

Does whitespace affect the hash?

Yes. Every input byte matters, including spaces, tabs, line breaks, and Unicode characters.