Binary / Hex / Octal Converter
Convert any number between binary, decimal, octal, and hexadecimal.
Type a number in any base — binary, decimal, octal, or hexadecimal — and see it converted into the other three instantly. Built for students, programmers, and anyone working with number systems.
Quick reference
| Decimal | Binary | Octal | Hex |
|---|---|---|---|
| 10 | 1010 | 12 | A |
| 16 | 10000 | 20 | 10 |
| 255 | 11111111 | 377 | FF |
Frequently asked questions
What bases does this support?
Binary (base 2), octal (base 8), decimal (base 10), and hexadecimal (base 16) — type into any one and the other three update instantly.
Can I convert negative numbers?
This converter works with non-negative whole numbers. For negative or fractional values, most programming languages use two's complement or floating-point representations, which are outside the scope of a simple base converter.
Is there a limit to how large a number I can convert?
No practical limit — the converter uses arbitrary-precision arithmetic, so it handles numbers far larger than a standard 32- or 64-bit integer.