Developer Tools

Number Base Converter

Enter an integer in one base and instantly view equivalent binary, octal, decimal and hexadecimal representations.

Binary11111111
Octal377
Decimal255
HexFF

How this tool works

The selected input base determines how the digit string is interpreted; the integer is then rendered into bases 2, 8, 10 and 16.

Example

Decimal 255 equals binary 11111111, octal 377 and hexadecimal FF.

Common questions

Does this convert fractional values such as 10.101₂?

No. This version focuses on integers.

Are negative integers supported?

Yes, provided the entered digits are valid for the selected base.