Number Base Converter
Convert numbers between different bases: binary (base 2), octal (base 8), decimal (base 10), and hexadecimal (base 16).
Binary (Base 2)
0-1
Octal (Base 8)
0-7
Decimal (Base 10)
0-9
Hexadecimal (Base 16)
0-9, A-F
Quick Examples
Base Conversion Reference
Common Prefixes
0b - Binary (e.g., 0b1010)
0o - Octal (e.g., 0o755)
0x - Hexadecimal (e.g., 0xFF)
Common Uses
Binary: Low-level programming, flags
Octal: Unix file permissions
Hex: Colors, memory addresses