Convert between binary, octal, decimal, and hexadecimal. Type a value in any base and instantly see it in all the others. No uploads.
SYSTEM ● ONLINE · LOCAL COMPUTE · ZERO UPLOAD
UNIT // BASE.CONVERTLIVE
255
Decimal
8
Bits
Quick Answer
How do you convert between number bases?
// Answer
Every base represents the same value with different digits. Decimal uses 0–9, binary uses 0–1, octal uses 0–7, and hexadecimal uses 0–9 plus A–F. To convert, the value is parsed from its base into a number, then re-rendered in the target base. Type in any field here and the others update instantly.
Common values
Decimal
Binary
Hex
10
1010
A
255
11111111
FF
256
100000000
100
Why use this tool
For developers and students
Binary, hex, and octal show up everywhere in programming — colors, permissions, memory addresses, bitmasks. Converting by hand is error-prone. This live converter shows all four bases at once.
FAQ
Frequently asked questions
Type your number in the Decimal field; the Binary field updates instantly.
Hex is compact and maps neatly to bytes, so it is used for colors (#FF0000), memory addresses, and more.
Yes, within standard JavaScript integer precision (up to 2^53).