Number Base Converter
Convert numbers between Binary, Octal, Decimal, and Hexadecimal
Base Converter
Custom Base Converter
Bit Representation
Quick Reference Table
| Decimal | Binary | Octal | Hexadecimal |
|---|---|---|---|
| 0 | 0 | 0 | 0 |
| 1 | 1 | 1 | 1 |
| 2 | 10 | 2 | 2 |
| 3 | 11 | 3 | 3 |
| 4 | 100 | 4 | 4 |
| 5 | 101 | 5 | 5 |
| 6 | 110 | 6 | 6 |
| 7 | 111 | 7 | 7 |
| 8 | 1000 | 10 | 8 |
| 9 | 1001 | 11 | 9 |
| 10 | 1010 | 12 | A |
| 11 | 1011 | 13 | B |
| 12 | 1100 | 14 | C |
| 13 | 1101 | 15 | D |
| 14 | 1110 | 16 | E |
| 15 | 1111 | 17 | F |
Usage Examples
Decimal to All Bases
Convert decimal 255 to see its binary (11111111), octal (377), and hexadecimal (FF) representations.
Binary Analysis
Enter a binary number like 11010110 and instantly see its value in decimal, octal, and hexadecimal.
Hex Color Values
Convert hex color values like FF00AB to binary and decimal for low-level color manipulation.
Features
Bidirectional Conversion
Type in any field and all other bases update instantly in real-time
Large Number Support
Handles arbitrarily large numbers using BigInt for precise conversions
Custom Base (2-36)
Convert between any two bases from 2 to 36 with the custom converter
Privacy First
All conversions happen locally in your browser, no data sent to servers
How to Use?
Enter a Number
Type a number in any of the four fields: Binary, Octal, Decimal, or Hexadecimal.
See Instant Results
The other three fields update automatically with the converted values in real-time.
Copy or Use Custom Base
Copy any result with one click, or use the custom base converter for bases 2-36.
Frequently Asked Questions
What Is a Number Base Converter?
A tool that converts numbers between binary, octal, decimal, and hexadecimal -- the four bases developers deal with constantly. Type in one field, the others update instantly. There is also a custom converter for any base from 2 to 36.
Key Features
Real-time bidirectional conversion, BigInt support for arbitrarily large numbers, visual bit representation, custom base converter (2-36), input validation, and one-click copy.
Common Use Cases
Checking binary values when debugging hardware interfaces, converting hex color codes, working with octal file permissions, or just learning how different number systems relate to each other.
Tips
Hexadecimal uses digits 0-9 and letters A-F (case insensitive). For bases above 10, the custom converter uses letters beyond F up to Z for base 36.
Privacy
Everything runs in your browser with JavaScript. No data is transmitted to any server.