useKits

Number Base Converter

Convert numbers between binary, octal, decimal and hexadecimal instantly — great for coding.

Number input

Decimal

255

Binary

11111111

Octal

377

Hex

FF

The Number Base Converter translates whole numbers between binary, octal, decimal, and hexadecimal. It is useful for programming, debugging, working with color codes or memory addresses, and learning how computers represent numbers.

How to use the Number Base Converter

  1. Select the base of the number you are entering (binary, octal, decimal, or hex).
  2. Type or paste the number using digits valid for that base.
  3. View the equivalent value shown in all the other bases at once.
  4. Copy whichever result you need.

Frequently asked questions

What does the decimal number 255 look like in other bases?
In binary it is 11111111, in octal it is 377, and in hexadecimal it is FF. That is why 255 shows up so often in color and byte values.
Why do I get an error or no result?
Each base only allows certain digits. Binary uses only 0 and 1, octal uses 0 to 7, and hex uses 0 to 9 plus A to F, so an out of range digit will be rejected.
Is the hexadecimal output upper or lower case?
Hex letters are shown in uppercase (A to F) for clarity, but both uppercase and lowercase input are accepted when you type a hex value.
Can it convert negative numbers or decimals with a fractional part?
The converter is designed for non negative whole numbers. Fractions and negative signs are not supported, so enter only integer values.

Related tools