🔢
Number Base Converter
Binary, octal, decimal and hexadecimal in real-time
How to convert between number bases
Computers work in binary (base 2), but humans read decimal (base 10) better. Hexadecimal (base 16) is used to represent bytes compactly (e.g. CSS colors, memory addresses). Octal (base 8) is less common but appears in Unix permissions. Our tool converts instantly between all four bases: type in one field and the others update.
Common bases table
- Binary: uses 0 and 1 — computers' native language
- Octal: uses 0-7 — Linux file permissions (e.g. 755)
- Decimal: uses 0-9 — everyday use
- Hexadecimal: uses 0-9 and A-F — web colors, memory addresses, crypto keys
Frequently asked questions
What is the maximum supported value?
The tool uses 53-bit precision integer numbers (JavaScript Number), so it handles values up to about 9 × 10^15 without precision loss.