How to Use the Hex to Binary Converter
- Type a hexadecimal number (0-9, A-F) into the input box, with or without a "0x" prefix.
- The binary equivalent appears instantly.
- Use the linked base converter to also view decimal and octal forms.
How the conversion works
Each hexadecimal digit is expanded into exactly 4 binary digits, since 16 (the base of hex) is 2 to the 4th power. For example, the hex digit "F" (decimal 15) expands to the 4-bit binary group "1111."
Where you'll use this
This conversion is common when working with color codes, memory addresses, low-level networking or protocol data, and any context where hex is used as a compact, readable stand-in for underlying binary values.
Example
FF
11111111
Tips
- Convert each hex digit independently into its 4-bit binary group, then concatenate them in order.
- Leading zeros in a binary group are significant when hex digits are combined — don't drop them mid-conversion.
Frequently Asked Questions
Does a "0x" prefix matter?
No, "0x" is just a common convention to indicate a number is hexadecimal — this tool accepts hex digits with or without that prefix.