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-ключ