Number Base Converter

Convert integers between binary, octal, decimal, and hexadecimal with precise BigInt support.

Convert a number

Enter a whole number and select its current base to get all four representations.

Digits 0–9 · Signed whole numbers are supported.

Try an example

Number systems explained

Each system represents numbers using a different set of digits.

Binary

Base 2

Example: 1010

Commonly used in digital systems and bitwise operations.

Octal

Base 8

Example: 755

Sometimes used for Unix file permissions.

Decimal

Base 10

Example: 255

The standard number system used in everyday arithmetic.

Hexadecimal

Base 16

Example: FF

Widely used in programming, memory addresses, and color codes.

This tool converts whole numbers, including integers larger than JavaScript's safe integer range. Fractions and floating-point numbers are not supported.