SHA-256 Hash Generator
Compute SHA-256 (FIPS 180-4) digests of any UTF-8 text. Donfig uses the browser's native Web Crypto API for the computation, then renders the standard 64-character lowercase hex output. SHA-256 is cryptographically strong: no practical collisions are known, and it's the standard digest for TLS certificates, Bitcoin proof-of-work, JWT signatures (with HMAC), code-signing, and a thousand other security-critical contexts. The full SHA family (SHA-1, SHA-256, SHA-384, SHA-512) and MD5 are all computed on the same page so you can pick the right algorithm for the job.
JavaScript is required to use the live tool. Please enable JavaScript and reload.
Frequently asked
What's the difference between SHA-256 and SHA-512?
SHA-256 produces a 256-bit digest, SHA-512 produces 512-bit. SHA-512 is faster on 64-bit hardware but produces a larger output. Both are considered secure.
Why is the output always 64 characters?
256 bits / 4 bits per hex char = 64 characters. The output length is fixed regardless of input size.
How is SHA-256 used in JWTs?
HS256 = HMAC-SHA-256 with a shared secret. Use Donfig's HMAC tool or the JWT Verifier for the keyed variant.