Tools
Runs locally

Number Base Converter

Convert between bases 2 through 36.

Ctrl+Enter runs. Ctrl+Shift+Backspace clears.

Export and import are available after you sign in. Sign in

Shows binary, octal, decimal and hexadecimal together, and can convert any base from 2 to 36 using exact integer arithmetic.

About this tool

Enter a number and its base, and see it in binary, octal, decimal and hexadecimal at once. Any base from 2 to 36 is supported, and large integers are converted exactly.

How to use it

  1. 01

    Type the number you want to convert.

  2. 02

    Choose the base it is written in.

  3. 03

    Read the binary, octal, decimal and hex values.

FAQ

Frequently asked questions

How do I convert hex to decimal?

Enter the hex value, for example FF, choose base 16 and read the decimal result, 255.

Are very large numbers supported?

Yes. The converter uses exact integer arithmetic, so long numbers are not rounded.