Utilities
Hex Converter
What number is this hex value?
Convert hexadecimal and decimal values used on blockchains, up to 256 bits.
Runs in your browser. Nothing you enter is sent anywhere.
How to use it
- Paste a hex value (with or without 0x) or a decimal number.
- See the decimal, hex and 32-byte forms instantly.
- For digits-only input, choose whether it is decimal or hex.
What you'll get
- Hex to decimal and back
- 32-byte form, byte length and signed reading
- Shows text hidden in hex data
- Runs in your browser
Questions and answers
Why do blockchains use hex?
The EVM works with 32-byte words, and node APIs return numbers such as block numbers, balances and gas in hexadecimal (for example 0x10 = 16).
What is the 32-byte form?
The value padded to 64 hex digits. This is how numbers appear in transaction data and contract storage.
What is the signed value?
Contracts can store signed numbers (int256) using two's complement. When a 32-byte value starts with the top bit set, it represents a negative number, shown here.
What is the largest value supported?
2^256 − 1, the largest number an EVM uint256 can hold.
Related tools
- Unit ConverterConvert between wei, gwei and ETH or BNB exactly, without rounding.
- Transaction Data DecoderTurn raw transaction data into a readable function and values, with warnings for risky approvals.
- Timestamp & Block ConverterFind the block at any date on each chain, the date of any block, and convert Unix timestamps.