Hex to Binary

Tool processing runs in your browser — your pastes/files are not uploaded to our servers for processing. Ads (if shown) load separately and do not receive your tool inputs.Advertising · Details

Quick answer

To convert hexadecimal to binary, replace each hex digit with its 4-bit binary (0=0000 … F=1111) — for example FF = 1111 1111. TryDevSnip's converter does it instantly and exactly, even for long values, all in your browser.

Hex to binary chart

HexBinary
00000
10001
20010
40100
81000
A1010
C1100
F1111
1F0001 1111
FF1111 1111

Reverse or related: binary to hex · hex to decimal · binary to decimal · all bases

Worked example: 0xA5

Every positional number system works the same way — each digit is multiplied by the base raised to its position, counting from zero on the right. For 0xA5 in hexadecimal:

DigitPlaceWeightContribution
A16116160
516015
Total (decimal)165

Written in binary that is 0b10100101.

Quick reference

Decimalhexadecimalbinary
111
2210
44100
881000
10A1010
161010000
3220100000
64401000000
100641100100
1288010000000
255FF11111111
256100100000000

Things that trip people up

Frequently asked questions

How do I convert hex to binary?

Replace each hex digit with its 4-bit binary (0=0000 … F=1111) and join them. For example FF = 1111 1111. Or paste it into the converter and read the binary instantly.

Why is each hex digit 4 bits?

Hexadecimal is base 16 = 2⁴, so every hex digit maps to exactly four binary digits — which is why hex is a compact way to write binary.

What is FF in binary?

FF (hex) is 11111111 in binary — eight 1-bits, one full byte.

Is my input uploaded?

No. TryDevSnip converts locally in your browser. Nothing you type is uploaded to our servers for processing.

TryDevSnip