Binary converter: binary, decimal, hex and octal

Type a number into any of the four boxes and the other three update as you type. It handles numbers of any size, so you can check 8-, 16-, 32- and 64-bit values in one place.

The four number systems at a glance

SystemBaseDigits255 written asUsed for
Binary20 111111111How hardware stores everything
Octal80–7377Unix permissions
Decimal100–9255Everyday counting
Hexadecimal160–9, A–FFFColours, memory, bytes

Frequently asked questions

What is the biggest number the converter can handle?

There is no fixed limit — it uses arbitrary-precision BigInt arithmetic, so hundreds of digits convert exactly.

Does it handle negative numbers?

Yes, with a leading minus sign. For the bit pattern a computer stores, see two’s complement.

Keep going

Last reviewed 28 November 2026. Conversions run entirely in your browser.