Skip to content
  • No data uploaded
  • Instant results

Hexadecimal to Binary Converter

Enter a hexadecimal number to convert it to binary immediately. Paste multiple values (one per line) for bulk conversion. Arbitrary-precision math means even 128-bit values convert exactly.

Hexadecimal to Binary Converter

one number per line
Binary result
11010110
Binary → Hexadecimal

Free Hexadecimal to Binary Converter by pGento

How to convert hexadecimal to binary

Hexadecimal (base 16) uses 0–9 and A–F; each hex digit maps to exactly four bits, so one byte is always two hex digits (00–FF). Binary (base 2) uses only the digits 0 and 1 and is how every value is ultimately stored in hardware.

Worked example converting D6:

  1. Expand by place value: 13×161 + 6×160 = 214 in decimal.
  2. Repeatedly divide 214 by 2 and read the remainders bottom-up to get 11010110.
  3. Result: D6 (hexadecimal) = 11010110 (binary).

Accepted input formats

  • Optional prefixes: 0b (binary), 0o (octal), 0x (hex).
  • Spaces, commas and underscores are ignored, so 1101_0110 works.
  • A leading minus sign converts negative values (sign-magnitude, not two's complement).
  • Hexadecimal is case-insensitive; output is upper-case.

Hexadecimal to Binary reference table

HexadecimalBinary
00
11
210
311
4100
5101
6110
7111
81000
91001
A1010
B1011
C1100
D1101
E1110
F1111
1010000
20100000
401000000
641100100
8010000000
FF11111111
100100000000
40010000000000
10001000000000000
FFFF1111111111111111

Frequently asked questions

What is D6 in binary?
D6 in hexadecimal equals 11010110 in binary.
Is there a size limit?
No practical limit. The converter uses JavaScript BigInt, so values with hundreds of digits convert exactly without rounding.
Is my data sent to a server?
No. The conversion runs entirely in your browser; nothing you type is uploaded.
Hexadecimal to Binary Converter

Embed this tool on your site

Paste this code into any web page. It stays free, fast and ad-free inside your site.

Print or save as PDF

Prints just this tool and its result. Choose “Save as PDF” as the printer to get a file. Branding is stored only in this browser.