This tool needs JavaScript (runs locally in your browser).
Note: the Keccak-256 hash of the canonical signature is computed entirely locally — nothing leaves your browser. The reverse direction (selector → signature) only looks up a small built-in table of common standards; a hash cannot be provably reversed. Same logic as the ABI Decoder, which you can open with the signature (and calldata) prefilled.
What the 4-byte selector means
Every smart contract call starts with a 4-byte function selector: the first four bytes of the Keccak-256 hash of the canonical function signature — no spaces, no parameter names, e.g. transfer(address,uint256).
That yields 0xa9059cbb for ERC-20 transfer. In raw calldata these four bytes precede the ABI-encoded arguments; the ABI Decoder uses this fingerprint to find the matching function.
The tool works both ways: a signature is hashed into its selector — no ABI JSON required. A hash cannot be reversed mathematically, so the reverse direction looks the selector up in a small built-in table of common functions (ERC-20, ERC-721, ERC-1155, Ownable, AccessControl, Pausable, proxy). Everything runs on the same ethers.js layer as the ABI decoder (wallet-lib.js), fully offline.
The result link (?sig=… or ?selector=…) is shareable, and the ABI decoder opens with the signature prefilled on request — plus the data when you pasted calldata.
Go deeper: What the 4-byte selector means.
Frequently asked questions
Why don't parameter names matter?
transfer(address,uint256), not transfer(address to, uint256 amount). ethers.js canonicalizes that when hashing.What about overloads?
Is this Ethereum-only?
Why doesn't the tool recognize some selectors?
Can I paste full calldata?
Does my input leave the browser?
Planning smart-contract integration or an ABI pipeline?
Selectors, calldata and decoding belong in every Web3 project — I help with reviews and clear developer tooling.