Binary to Decimal Converter

Binary is how machines store integers, but base-10 is how people read them. This converter turns a bit string into a decimal value so you can interpret flags and packed fields you extracted from EVM data. It runs entirely in your browser.

Enter a non-negative integer. Hex is prefixed 0x; parsing accepts values of any size.

すべてブラウザ内で実行されます。API キー不要、データはこのページから出ません。

From bits back to a number

Each binary position is a power of two, so 1010 is 8 + 2 = 10. When you have isolated a run of bits from a packed 32-byte word, converting it to decimal gives you the underlying integer, such as an enum index, a small counter, or a bitmask value.

Where packed bits come from

Contracts pack multiple small values into one storage slot or one calldata word to cut gas. After you slice out the relevant bits from a hex value, binary to decimal conversion tells you what the field actually holds.

よくある質問

Can I include spaces between nibbles?

Group your bits however is convenient. Only the sequence of 0s and 1s determines the decimal value.

Does this tool call any server?

No. Conversion runs locally in the browser. There is no network request and no API key.

関連ツール

チャージして、キーを取得し、リリース。

セルフサーブ。暗号資産またはカードで支払い。クレジットで従量課金——重いプリミティブは高く、単純なものは安価。

APIキーを取得