Number Base Converter

Type a number in any base — binary, octal, decimal, or hexadecimal — and see it converted to all the others instantly.

Binary (0b)
Octal (0o)
Decimal (base 10)
Hexadecimal (0x)

Type in any field — the others update automatically since they all share the same underlying value.

Example input

255 (decimal)

Example output

0xFF (hex), 0b11111111 (binary)