0x
Number Base Converter
Convert numbers between decimal, binary, octal, and hexadecimal
Quick Reference (0 - 15)
| Decimal | Binary | Octal | Hex |
|---|---|---|---|
| 0 | 0000 | 0 | 0 |
| 1 | 0001 | 1 | 1 |
| 2 | 0010 | 2 | 2 |
| 3 | 0011 | 3 | 3 |
| 4 | 0100 | 4 | 4 |
| 5 | 0101 | 5 | 5 |
| 6 | 0110 | 6 | 6 |
| 7 | 0111 | 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 |
About Number Base Converter
Convert numbers between different base systems instantly: decimal (base 10), binary (base 2), octal (base 8), and hexadecimal (base 16). Enter a number in any base and see it converted to all other bases in real time. Essential for programmers working with low-level code, networking, color values, and digital systems. Supports both integer and large number conversions.
How to Use Number Base Converter
- 1Enter a number in any of the input fields (decimal, binary, octal, or hex)
- 2See instant conversions to all other bases
- 3Use the copy button next to any output to copy the converted value
- 4Clear all fields to start a new conversion
Frequently Asked Questions
A number base (or radix) defines how many digits are available. Decimal (base 10) uses 0-9. Binary (base 2) uses 0 and 1. Octal (base 8) uses 0-7. Hexadecimal (base 16) uses 0-9 and A-F. Different bases are used in computing, networking, and mathematics.
Computers operate using binary (base 2) because digital circuits have two states: on and off. All data — numbers, text, images — is ultimately stored and processed as binary. Understanding binary helps with debugging, bitwise operations, and low-level programming.
Hexadecimal is commonly used for memory addresses, color codes (like #FF5733), MAC addresses, and representing binary data compactly. Each hex digit represents exactly 4 binary digits, making conversions between hex and binary straightforward.
Related Tools
B64
Base64 Encoder/Decoder
Encode text to Base64 or decode Base64 strings instantly
🎨
Color Converter
Convert colors between HEX, RGB, HSL formats with live preview
PDF
PDF Merge & Split
Merge multiple PDFs into one or split a PDF into separate pages
CSV
JSON to CSV Converter
Convert JSON arrays to CSV format for spreadsheets and databases