Binary, Decimal & Hex Converter

Convert arbitrarily large whole numbers without losing integer precision.

Conversions

How positional number systems work

Each digit represents a power of its base. Binary uses 0 and 1, octal uses 0 through 7, decimal uses 0 through 9, and hexadecimal adds A through F.

Example

Decimal 255 is binary 11111111, octal 377, and hexadecimal FF. The bit display groups the binary representation into full bytes.

Precision

The converter uses browser big integers, so large whole numbers are not rounded like ordinary floating-point values.