home / ethereum / ens-namehash-calculatorlocal
ENS Namehash Calculator
Compute the ENS namehash and labelhash of a name such as vitalik.eth.
ens-namehash-calculatorready · runs in this browser
Runs locally in your browser. Nothing you type is sent anywhere.
ethereum tools · free · runs in your browser · no sign-up · no wallet
01 // about this tool
ENS identifies names by a namehash: start from 32 zero bytes, then for each label from right to left, hash the node together with the hash of the label. Contracts take the namehash, not the text. This tool only lowercases and does not apply full ENS name normalisation.
02 // how to use it
- Type the name.
- Press Run.
- Copy the namehash for contract calls.
03 // faq
What is a labelhash?
The Keccak-256 of one label, such as 'foo'. Registrar contracts use it.
Are emoji and accents handled?
No. Full UTS-46 normalisation is not implemented, so use plain lowercase names.