Hexadecimal to Binary Converter

Convert hexadecimal numbers to binary (base 2) instantly.

Group by:

Hex to Binary Lookup Table

0=0000
1=0001
2=0010
3=0011
4=0100
5=0101
6=0110
7=0111
8=1000
9=1001
A=1010
B=1011
C=1100
D=1101
E=1110
F=1111

Code Examples

const hex = "FF";
const decimal = parseInt(hex, 16);
const binary = decimal.toString(2); // "11111111"

Frequently Asked Questions

How do I convert hex to binary?

Each hex digit converts to exactly 4 binary digits. Use a lookup: 0=0000, 1=0001... 9=1001, A=1010, B=1011, C=1100, D=1101, E=1110, F=1111.

Related Tools