Binary to hex is the easiest number base conversion. Group binary digits into sets of 4, convert each group to a hex digit, done. About 3 seconds by hand, under 1 second with a tool.
Paste binary, get hex, decimal, and octal instantly.
Convert Binary →16 = 2⁴, so every hex digit maps to exactly 4 binary digits.
Convert 110101101011 to hex:
| Binary | Hex | Dec |
|---|---|---|
| 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 |
Log shows: 0000 0100 0000 1111 0010 1010 0000 0000. Convert each nibble: 040F2A00. Now you can find that address.
TCP flags byte 0x12 is 0001 0010 in binary = SYN + ACK set.
0xFF00 is readable as top 8 bits set. 0b1111111100000000 is harder to scan. Think in binary, write in hex.
Each hex digit expands to 4 bits. C3 = 1100 0011. Our converter does both directions.
hex(int('110101101011', 2)) → '0xd6b'parseInt('110101101011', 2).toString(16) → 'd6b'echo "obase=16;ibase=2;110101101011" | bcRelated: Base64 Encoder, URL Encoder (hex in %XX notation).