Binary to Hex Converter
Turn long strings of 8-bit binary groups into compact hexadecimal bytes.
Jump to toolWhat Is Binary to Hex Conversion?
Binary to hex conversion shortens long strings of 0s and 1s into hexadecimal, where every four bits become one digit. A byte such as 01000001 becomes 41, which is far easier to read and compare.
Enter complete 8-bit groups and the tool returns each byte as a two-digit hex value, separated by spaces.
How to Convert Binary to Hex
- Enter complete 8-bit groups under Enter binary code, or select Load example.
- Read the bytes under Hex output, such as 48 65 6C 6C 6F.
- Select Copy hex or Download to keep the result.
The Method
Split each byte into two groups of four bits and replace each group with one hex digit. 01000001 becomes 0100 and 0001, which are 4 and 1, so the byte is 41 in hex, the letter A in ASCII.
Examples
| Binary | Hex |
|---|---|
| 00001111 | 0F |
| 10101010 | AA |
| 11111111 | FF |
| 01001000 01100101 01101100 01101100 01101111 | 48 65 6C 6C 6F |
Where You'll See Hex
- Colour codes in web design, such as #FF5733.
- MAC addresses and IPv6 addresses.
- Memory addresses, hashes and file signatures in programming.
Binary to Hex Converter FAQ
Convert hex back to binary
Expand hexadecimal into bits.
Related Tools
Tools that often come next after this one