Enter the number
Type a hexadecimal number in the box; the base is already selected.
Type a hexadecimal number and get its binary value instantly, together with binary, decimal, hexadecimal and octal, the bit count and a copy button. Free, in your browser.
100% private — the calculation is done in your browser and nothing is sent to any server.
Type a hexadecimal number in the box; the base is already selected.
Binary, decimal, hexadecimal, binary and octal appear together.
Use the copy button next to the value you need.
To convert hexadecimal to binary, type your number in the converter above and read the binary value. For example, D6 in hexadecimal is 1101 0110 in binary. The other bases are shown at the same time.
Expanding hex into binary shows exactly which bits are set, which is what you need for flags, permissions, network masks and hardware registers. D6 is 11010110: bits 7, 6, 4, 2 and 1 are on, and the rest are off.
Here is D6 (hexadecimal) converted step by step:
| Hex | Decimal | Binary |
|---|---|---|
| 00 | 0 | 00000000 |
| 0F | 15 | 00001111 |
| 10 | 16 | 00010000 |
| 1F | 31 | 00011111 |
| 7F | 127 | 01111111 |
| 80 | 128 | 10000000 |
| A5 | 165 | 10100101 |
| FF | 255 | 11111111 |
| Hexadecimal | Binary | Decimal |
|---|---|---|
| A | 1010 | 10 |
| 2A | 101010 | 42 |
| 64 | 1100100 | 100 |
| FF | 11111111 | 255 |
| 12C | 100101100 | 300 |
| 3E8 | 1111101000 | 1000 |
| FFF | 111111111111 | 4095 |
| FFFF | 1111111111111111 | 65535 |
To check the result, convert it back: 1101 0110 in binary is D6 in hexadecimal. Your input may only contain the hexadecimal digits 0 1 2 3 4 5 6 7 8 9 A B C D E F; any other character is not a valid hexadecimal number.
More utilities that also run without leaving your browser.