Number Base Converter
Convert numbers between binary, octal, decimal, and hexadecimal bases. Perfect for programmers and students.
Tip: Type a number in any field to see it converted to all other bases automatically.
Quick Reference
| Decimal | Binary | Octal | Hex |
|---|---|---|---|
| 0 | 0000 | 0 | 0 |
| 10 | 1010 | 12 | A |
| 15 | 1111 | 17 | F |
| 16 | 10000 | 20 | 10 |
| 255 | 11111111 | 377 | FF |
- Convert between binary, octal, decimal, and hexadecimal
- Real-time conversion as you type
- Copy any value to clipboard
- Input validation for each base
- Quick reference table
- Supports large numbers
- Enter a number in any base field
- All other bases update automatically
- Click the clipboard icon to copy a value
- Clear All resets all fields
Number bases represent how many unique digits are used. Binary (base 2) uses 0-1, octal (base 8) uses 0-7, decimal (base 10) uses 0-9, and hexadecimal (base 16) uses 0-9 and A-F.
Binary is used in computing fundamentals, octal in Unix file permissions, decimal in everyday counting, and hexadecimal in color codes, memory addresses, and low-level programming.
This tool handles positive integers. For negative numbers and two's complement representation, specialized tools are needed.