Hex to Binary Converter

Each hex digit maps to exactly four binary bits, which makes hex a compact way to write bit patterns. This converter expands hexadecimal into binary so you can inspect flags and packed fields in calldata and logs. It runs entirely in your browser.

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

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

One hex digit is four bits

Hexadecimal is base-16, so every digit represents four binary bits: 0x0 is 0000 and 0xF is 1111. This tidy relationship is why EVM data is written in hex. Converting to binary lets you see individual bits, which matters when a contract packs several boolean flags or small integers into a single 32-byte word.

Reading packed calldata

Solidity often bit-packs values to save storage. When you decode calldata or a log's data field, expanding a hex slice to binary reveals which bits are set, helping you interpret bitmask permissions, feature flags, or enum values encoded inside a word.

よくある質問

How many bits will I get?

Four bits per hex digit. Leading zeros within each digit are preserved so the bit alignment stays correct for inspecting packed fields.

Is anything uploaded?

No. The conversion is done locally in your browser with no network request and no key.

関連ツール

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

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

APIキーを取得