Skip to content

Developer Tools

Number Base Converter

Convert a number between binary, octal, decimal and hexadecimal instantly. Enter a value, choose its base, and see it in every other base — with one-click copy. Runs entirely in your browser.

Octal (8)
12
Decimal (10)
10
Hex (16)
a

Frequently asked questions

How do I convert binary to decimal?

Enter your binary number, set the “From base” to Binary (2), and the decimal value appears automatically along with octal and hex.

Which bases are supported?

Binary (base 2), octal (base 8), decimal (base 10) and hexadecimal (base 16) — the most common bases used in computing and maths.

What if I enter an invalid digit?

The converter validates your input for the chosen base. A digit that doesn't belong (like a 2 in a binary number) is flagged instead of giving a wrong answer.

Is it free?

Yes — free, no sign-up, and every conversion runs locally in your browser.

Number Base Converter guides