Number Base Converter
The Number Base Converter translates integers between binary, octal, decimal and hexadecimal. It is useful for programming, networking and understanding how computers represent values.
Key Features
- Binary, octal, decimal, hex
- Instant conversion as you type
- Show two-complement for negatives
- Bit-length view
- No upload
Use Cases
- Read a color value in hex
- Convert a subnet mask to binary
- Translate a permission bitmask
- Learn base arithmetic
How to Use
- Enter a number in any base
- See all other bases at once
- Adjust bit length if needed
- Copy the target value
Practical Tips
- Hex pairs map cleanly to bytes (00 to FF)
- Watch sign handling for negative numbers
- Leading zeros do not change the value
FAQ
- Why does hex matter?
- It compacts binary and matches how bytes and memory are shown.
- How are negatives handled?
- Using two-complement with the chosen bit length.