Number Base Converter

Convert between binary, octal, decimal and hex, including very large numbers.

Tool Panel

Loading tool...
About Number Base Converter

Converts between binary, octal, decimal, hex and any base from 2 to 36, using BigInt so large values stay exact.

  • 1

    Four bases only: binary, octal, decimal and hexadecimal. Type into any one and the other three update — this is not an arbitrary 2–36 converter.

  • 2

    A leading 0b, 0o or 0x is stripped and case is ignored; a character outside the selected base is an error rather than silently read as zero.

  • 3

    Conversion accumulates digits by hand with BigInt instead of parseInt, so integers beyond 2^53 convert exactly with no quiet corruption of the last digits.

Related tools

View all
BMI Calculator
Math Tools

BMI Calculator

Work out your body mass index and what the range means.

Math Tools
Mortgage Calculator
Math Tools

Mortgage Calculator

Work out monthly repayments and total interest on a loan.

Math Tools
Percentage Calculator
Math Tools

Percentage Calculator

Work out percentages, ratios and growth rates.

Math Tools
Tip Calculator
Math Tools

Tip Calculator

Work out the tip, the total and each share from a bill amount.

Math Tools
Discount Calculator
Math Tools

Discount Calculator

Turn an original price and a discount percentage into the final price.

Math Tools
Age Calculator
Math Tools

Age Calculator

Get your exact age, total days lived and the days until your next birthday.

Math Tools