Skip to content
toolgrid

No tool found. Try another word.

Number System Converter

Convert numbers between any bases from 2 to 36, and see binary, octal, decimal and hexadecimal at once. Exact for numbers of any size.

Result
Binary (2)
Octal (8)
Decimal (10)
Hexadecimal (16)

Runs in your browser. What you enter is kept for 30 days to improve Toolgrid, then deleted.

How to use the Number System Converter

  1. 1 Type the number and choose the base it is written in.
  2. 2 Choose the base to convert to.
  3. 3 Read the result and the four common bases below it.

About the Number System Converter

A number system, or base, decides how many different digits are used and what each position is worth. Decimal (base 10) is what we use every day; computers use binary (base 2); programmers write bytes in hexadecimal (base 16) and Unix permissions in octal (base 8). Base 36 uses all digits and letters and is used for short IDs.

The converter first reads the number in its own base and then writes it in the target base, using exact big-number arithmetic, so numbers of hundreds of digits convert without rounding. Letters stand for digits above 9: A is 10, Z is 35.

Below the result you always see binary, octal, decimal and hexadecimal. The swap button reverses the direction and takes the result as new input. Prefixes such as 0x, 0b and 0o, spaces, underscores and a minus sign are allowed.

Frequently asked questions

What is the highest base?

36: the ten digits plus the 26 letters A–Z.

Which digits are valid in a base?

Base n uses the digits 0 to n−1. Hexadecimal uses 0–9 and A–F, octal 0–7, binary 0 and 1.

Can it convert fractions?

No, whole numbers only. Fractions often can’t be written exactly in another base.

What is base 36 used for?

Short, readable IDs, such as in URL shorteners, because it packs many values into few characters.