The Mega Number Base Converter turns any whole number from one base into another — binary, octal, decimal, hexadecimal and every base in between. Type a value in its source base, pick the base you want, and see the result instantly, or view the number in all 35 bases at once. It covers every base from 2 to 36, the full…
Valid digits: 0–9
Valid digits: 0–9, A–F
255 (Decimal) = FF (Hexadecimal) · decimal value: 255
COMMON BASES
BASES 3–9
BASES 11–20
BASES 21–36
Type your number in the value box and choose the base you are converting FROM (default is decimal). The valid digits for that base are shown beneath.
Pick the base to convert TO — the result appears instantly, along with the underlying decimal value.
Scroll to the “in every base” panel to see your number in all 35 bases at once; search by base number or name to filter.
Tap any base in the list to make it the TO base, use ⇄ to swap, and Share or Embed the converter when done.
Dec 10
Bin 1010
Dec 255
Hex FF
Dec 8
Oct 10
Dec 16
Hex 10
Hex FF
Dec 255
Bin 11111111
Dec 255
Oct 777
Dec 511
Dec 100
Hex 64
Dec 1000
Bin 1111101000
Hex A
Dec 10
A number base, or radix, is simply how many distinct digits a counting system uses before it rolls over into a new place. Everyday decimal is base 10, using the digits 0 to 9; each position is worth ten times the one to its right. Computers work in binary — base 2, just 0 and 1 — because a switch is either on or off, and every bit is a power of two. Because long strings of bits are hard to read, programmers group them into octal (base 8, three bits per digit) or, far more commonly, hexadecimal (base 16, four bits per digit), which is why colours on the web look like #FF8800 and memory addresses are written in hex. When a base goes above ten it runs out of ordinary digits, so letters take over: A stands for 10, B for 11, and so on up to Z for 35, which is why base 36 is the largest that fits the usual 0–9 A–Z alphabet. Converting a number between bases never changes its actual value — 255, 0xFF, 0o377 and 11111111 in binary are all the same quantity, just written differently. This converter parses whatever you type in its source base into that one underlying integer and then writes it out in the base you want, using exact big-integer arithmetic so even very long binary or hexadecimal values stay precise.
Every base from 2 to 36 — all 35 of them. That range is set by the standard digit alphabet: 0 to 9 followed by A to Z gives 36 symbols, so base 36 is the largest that fits. Binary, octal, decimal and hexadecimal are grouped as the common bases.
Binary (Base 2) to Decimal (Base 10)
Calculate instantly →
Binary (Base 2) to Hexadecimal (Base 16)
Calculate instantly →
Decimal (Base 10) to Binary (Base 2)
Calculate instantly →
Decimal (Base 10) to Hexadecimal (Base 16)
Calculate instantly →
Hexadecimal (Base 16) to Binary (Base 2)
Calculate instantly →
Hexadecimal (Base 16) to Decimal (Base 10)
Calculate instantly →
Last updated: — · Bases 2–36 (all 35) · Exact big-integer arithmetic, digits 0–9 then A–Z · Verified by the EagleCalculator team · Eagle-eyed accuracy for every calculation.