Developer Bases

Number base converter

Value
From base
To base
Converted 255
Base 16 → base 10
And every common base
Decimal 255
Binary 11111111
Octal 377
Hexadecimal FF
Base 32 7V
Base 36 73
Bits needed 8
Note
Bases 2 to 36 · digits 0–9 then A–Z
DecimalBinaryOctalHex
0000
1111
81000108
10101012A
15111117F
16100002010
64100000010040
100110010014464
25511111111377FF
256100000000400100
1024100000000002000400
655351111111111111111177777FFFF

Base 36 uses all ten numerals and all twenty-six letters, which is as far as a case-insensitive alphanumeric alphabet goes. Base 62 exists by distinguishing upper and lower case, and Base64 adds two symbols on top — but those are encodings for binary data rather than positional number systems, which is why the general converter stops at 36.

Advertisement
320 × 100

A positional base uses digits worth successive powers of the base. Base 36 uses 0–9 then A–Z, which is the largest case-insensitive alphanumeric base. FF in base 16 is 255 in base 10, 11111111 in base 2 and 73 in base 36.

How to convert between bases

1 Enter the value and the base it is written in.
2 Choose the base you want.
3 Read the result plus every common base underneath.
4 A digit the source base cannot hold is reported rather than skipped.

Converting between two arbitrary bases is done by going through decimal, which is what this tool does internally. The exception is when one base is a power of the other — hex to binary, octal to binary — where direct digit substitution works and needs no arithmetic. That shortcut is why those particular pairs feel so much easier than, say, base 7 to base 13.

Questions

Anything from 2 to 36. Base 36 uses 0–9 then A–Z.

Advertisement
300 × 250
Was this tool any good?
INTERNAL SIGNAL ONLY · WE USE IT TO FIND TOOLS WORTH REBUILDING