What is SHA3-256?
SHA3-256 is the 256-bit member of SHA-3, standardized in 2015 from the Keccak sponge construction. It shares nothing with SHA-2 internally, so a break of one says nothing about the other, and it is immune to length extension.
A common surprise: Ethereum’s "sha3" is not this function. If your digest must match Solidity or web3, use the Keccak-256 page instead.
This page opens the hash generator with SHA3-256 on top and highlighted. The text is encoded as UTF-8 and hashed in your browser as you type; nothing is sent anywhere.
SHA3-256 at a glance
| SHA3-256 | |
|---|---|
| Digest size | 256 bits (64 hex characters) |
| Standard | FIPS 202 |
| Published | 2015 |
| Secure against attackers | yes |
| Where it is used | systems that want a hash independent of SHA-2, post-quantum signature schemes (ML-DSA uses SHAKE) |
| Good for passwords | no: use bcrypt or Argon2 |
How to generate a SHA3-256 hash
- Type or paste the text in the input box.
- Read the SHA3-256 row, at the top of the list; it updates as you type.
- To check a known SHA3-256, paste it in the comparison field: the matching row lights up.
Example
SHA3-256 of three inputs, computed by the same code as the tool:
| Input | SHA3-256 (hex) |
|---|---|
hello world | 644bcc7e564373040999aac89e7622f3ca71fba1d972fd94a31c3bfbf24e3938 |
| (empty text) | a7ffc6f8bf1ed76651c14756a061d662f580ff4de43b49fa82d80a4b80f8434a |
stdlib.tools | a674cd9178ab5bd06aa3a88b8dfd41b069acc1bb4957691356d73025dd32d9e2 |
A single invisible line break changes everything: hello world followed by a newline (what echo prints) gives a8009a7a528d87778c356da3a55d964719e818666a04e4f960c9e2439e35f138. When your value does not match, check trailing spaces and line breaks first.
For comparison, Keccak-256 (Ethereum) of the same hello world is 47173285a8d7341e5e972fc677286384f802f8ef42a5ec5f03bbfa254cb01fad.
SHA3-256 in code
Node.js
import { createHash } from 'node:crypto';
createHash('sha3-256').update('hello world').digest('hex');Python
import hashlib
hashlib.sha3_256(b"hello world").hexdigest()Bash
printf 'hello world' | openssl dgst -sha3-256Frequently asked questions
Is SHA3-256 still secure?
Yes. Typical uses today: systems that want a hash independent of SHA-2, post-quantum signature schemes (ML-DSA uses SHAKE).
How long is a SHA3-256 hash?
256 bits: 64 hexadecimal characters, or 44 characters in Base64 (with padding), such as ZEvMflZDcwQJmarInnYi88px+6HZcv2Uoxw7+/JOOTg= for hello world.
Why does my SHA3-256 differ from another tool?
The input differs: a trailing newline, spaces or another text encoding (UTF-8 here). Hex is case-insensitive.