⭐ 0

Hex to Binary Converter

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

Processed entirely in your browser — nothing you enter here is ever uploaded.

Processing... 0%

Result

About this tool

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.

Example. Decimal 255 converts to hexadecimal ff, binary 11111111, and octal 377.

Limit. The only bases are 2, 8, 10, and 16, and a digit that does not belong in the source base is rejected.