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

DecimalBinaryOctalHex
10101012A
16100002010
25511111111377FF

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.