Number base converter

Hexadecimal to Binary Converter

Convert hexadecimal numbers to binary instantly. The tool validates your input, supports very large integers, and shows clear conversion steps.

Convert a hexadecimal number

Enter a hexadecimal value and convert it to binary or decimal. Hexadecimal uses digits 0–9 and letters A–F.

Binary result 1101101111110
Convert binary to hex instead

Live conversion steps

The explanation updates as you type. For very large numbers, the tool keeps the result exact and summarizes the method instead of displaying an overly long step list.

How this result is calculated

  1. Read each hexadecimal digit from left to right.
  2. Replace each hex digit with its four-bit binary equivalent.
  3. Join the four-bit groups together and remove unnecessary leading zeros.
Accuracy note: this converter uses JavaScript BigInt for integer conversion, so large whole numbers are handled exactly instead of being rounded like regular floating-point numbers.

What are hexadecimal and binary numbers?

The binary system is base-2. It uses only two digits: 0 and 1.

The hexadecimal system is base-16. It uses digits 0–9 and letters A, B, C, D, E and F, where A equals 10 and F equals 15.

Hexadecimal is a compact way to write binary data because one hexadecimal digit represents exactly four binary bits.

How to convert hexadecimal to binary

To convert hexadecimal to binary, replace each hex digit with its four-bit binary equivalent. Then join the groups together.

1 = 0001
B = 1011
7 = 0111
E = 1110
1B7E₁₆ = 1101101111110₂

Leading zeros are usually removed from the final binary value unless the value must fit a fixed-width format.

Hex to binary lookup table

Each hexadecimal digit maps to one four-bit binary group. This makes conversion faster than converting through decimal first.

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

For example, hex FF becomes 11111111 because F maps to 1111 and the two groups are joined.

Common uses of hexadecimal and binary

Binary is used internally by digital systems. Hexadecimal is often used by humans to read and write the same data more compactly.

You will often see hexadecimal in memory addresses, machine code, bitmasks, Unicode code points, web color values, checksums and debugging tools.

Input rules

  • Use digits 0–9 and letters A–F for hexadecimal input.
  • Lowercase letters are accepted and automatically normalized to uppercase.
  • Optional prefixes such as 0x are supported.
  • Whole numbers are supported. Fractions are intentionally not converted by this tool.