Skip to content
Handy Browser Tools

Keccak-256 Hash

Hash text or raw hex bytes with Keccak-256, the hash function used across the EVM for storage slots, event topics and signatures. Paste a function signature like transfer(address,uint256) and the 4-byte selector is shown too.

Private by default: processing stays on your device
YOUR INPUT

Text or hex bytes to hash

Input is:

Ethereum's hash, instantly.

Keccak-256 updates as you type; selectors appear for function signatures.

Good to know

Ethereum uses Keccak-256 (pre-NIST padding), not NIST SHA3-256 — they give different digests. A function selector is the first 4 bytes of the hash of a Solidity signature like transfer(address,uint256).

Example: ERC-20 transfer selector

Input

transfer(address,uint256)

Output

Selector: 0xa9059cbb
Share this page X LinkedIn Reddit

These buttons share the page link, not your input.

Frequently asked questions

Is Keccak-256 the same as SHA3-256?

No. Ethereum adopted Keccak before NIST finalized SHA-3 with different padding, so the two produce different digests for the same input. Solidity's keccak256() and this tool use the original Keccak padding.

What is a function selector?

The first 4 bytes of the Keccak-256 hash of a function's canonical signature, e.g. transfer(address,uint256) → 0xa9059cbb. The EVM uses it as the first 4 bytes of calldata to route a call to the right function.

What does the hex input mode do?

Text mode hashes the UTF-8 bytes of what you type. Hex mode treats the input as raw bytes (0x-prefix optional), which is what you need to reproduce hashes of ABI-encoded data or addresses.

Is my input uploaded anywhere?

No. Hashing runs entirely in your browser via a small JavaScript implementation, safe for secrets and unreleased contract code.

Hash Generator

Generate MD5, SHA-1, SHA-256 and SHA-512 hashes from text online.