Skip to content

Web

SHA-256 text hash generator

Create a SHA-256 digest for text without sending that text to a server.

Uses the browser’s Web Crypto API on the UTF-8 bytes of your text. It does not upload the text. A hash is not encryption and is not suitable as a standalone password-storage method.

Example task

Generate a SHA-256 digest for a downloaded file or text and compare it with a trusted checksum supplied by its publisher.

How this works

The browser converts your text to UTF-8 bytes, calculates SHA-256 and displays the 64-character hexadecimal digest.

Even one changed character produces a different digest. A hash is not encryption, and this tool is not a password storage system.

SHA-256 digest for text only; not encryption, file hashing or password storage.

Questions

Is my text uploaded?+

No. The digest is calculated locally using Web Crypto.

Can I recover text from the hash?+

A hash is one-way; the original text is not contained in the digest.

Is this for password storage?+

No. Password storage needs a purpose-built salted, slow password hashing method.