Hexadecimal to Binary Converter
Convert hexadecimal numbers to binary (base 2) instantly.
Hex to Binary Lookup Table
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.
Why is hex to binary conversion so easy?
Because 16 is a power of 2 (2⁴), each hex digit corresponds to exactly 4 bits. No arithmetic is needed - just replace each hex digit with its 4-bit pattern. That is why programmers use hex as a compact way to write binary.
How many bits are in a hex number?
Multiply the number of hex digits by 4. A 2-digit hex value like FF is 8 bits (one byte), 8 hex digits are 32 bits, and 16 hex digits are 64 bits.
Related Tools
Binary to Hexadecimal Converter
Convert binary numbers to hexadecimal (base 16) instantly.
Hexadecimal to Decimal Converter
Convert hexadecimal numbers to decimal (base 10) instantly.
Universal Base Converter & Number Inspector
Convert numbers between any bases from 2 to 36 and inspect the result: signed/unsigned views, bit width, byte order, and code snippets.
This tool runs entirely in your browser - nothing you enter is uploaded or stored.