Number base converter

Enter a number and say how it is written to see it in binary, octal, decimal and hex.

Runs in your browser. Nothing is uploaded.

How to use

  1. Enter the Number.
  2. Choose what it is written in: binary, octal, decimal or hexadecimal.
  3. Read the other forms.

Good to know

  • Use only the digits that base allows: 0 and 1 for binary, 0 to 7 for octal, 0 to 9 and A to F for hex.

Questions

How do I convert binary to decimal?
Enter the binary number, choose Binary, and read the decimal result.
What is hexadecimal?
Base 16, using 0 to 9 and A to F. It is common for colours and computer memory.
How do I convert hex to binary?
Enter the hex number, choose Hexadecimal, and read the binary result.

Also known as: binary to decimal, hex to decimal, decimal to binary, base converter.

More developer tools