Hexadecimal to Binary Converter

Type a Hexadecimal number and get Binary instantly — plus every other base at the same time.

Every base updates as you type; click bits to toggle them. Digit separators (_, spaces) are allowed. In two's complement mode the binary/octal/hex rows show the bit pattern and the decimal row shows the signed value. Choose Text to convert ASCII/UTF-8 text to bytes in any base — or bytes back to text.

How to convert Hexadecimal to Binary

Every hexadecimal digit expands to exactly 4 binary bits, so conversion is a pure digit-by-digit translation: replace each digit with its 4-bit pattern (from the table below) and join the groups together. Leading zeros on the first group can be dropped.

Worked example

Convert 2F3 (hexadecimal) to binary:

  1. Digit 20010
  2. Digit F1111
  3. Digit 30011
  4. Join the groups and drop leading zeros: 1011110011

So 2F3 in hexadecimal is 1011110011 in binary.

Hexadecimal to Binary conversion table

HexadecimalBinary
00
11
210
311
4100
5101
6110
7111
81000
91001
A1010
B1011
C1100
D1101
E1110
F1111

Frequently asked questions

Can this handle numbers larger than 64 bits?
Yes. Conversion runs on arbitrary-precision integers, so numbers of any length convert exactly. Many online converters silently lose precision above 2⁵³ (about 16 decimal digits) — this one doesn't.
How do I convert negative numbers?
A leading minus sign works in every base. For the bit-pattern view programmers usually want, switch the mode to two's complement at 8, 16, 32, or 64 bits — then binary, octal, and hex show the bit pattern while decimal shows the signed value.
Can I convert the other way, or to other bases?
Use the Binary to Hexadecimal converter, or just change the From/To dropdowns above — every common base is shown at once anyway, and a Text mode converts ASCII to bytes and back.

Need arithmetic rather than conversion — adding hex numbers, shifting bits, masking? Use the programmer's calculator.