SHA256 Hash Generator

Enter text to compute its SHA-256 hash (64 hex characters). Uses the browser’s Web Crypto API. All processing is local. Suitable for checksums and integrity; for passwords use a proper KDF (e.g. PBKDF2, scrypt).

Generate SHA-256

Enter text and click Hash.

How it works

We encode the input as UTF-8, pass it to crypto.subtle.digest('SHA-256', data), and convert the result to a hex string.

When to use it

Use for checksums, commit hashes, or integrity checks. For password hashing, use a key derivation function with salt, not raw SHA-256.

Frequently asked questions

  • Is SHA-256 secure? Yes for integrity and non-password use. For passwords, use bcrypt, scrypt, or PBKDF2 with many iterations.