Convert & calculate · keccak256
Hash generator
Hash any text with keccak256, sha256 or sha512 as you type.
Text to hash
Nothing is uploaded. The hashing happens in this tab.
Every character counts, including spaces and line breaks. Change one and the hash changes completely.
Three fingerprints, at once
Start typing on the left and the keccak-256, SHA-256 and SHA-512 hashes all appear here as you go.
Which one do I want?
keccak-256
What Ethereum uses everywhere: deriving addresses, event topics and function selectors. If a Solidity contract hashes something, this is the answer it gets.
SHA-256
What Bitcoin uses, and the general-purpose hash of the wider internet: TLS certificates, file checksums, password schemes.
SHA-512
The same family as SHA-256 with a longer, 64-byte output. Common inside signing and key-derivation schemes.
The first 4 bytes row is the . Hash a signature such as transfer(address,uint256) and you get 0xa9059cbb. The full keccak-256 of an event signature is its topic0 in a log.
About this tool
A hash generator turns any text into a fixed-length fingerprint. This one computes keccak256, the hash Ethereum uses for addresses, function selectors and event topics, plus SHA-256 and SHA-512, as you type. Your text is encoded as UTF-8 first. keccak256 is computed by two independent libraries that must agree, and nothing you type leaves your browser.