Number Base Converter

Convert a number between binary, octal, decimal, hexadecimal or any base up to 36.

Loading tool...

How to use Number Base Converter

  1. Enter the number.
  2. Choose the base it is written in.
  3. Read the value in binary, octal, decimal, hexadecimal and a custom base.

About this tool

Digits above 9 use letters, so hexadecimal uses 0 to 9 and A to F and base 36 uses 0 to 9 and A to Z. Prefixes such as 0x, 0b and 0o are accepted and ignored. Conversion uses big-integer arithmetic, so there is no size limit that matters in practice.

Only whole numbers are supported.

Frequently Asked Questions

How do I convert binary to decimal?
Enter the binary number and choose base 2 as the input base. The decimal result appears in the table.
Does it handle negative numbers?
Yes, a leading minus sign is kept. Two's complement representation is not applied.

Related tools