Enter the number
Type a binary number in the box; the base is already selected.
Type a binary number and get its hexadecimal 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 binary number in the box; the base is already selected.
Hexadecimal, decimal, hexadecimal, binary and octal appear together.
Use the copy button next to the value you need.
To convert binary to hexadecimal, type your number in the converter above and read the hexadecimal value. For example, 1101 0110 in binary is D6 in hexadecimal. The other bases are shown at the same time.
Hexadecimal is shorthand for binary, so converting binary to hex makes long strings of bits readable: 11010110 becomes D6, and a 32-bit mask becomes just eight characters. It is the standard way to show bit patterns in documentation, debuggers and datasheets.
Here is 1101 0110 (binary) converted step by step:
| Binary | Hex | Decimal |
|---|---|---|
| 0000 | 0 | 0 |
| 0001 | 1 | 1 |
| 0010 | 2 | 2 |
| 0011 | 3 | 3 |
| 0100 | 4 | 4 |
| 0101 | 5 | 5 |
| 0110 | 6 | 6 |
| 0111 | 7 | 7 |
| 1000 | 8 | 8 |
| 1001 | 9 | 9 |
| 1010 | A | 10 |
| 1011 | B | 11 |
| 1100 | C | 12 |
| 1101 | D | 13 |
| 1110 | E | 14 |
| 1111 | F | 15 |
| Binary | Hexadecimal | Decimal |
|---|---|---|
| 1010 | A | 10 |
| 101010 | 2A | 42 |
| 1100100 | 64 | 100 |
| 11111111 | FF | 255 |
| 100101100 | 12C | 300 |
| 1111101000 | 3E8 | 1000 |
| 111111111111 | FFF | 4095 |
| 1111111111111111 | FFFF | 65535 |
To check the result, convert it back: D6 in hexadecimal is 1101 0110 in binary. Your input may only contain the binary digits 0 1; any other character is not a valid binary number.
More utilities that also run without leaving your browser.