Hash Generator

Security /hash

Generate SHA-256, SHA-384, and SHA-512 digests locally with the Web Crypto API.

Transfer
Local only
Limit
5 MiB input
Hashing happens locally in your browser.
Digest
The generated hash will appear here.
Digest updates as you type. 1 line 12 B algorithm SHA-256 local only

How it works

Hash text locally with SHA-256, SHA-384, or SHA-512 using Web Crypto.

Use it to calculate a reproducible SHA-2 digest for a text value.

Example

Hash the same release note twice with SHA-256 and compare the hexadecimal digests.

Notes

  • Empty input is valid and hashes to the correct digest for the empty string.
  • Output is lowercase hexadecimal.
  • Legacy hashes such as MD5 and SHA-1 are intentionally excluded.

Constraints

  • Creates one-way SHA-2 digests; it does not encrypt or store the source text.
  • Limit: 5 MiB input. Nothing is uploaded or silently truncated.

Common errors

  • Confusing hashing with encryption
  • Text encoding differences
  • Web Crypto unavailable

When to use it

Use it to calculate a reproducible SHA-2 digest for a text value.

Formats: SHA-256, SHA-384, SHA-512, UTF-8 text.

Reference

NIST FIPS 180-4 — Secure Hash Standard

Substantively reviewed .