Keccak-256 Hash Generator

Free online Keccak-256 hash generator. Compute Ethereum-compatible Keccak-256 digests for text and files instantly in your browser.

Text mode — hashes your input as UTF-8 characters

Best for strings, passwords, JSON, and code. Need to verify a download against a published checksum? Switch to and drop the file in — text mode cannot reproduce a file checksum.

0 bytes (UTF-8)
Keccak256-bit

Enter text above to generate Keccak-256 hash

Used by Ethereum (not the same as SHA3-256)

Text encoded as UTF-8 · All processing is local

Related Hash Generators

Need all algorithms at once? Open the full Hash Generator for every supported algorithm.

What is Keccak-256?

Keccak-256 is the original Keccak hash with 256-bit output using padding byte 0x01 — not the same as NIST SHA3-256 (which uses 0x06 padding). Ethereum uses Keccak-256 for address derivation, event topic hashing, and Solidity keccak256(). If you need Ethereum-compatible hashes, use Keccak-256, not SHA3-256.

Common use cases:

  • Ethereum address and contract bytecode hashing
  • Solidity keccak256() cross-verification
  • Event signature topic computation (keccak256 of event sig)
  • Web3 debugging and smart contract development

Examples

InputKeccak-256 Hash
Eazytools4u3590b237c701e4135294f50b976c16d0ebdfb48964f50883875dad4671ff0927
abc4e03657aea45a94fc7d47ba826c8d667c0d1e6e33a64a036ec44f58fa12d6c45
hello1c8aff950685c2ed4bc3174f3472287b56d9517b9c948127319a09a7a36deac8

Programming Examples

Node.js (@noble/hashes)
import { keccak_256 } from "@noble/hashes/sha3.js";
import { bytesToHex } from "@noble/hashes/utils.js";

const data = new TextEncoder().encode("hello");
const hash = bytesToHex(keccak_256(data));
console.log(hash); // Keccak-256 (Ethereum style)
Python (pysha3)
import sha3

digest = sha3.keccak_256(b"hello").hexdigest()
print(digest)  # Keccak-256, NOT SHA3-256
Solidity
bytes32 hash = keccak256("hello");
// Solidity keccak256() uses Keccak-256 padding

Frequently Asked Questions

Why doesn't my hash match SHA3-256?

Keccak-256 and SHA3-256 use different padding. Ethereum and Solidity use Keccak-256. NIST SHA-3 tools produce SHA3-256. They are not interchangeable.

How is Keccak-256 used in Ethereum?

Ethereum applies Keccak-256 to public keys for addresses, hashes event signatures for topics, and uses it throughout the EVM for data fingerprinting.

Can I verify Solidity keccak256 output?

Yes. Enter the same UTF-8 string in Text mode and compare with your Solidity keccak256 result (for string/bytes inputs encoded as UTF-8).

Is my private key or data uploaded?

No. Keccak-256 runs entirely in your browser. Never paste production secrets into any online tool.

← Back to all hash algorithms