Number Base Converter

Convert between Binary, Octal, Decimal, and Hexadecimal number systems instantly.

How to use: Enter a number, select input/output base (binary, octal, decimal, hex), and convert.

Binary
Octal
Decimal
Hexadecimal

How to Convert Number Bases

Enter a number in any supported base and see it converted to all other bases simultaneously. Supports binary (base 2), octal (base 8), decimal (base 10), and hexadecimal (base 16). The conversion happens in real time as you type.

Number Systems in Computing

Binary is the foundation of all digital computing. Hexadecimal provides a compact way to represent binary data — one hex digit equals four binary digits. Octal was historically used in Unix file permissions (chmod 755). Understanding number base conversion is fundamental for programming and computer science.

Frequently Asked Questions

How do I convert between number bases?
Enter a number in any base (binary, octal, decimal, or hex) and the tool instantly shows the equivalent in all other bases. Type in the field for the base you're converting from.
What is hexadecimal used for?
Hexadecimal (base 16) is used for color codes in CSS (#FF5733), memory addresses, MAC addresses, and representing binary data compactly. Each hex digit represents 4 binary bits.
How do I read binary numbers?
Binary numbers use only 0 and 1. Each position represents a power of 2 from right to left: 1, 2, 4, 8, 16, etc. For example, binary 1010 = 8 + 0 + 2 + 0 = 10 in decimal.