SHA3-256 Hash Generator

Generate a SHA3-256 hash of text or files in your browser — the Keccak-based SHA-3 standard, verified against FIPS 202.

Digest

What It Does

This tool computes the SHA3-256 digest — 256 bits from the Keccak sponge construction standardised as SHA-3 in FIPS 202. SHA-3 shares nothing with SHA-2 internally: instead of a compression function it absorbs input into a 1600-bit state and squeezes output back out. Browsers do not provide it, so it is implemented here and tested against the FIPS 202 vectors and OpenSSL.

When to Use It

  • A protocol or library specifies SHA3-256 and you need to produce or check a value.
  • You want a hash from a different design family than SHA-2 for defence in depth.
  • You are trying to work out why your SHA3-256 does not match an Ethereum Keccak-256 value.
  • You need reference outputs to test your own SHA-3 implementation.

Worked Examples

Gives a7ffc6f8bf1ed76651c14756a061d662f580ff4de43b49fa82d80a4b80f8434a. Ethereum's Keccak-256 of empty input is c5d2460186f7…, a different value, because the padding differs.

abc

The FIPS 202 vector: 3a985da74fe225b2045c172d6bd390bd855f086e3e9d525b46bfe24511431532.

transfer(address,uint256)

Ethereum function selectors use Keccak-256, not SHA3-256, so this page will not give you a9059cbb. That mismatch is the most common SHA-3 confusion.

Features

SHA3-256 digest as you type
Hash files as raw bytes without uploading
Hex / HEX / Base64 output
Hash each line separately
Checksum comparison that recognises the wrong algorithm
Warnings for line endings
BOMs and passwords

How to Use

1. Type or paste text, or choose Hash a file to hash a file's raw bytes. 2. Pick the output encoding the value will be compared against — hex is the usual one. 3. To check a published checksum, paste it into the comparison box; the tool tells you whether it matches and, if not, whether it is even the same algorithm.

Common Mistakes

  • Hashing text that is not byte-for-byte what the other side hashed. A trailing newline, Windows line endings or a byte-order mark each produce a completely different SHA3-256 value, and none of them are visible.
  • Comparing a hex digest with a Base64 one. They encode the same bytes differently, so they never look alike even when they match — switch the output format before deciding two values disagree.
  • Comparing digests in mixed case and concluding they differ. Hex is case-insensitive; ABCDEF and abcdef are the same value.
  • Using a plain SHA3-256 digest where a secret is involved. To prove a message came from someone holding a key, you need HMAC, not hash(secret + message).

Frequently Asked Questions

Everything runs in your browser. Text and files are hashed locally — nothing is uploaded, logged or stored.

Explore related topics

#Hash #Checksum