← Back to all tools
🔢 Number Base Converter
Convert between binary, octal, decimal, and hexadecimal — type in any field and all others update instantly.
Convert
Binary
Base 2 · 0b
Octal
Base 8 · 0o
Decimal
Base 10
Hexadecimal
Base 16 · 0x
Try an example:
Details
Enter a number above to see details.
About Number Bases
Computers store all data as binary (base 2). Programmers often use hexadecimal (base 16) as a compact representation of binary — each hex digit represents exactly 4 bits. Octal (base 8) maps to 3 bits per digit and is common in Unix file permissions. Decimal (base 10) is our everyday number system.
⚡ Real-time conversion
± Negative numbers
✓ Zero server transmission