Number Base Converter
Convert numbers between Binary, Octal, Decimal, and Hexadecimal. Essential for p...Convert numbers between Binary, Octal, Decimal, and Hexadecimal. Essential for programming and computer science.
Quick Examples
Number Base Reference
| Decimal | Binary | Octal | Hex |
|---|---|---|---|
| 0 | 0 | 0 | 0 |
| 1 | 1 | 1 | 1 |
| 2 | 10 | 2 | 2 |
| 8 | 1000 | 10 | 8 |
| 10 | 1010 | 12 | A |
| 15 | 1111 | 17 | F |
| 16 | 10000 | 20 | 10 |
| 255 | 11111111 | 377 | FF |
Converter Features
Why Use Number Base Converter?
All-in-One Converter
Convert between binary, octal, decimal, and hexadecimal simultaneously in a single interface.
Instant Conversion
Type in any field and see all other bases update in real-time with zero delay.
Click-to-Edit Any Base
Click on any number field to start editing in that base - the tool adapts automatically.
100% Private
All calculations happen in your browser. Nothing is sent to any server.
Reference Table
Built-in reference table showing common values across all four number bases.
Copy Any Base
Copy the value from any individual base field with a single click.
Common Use Cases
Web Development
Convert hex color codes to RGB values or work with binary flags in JavaScript.
System Administration
Understand Unix file permissions (chmod 755) by converting octal to binary.
Embedded Systems
Work with memory addresses, register values, and binary data in microcontrollers.
Network Engineering
Convert IP addresses between decimal and binary for subnet calculations.
How It Works
Enter a Number
Type a number in any of the four base fields (binary, octal, decimal, or hexadecimal).
See All Conversions
All other fields instantly update to show the equivalent value in their respective bases.
Copy the Result
Click 'Copy' next to any field to copy that specific base representation to your clipboard.
Tips & Information
Active Field Indicator
The field you're typing in is highlighted with a colored border - all other fields show the converted values.
Unix Permissions
Enter 755 in the Octal field to see the binary representation of common file permissions (rwxr-xr-x).
Large Numbers
Very large numbers (beyond 2^53 - 1) may lose precision due to JavaScript floating-point limitations.