SHA-256 Hash Generator

Hash UTF-8 text with the browser Web Crypto API.

Scope: A SHA-256 digest is not encryption and cannot be reversed.

Workbench

Inputs stay on this page.

How to use SHA-256 Hash Generator

  1. Type or paste the text to hash.

  2. Press “Generate hash”.

  3. Copy the hexadecimal SHA-256 digest.

About this tool

SHA-256 turns any text into a fixed 64-character hexadecimal fingerprint. The same input always gives the same hash, and changing one character changes it completely, which is useful for checksums and comparing values.

The hash is calculated with your browser's Web Crypto API on the UTF-8 bytes of your text.

Questions

Should I store passwords as SHA-256?
No. Passwords need a slow, salted algorithm such as Argon2, bcrypt or PBKDF2. A plain SHA-256 is fast to brute-force.