← 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

Frequently Asked Questions

What bases are supported?
The converter supports Binary (base 2), Octal (base 8), Decimal (base 10), and Hexadecimal (base 16) — the four most commonly used numeral systems in computing and programming.
Is there a number size limit?
Very large numbers are supported through JavaScript's BigInt, which handles integers of arbitrary precision. There is no practical size limit for the numbers you can convert.
Can I convert negative numbers?
Yes. Decimal to other base conversions support negative numbers. The negative sign is preserved in the output so you can convert any signed integer to its binary, octal, or hexadecimal representation.