Number Base Converter
Convert between decimal, binary, hexadecimal, and octal with a bit-grid visual
(255)₁₀ = (11111111)₂ = (FF)₁₆
Binary (base 2)11111111
Octal (base 8)377
Decimal (base 10)255
Hexadecimal (base 16)FF
About this calculator
The Number Base Converter converts integers between any bases from 2 to 36, including binary, octal, decimal, and hexadecimal. Enter any value and choose the source and target bases to see the conversion instantly. Useful for computer science, programming, and digital electronics.
Common examples
- 255 (decimal) → FF (hexadecimal, base 16)
- 1010 (binary, base 2) → 10 (decimal)
- 255 (decimal) → 11111111 (binary)
- 255 (decimal) → 377 (octal, base 8)
- 1A3F (hexadecimal) → 6719 (decimal)