0

Hex to Binary Converter

Convert numbers between binary, octal, decimal and hexadecimal — arbitrary size, entirely in your browser.

Processing... 0%
Validating digits
Converting between bases
Done

Result

This page opens the number base converter preset to expand hexadecimal (base 16) values into binary (base 2) — enter the hex digits, lowercase or uppercase, and run it.

Each hex digit is exactly four bits, so the conversion is a direct substitution: 2f becomes 0010 1111, because 2 is 0010 and f is 1111. That one-to-four mapping is why programmers use hex as shorthand for bit patterns.

The full tool converts binary, octal, decimal and hexadecimal in every direction, shows the value in all four bases at once and handles numbers of any size with BigInt — locally, so nothing you type is sent anywhere.