Base Converter

Enter a value in any base and the other representations update instantly — binary, octal, decimal and hexadecimal.

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

Hex letters A–F are accepted in upper or lower case. Invalid digits for a base are ignored.

Frequently asked questions

What do the base numbers mean?

The base is how many digits a system uses. Base 2 (binary) uses 0 and 1, base 8 (octal) uses 0–7, base 10 is the everyday decimal system (0–9), and base 16 (hexadecimal) uses 0–9 plus A–F. Hex is common in programming and color codes.

Why would I convert between bases?

Programmers read memory addresses and colors in hex, permissions and bit flags in octal or binary, and people use decimal. Converting lets you switch between the representation a machine uses and the one a human reads.

Are letters case-sensitive in hexadecimal?

No. Hexadecimal A–F means the same in upper or lower case (a = 10, f = 15). This converter accepts either and outputs uppercase for clarity.