Base Converter

Convert between binary, octal, decimal, and hexadecimal

← Back
0-1

0-7

0-9

0-9, A-F

Enter a number to see bit visualization

bits

Binary: 0b
Octal: 0o
Decimal:
Hex: 0x

Enter a number to see formatted output

Base Reference

Binary (2): Uses 0 and 1

Octal (8): Uses 0-7

Decimal (10): Uses 0-9

Hexadecimal (16): Uses 0-9 and A-F