Skip to content

Number Base Converter

Convert any number between binary, octal, decimal and hexadecimal at once.

Binary101010
Octal52
Decimal42
Hexadecimal2A

Four bases, one conversion

Pick the base your number is currently in, type the value, and see it instantly converted to binary, octal, decimal and hexadecimal.

Calculated instantly, on your device

The conversion runs directly in your browser as you type — there is no server call and no delay.

Frequently asked questions

Does it support negative numbers?

No, this converter handles non-negative integers only.

Why does hexadecimal use letters?

Hexadecimal is base 16, so it needs 16 distinct digits: 0-9 followed by A-F to represent values 10 through 15.

Is there a maximum size for the number?

Very large numbers may lose precision due to floating point limits in JavaScript; for everyday use this is not a practical concern.

Related tools

You might also need these while working on the same task.