Decimal (base 10)
Binary (base 2)
Hexadecimal (base 16)
Octal (base 8)
Binary Hex Converter moves a value between binary, hexadecimal, decimal and octal at once, with copy buttons on each representation.
Binary, octal and hex are all powers of two, which is why converting between them requires no arithmetic. One octal digit is exactly three bits, one hex digit is exactly four. You can convert by grouping bits rather than dividing.
Decimal is the odd one out. It is not a power of two, so decimal conversion requires real division and is the only one of the four you cannot do by regrouping digits.
One byte across the four bases:
Result: Two hex digits cover one byte exactly, which is why byte dumps are written in hex.
v1.0