SHA-256 Hash Generator
Type or paste into the Input box (sample default is hello), then press Hash. The tool encodes your UTF-8 text with TextEncoder, runs crypto.subtle.digest for SHA-256, and shows a lowercase hex string. Until you click, the result stays Click Hash.
Updated 2026-08-03 · security
Click Hash.
About this tool
This generator uses the browser Web Crypto API for SHA-256 only. It does not offer MD5 or other digests. Empty input is valid and still produces a deterministic 64-character hex digest of the empty string.
How to use
- Open the hasher: Load this page so the Input textarea, Hash button, and result line appear.
- Enter the text: Paste or type the string you want hashed (sample starts as hello).
- Click Hash: Press Hash to run SHA-256 through Web Crypto and fill the result.
- Copy the digest: Select the hex string in the result area and reuse it where you need a checksum.
Common use cases
- Fingerprint a short string before storing a checksum in docs or tickets.
- Compare two snippets by hashing each and matching the hex digests.
- Demo SHA-256 output for class notes without installing OpenSSL.
Tips
- Click Hash after every edit; the digest does not refresh by itself.
- Copy the full 64 hex characters when you paste the result elsewhere.
FAQ
Why does the result say Click Hash at first?
The digest is computed only when you press Hash, not while typing.
Is this MD5?
No. The page always computes SHA-256 hex with Web Crypto.
Does hashing upload my text?
Digest creation runs locally in the browser when you click Hash.
What encoding is used?
Input is UTF-8 encoded with TextEncoder before SHA-256.