Number bases

Number Base Converters

Convert between binary, decimal, hexadecimal, and octal with focused tools and reference tables.

Binary Translator

Text to binary and binary to text.

Decimal to Binary

Base-10 values to binary.

Binary to Decimal

Base-2 values to decimal and hex.

Hex to Binary

Base-16 values to binary bits.

Binary to Hex

Binary groups to hexadecimal.

Hex to Decimal

Hexadecimal values to base-10.

Number Base Converter

Binary, decimal, hex, and octal in one tool.

ASCII Table

Character values in decimal, hex, and binary.

How number base conversion works

Every number base uses place values. Decimal uses powers of 10, binary uses powers of 2, octal uses powers of 8, and hexadecimal uses powers of 16. The written symbols change, but the quantity can remain the same.

For programming and computer science, binary and hexadecimal are especially common. Binary shows the exact bit pattern, while hexadecimal compresses each four-bit group into one readable symbol. Decimal is easier for humans to compare, so many workflows involve moving between all three.