TOOLBOX

Number Base Converter

Number base converter

Enter a number and its base, and see it in binary (2), octal (8), decimal (10), and hexadecimal (16) at once — plus any custom base from 2 to 36. In bases above 10, letters stand for values past 9 (A=10 … F=15 … Z=35).

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

Frequently asked questions

How do I convert between binary, decimal, and hex?
Enter the number and its base — it shows binary, octal, decimal, and hex at once by parsing to a value and re-expressing it in each base.
What is hexadecimal used for?
Base 16 compactly represents binary — each hex digit is 4 bits. Common for colors (#FF8800), addresses, and byte values.
What do letters mean in higher bases?
Letters stand for values past 9: A=10, B=11 … Z=35 (base 36). Hex F = 15.