Hashing a short word
Type "hello" and the SHA-256 result is 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824 — always 64 hex characters, no matter the input length.
Generate a SHA-256 hash of any text online instantly — free SHA256 hash generator.
About
SHA-256 produces a 256-bit digest, shown as 64 hex characters, and is the most widely used general-purpose hash today — it secures TLS certificates, underpins Bitcoin's proof-of-work, and is the default choice for checksums and password-storage building blocks across modern software.
A common reason a SHA-256 doesn't match is a hidden newline: echo "hello" | sha256sum hashes "hello" plus a line break, while this tool hashes exactly what's in the box. Use printf or echo -n on the command line to compare like for like. This generator hashes text, not files — to check a downloaded file's checksum, run sha256sum, shasum -a 256 or certutil on the file itself.
Examples
3 worked examples
Type "hello" and the SHA-256 result is 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824 — always 64 hex characters, no matter the input length.
With the box empty, SHA-256 still produces a fixed-length digest: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85.
Type "The quick brown fox jumps over the lazy dog" to get d7a8fbb307d7809469ca9abcb0082e4f8d5651e46d3cdb762d02d0bf37c9e592, a widely used SHA-256 test vector.
FAQ
Quick answers to common questions about the SHA-256 Hash Generator.
Type or paste your text above and click Generate hashes. The SHA-256 value appears in the results table — hashing happens directly in your browser, using the Web Crypto API.
Yes. It's free, with no sign-up and no limit on how much text you hash.
It's fast, has no known practical collision attacks, and its 256-bit output is large enough to make brute-forcing infeasible — which is why it secures everything from HTTPS certificates to Bitcoin blocks and most software download checksums.
No — for password storage use a slow, salted algorithm designed for it, like bcrypt or Argon2. SHA-256 is fast by design, which makes plain password hashes with it easier to brute-force offline.
Yes. Everything runs directly in your browser using the Web Crypto API — nothing is uploaded anywhere.
256 bits, shown as 64 hexadecimal characters.
A single extra character — a trailing space, a line break added by your editor, or text saved in a different encoding — produces a completely different SHA-256. This tool hashes exactly what's in the box, as UTF-8.
Not on this page. Use the File Hash Calculator, which reads the file itself in your browser and shows its SHA-256 to compare with the checksum the publisher lists.
SHA-256 is one member of the SHA-2 family, which also includes SHA-224, SHA-384 and SHA-512. People often say SHA-2 when they mean SHA-256, because it's the most widely used one.
Did SHA-256 Hash Generator work for you?