Number Base Converter
Convert between Binary, Octal, Decimal, and Hexadecimal number systems instantly.
Type in any field and the others update automatically.
Type in any field — the others update instantly. Supports positive integers only.
Number base conversion changes how a number is represented.
Base systems:
- Binary (base 2): Uses digits 0 and 1
- Octal (base 8): Uses digits 0–7
- Decimal (base 10): Uses digits 0–9 (everyday numbers)
- Hexadecimal (base 16): Uses digits 0–9 and letters A–F
Examples:
- Decimal 255 = Binary 11111111 = Octal 377 = Hex FF
- Decimal 42 = Binary 101010 = Octal 52 = Hex 2A
- Decimal 10 = Binary 1010 = Octal 12 = Hex A
Common uses:
- Binary: computer memory, digital circuits
- Octal: Unix file permissions
- Hexadecimal: colors (#FF0000), memory addresses