Number Base Converter

Convert between binary, octal, decimal, hex

-
-
-
-

About Number Base Converter

Number base conversion is fundamental in computer science. Binary (base-2), octal (base-8), decimal (base-10), and hexadecimal (base-16) are commonly used in programming and digital systems.

How to Use This Tool

1
Enter a Number

Type the number you want to convert. Make sure it is valid for the selected input base.

2
Select the Input Base

Choose which number system your input is in: Binary (base 2), Octal (base 8), Decimal (base 10), or Hexadecimal (base 16).

3
View All Conversions

The number is instantly converted to all four bases. The source base card is highlighted for easy reference.

Example

Input
255 (Decimal)
Output
Binary: 11111111 | Octal: 377 | Hex: FF

Pro Tips

  • Binary uses only 0 and 1, Octal uses 0-7, Decimal uses 0-9, Hex uses 0-9 and A-F.
  • Hexadecimal is widely used in web colors (e.g., #FF5733) and memory addresses.
  • Conversions happen in real-time as you type — no need to click a button.

ES
Edrees Salih
6 hours ago

We are still cooking the magic in the way!