Number Base Converter

Convert a number between binary, octal, decimal and hexadecimal, in any source/target combination, with a single converter.

Local processing: your data is processed in your browser and never sent to Numelto or any external service.

How it works

The value you type is interpreted in the source base and recalculated digit by digit in the target base, using arbitrary-precision arithmetic (not JavaScript's regular number type), so it doesn't lose accuracy with large numbers.

The four bases it supports

Each base uses a different set of valid digits:

BaseNameDigits used
2Binary0 and 1
8Octal0 to 7
10Decimal0 to 9
16Hexadecimal0 to 9 and A to F

If your conversion is specifically decimal → binary

This tool covers all 12 possible combinations between the four bases with a single converter, to avoid maintaining a separate page per pair — except decimal → binary, which has its own dedicated page given its own search volume.

Frequently asked questions

Related tools

We use analytics cookies to understand which calculators are useful. They are never used for advertising. More information in our privacy policy.