TL
Tool Lab
💰捐贈
💰捐贈

Number Base Converter

Convert numbers between binary, octal, decimal, and hexadecimal. Enter a value and select its base.

Input
Binary (2)0b
Octal (8)0o
Decimal (10)
Hexadecimal (16)0x

Number Base Systems

Computers use four number bases most often: binary (base 2) — digits 0-1, the native language of CPUs; octal (base 8) — digits 0-7, used in Unix file permissions; decimal (base 10) — the everyday number system; and hexadecimal (base 16) — digits 0-9 and A-F, used in memory addresses, colors, and byte representations.

To convert, enter any number and select its base. The tool instantly shows the equivalent in all four bases. Negative numbers are supported — enter a minus sign before the digits.