Hexadecimal to Binary Converter
Type a hexadecimal number to see it as binary, plus the other bases.
Free · Runs in your browser · Your text is never uploaded
How to convert hexadecimal to binary
Replace each hex digit with its four-bit binary value: F becomes 1111, A becomes 1010 and 3 becomes 0011.
Worked example
The hexadecimal number 1F is 11111 in binary.
Convert many at once
Put one number per line to convert a whole list, and copy the results.
A worked example
Take the hexadecimal number 9C4. Each digit is multiplied by the base raised to its position: 9×162 + 12×161 + 4×160 = 2500. Letters stand for A = 10, B = 11, C = 12, D = 13, E = 14 and F = 15. In binary that is 100111000100.
Where it is used
Seeing which individual bits are set in a hex flag value or register.
Tips
Spaces and underscores inside a number are ignored, so you can paste values like 1010 1111. Add a prefix (0x, 0b or 0o) if you are unsure which base a number is in. For the theory behind all four bases, read binary, decimal and hexadecimal explained.
Need more options? Open the full Number Base Converter.
Related guides
Frequently asked questions
How do I convert hexadecimal to binary?
Enter the hexadecimal number above and the binary result appears instantly.
Does it work for large numbers?
Yes, the arithmetic is exact for numbers up to 4,000 digits.
Can I convert negative numbers?
Yes, the minus sign is kept. Two’s complement is not applied.