About the Binary to Hex
Converting binary to hex needs no arithmetic at all. Because 16 = 24, every group of four bits (a nibble) maps to exactly one hex digit. Split the bits into groups of four starting from the right, pad the leftmost group with zeros, and replace each group: 1101 0110 1111 → D 6 F → D6F. The table under the result lists each nibble, its value and its hex digit.
The sixteen nibbles are worth memorising: 0000=0 … 1001=9, then 1010=A, 1011=B, 1100=C, 1101=D, 1110=E, 1111=F. With them you can read register values, bit masks and protocol headers at a glance, which is why debuggers and datasheets print bits in hex rather than in long binary strings.
Grouping always starts from the least significant (rightmost) bit. Grouping from the left gives a different, wrong answer whenever the bit count is not a multiple of four — for example 101 is 5, not A. Octal works the same way with groups of three bits. Spaces, underscores and a 0b prefix in the input are ignored, and the value is converted exactly regardless of length.
How to use it
- Paste the binary number (spaces between groups are fine).
- Read the hexadecimal result.
- Check the nibble table to see which 4 bits became which hex digit.
- Copy the result; decimal and octal are listed under “Other bases”.