Number Base Converter
Convert numbers between binary, octal, decimal, and hexadecimal
Input Number
Enter a number in any base to convert
Binary (Base 2)
Result will appear here
Octal (Base 8)
Result will appear here
Decimal (Base 10)
Result will appear here
Hexadecimal (Base 16)
Result will appear here
Quick Examples
Click on any example to try it
How to Use Number Base Converter
- Enter a number in the input field
- Select the base of your input number (2, 8, 10, or 16)
- View the automatic conversions to all other bases
- Click the copy button to copy any result
- Use the examples to test different number formats
Number Base Information
Binary (Base 2)
Uses digits 0-1. Common in computer science.
Example: 1010 = 10 in decimal
Octal (Base 8)
Uses digits 0-7. Often used in Unix permissions.
Example: 755 = 493 in decimal
Decimal (Base 10)
Uses digits 0-9. Standard number system.
Example: 123 = 123 in decimal
Hexadecimal (Base 16)
Uses digits 0-9 and A-F. Common in programming.
Example: FF = 255 in decimal
Common Use Cases
- Converting color codes (hex to decimal)
- Understanding binary representations in programming
- Working with Unix file permissions (octal)
- Memory addresses and debugging
- Network programming and IP addresses