Skip to main content
Z

Keccak-256 Hash Generator — Ethereum & Solidity keccak256() Digest

Compute Keccak-256 digest (Ethereum's hash) of text or files. Different from SHA-3 — matches Solidity keccak256().

Free No signup Client-side Privacy friendly Updated

%

Hashing…

How to use

  1. 1 Pick Text or File mode.
  2. 2 Type / paste text, or choose a file (≤ 50 MB).
  3. 3 Pick output encoding (hex for Ethereum use, Base64 for general).
  4. 4 Copy the 32-byte digest.

Why use this tool

  • Keccak-256 is the hash used everywhere in Ethereum — function selectors, event topics, address derivation, EIP-712 typed data.
  • Different from SHA-3-256 (different padding) — picking SHA-3 will produce a different hash than Solidity's `keccak256()`.
  • Run on text (UTF-8) or any file up to 50 MB.
  • Pure client-side — input never uploaded.

Frequently asked questions

Is Keccak-256 the same as SHA-3-256?

No. Keccak-256 was the algorithm submitted to NIST. SHA-3-256 (FIPS 202) uses a different padding scheme. Ethereum locked in pre-standardisation Keccak — Solidity's `keccak256()` is this tool, not SHA-3.

What is a function selector?

The first 4 bytes of keccak-256 over the canonical function signature, e.g. `keccak256("transfer(address,uint256)")[:4]` → `0xa9059cbb`. Use the Sample button to try it.

Why is the output 64 hex characters?

Keccak-256 outputs 256 bits = 32 bytes = 64 hex characters.

Can I hash binary data instead of text?

Yes — switch to File mode. The exact byte contents of the file are hashed (no encoding step). For hex-encoded bytes use a separate hex-decode step first.

What is Keccak-256 Hash Generator?

A Keccak-256 Hash Generator is a tool that computes the Keccak-256 digest of text or files, the hash function used throughout Ethereum. It produces output matching Solidity's keccak256(), which differs from the finalized NIST SHA-3 standard, and supports uses such as deriving function selectors. The hashing runs entirely client-side in the browser, so input never leaves the device.

Features

Ethereum-accurate

Matches Solidity keccak256() and Ethereum function selectors, not NIST SHA3-256.

Text or files

Hash UTF-8 text or drop in any file; output is 64 hex characters (32 bytes).

Derive selectors

Take the first 4 bytes of a hashed function signature to get an ABI function selector.

100% private

Runs client-side — input never leaves the device.

Example

Input

Zerethon

Output

e9bf52c801bc093181dc8c69fb9b06b6bcd4d09c9c642c679ccff08fc1ee8f7d

Common use cases

  1. 1

    Compute a function selector

    Hash a signature like transfer(address,uint256) and take the first 4 bytes for ABI encoding.

  2. 2

    Verify on-chain hashes

    Reproduce a keccak256 value emitted by a smart contract to confirm off-chain data.

  3. 3

    Commit-reveal schemes

    Generate the Keccak-256 commitment of a value before revealing it later.

Summary

Zerethon's Keccak-256 generator computes the 256-bit Keccak digest of text or files in your browser — the exact hash Ethereum and Solidity's keccak256() use. It is the original Keccak submission, which differs from NIST's finalized SHA3-256 by one domain-separation padding byte, so the two produce different digests for the same input. Nothing is uploaded.

Category
Web3
Pricing
Free
Privacy
Browser-based
Signup
Not required

References

Privacy

Your data never leaves your browser unless explicitly stated. Keccak-256 Hash Generator runs entirely client-side — no server upload, no logging, no tracking of your input.

Related tools

Build, share, and grow on Zerethon Social

Free signup. Earn points, collect achievements, and connect with creators worldwide.

Sign up free