Bytelify

Hexadecimal to Binary Converter

Convert hexadecimal numbers to binary instantly, with no size limit.

Runs in your browser, nothing sent
hex-to-binary
—

Converts live as you type, entirely in your browser using arbitrary-precision math — no size limit and nothing is sent anywhere.

Need the opposite? Decimal to Hexadecimal Converter

What is Hexadecimal to Binary Converter?

Paste a hexadecimal number and get its binary equivalent instantly. Useful for low-level programming, understanding bitmasks, or coursework involving number base conversions. Conversion runs live in your browser as you type, using arbitrary-precision math, so long hex strings (like a full memory address or hash fragment) convert without losing precision.

Hex Digit to Binary Table

HexBinary (4-bit)
00000
10001
20010
30011
40100
50101
60110
70111
81000
91001
A1010
B1011
C1100
D1101
E1110
F1111

How to Use the Hex to Binary Converter

  1. 1

    Paste or Type a Hex Number: Enter digits 0-9 and letters a-f, such as 2F or C0A8.

  2. 2

    Read the Binary Result Instantly: The binary equivalent appears automatically as you type, with no button to click.

  3. 3

    Copy the Result: Use the copy button to copy the binary string for use in code, a bitmask, or coursework.

How Hex to Binary Conversion Works

Every hex digit represents exactly 4 binary bits, because 16 (the base of hex) is 2⁴. You can convert a whole hex number to binary by converting each digit on its own and joining the 4-bit results together, in order, with no need to convert the entire number to decimal first.

How to Convert Hex to Binary

Take the hex number "2F": the digit "2" is 0010 in binary, and the digit "F" is 1111 in binary. Joined together, "2F" in hex is "00101111" in binary. For a longer number like "1A3": "1" = 0001, "A" = 1010, "3" = 0011, giving "000110100011".

Examples

OUTPUT
"FF" → "11111111" (F=1111, F=1111)

"9" → "1001"

"C0A8" → "1100000010101000" (C=1100, 0=0000, A=1010, 8=1000)
FAQs

Frequently Asked Questions

Common questions about Hexadecimal to Binary Converter.

Digits 0-9 and letters a-f (case-insensitive). Anything else will be flagged as invalid.

No. Arbitrary-precision math means very large hex numbers convert without losing precision.

Because 16 (hex's base) equals 2^4. Four binary bits can represent exactly 16 distinct values (0000 through 1111), matching hex's 16 symbols (0-9, a-f) one-to-one.

Yes, each hex digit is expanded to a full 4-bit group (e.g. hex 1 becomes 0001, not just 1), so the total bit count stays a clean multiple of 4.

Yes, Bytelify's Hex to Binary Converter is free with no account or sign-up required.

No. The conversion runs entirely client-side in your browser, so nothing you paste is sent anywhere.

Group the binary digits into sets of 4 from the right and convert each group to its single hex digit; the paired Decimal to Hexadecimal Converter can also help via decimal as an intermediate step.