Number Base Converter

Enter a number in any base and get the equivalent in binary (base 2), octal (base 8), decimal (base 10) and hex (base 16).

Input Section
Input value
From base
Output Section
Binary (base 2)

11111111

Octal (base 8)

377

Decimal (base 10)

255

Hex (base 16)

FF

FAQ
What number range is supported?

The tool handles signed 64-bit integers (up to 9,223,372,036,854,775,807).

How do I enter a hex number?

Select Base 16 and type the hex digits without a 0x prefix — e.g. FF for 255.

An unhandled error has occurred. Reload x