Number Base Converter

Convert numbers between binary, octal, decimal and hexadecimal, including very large integers. Free online base converter.

About this tool

Convert integers between binary, octal, decimal and hexadecimal. Arbitrarily large numbers are handled exactly with BigInt.

How to use

  1. Choose the base of your input.
  2. Type the number; 0x, 0o and 0b prefixes, signs, spaces and underscores are accepted.
  3. Copy the value in the base you need.

Frequently asked questions

Can it convert fractions?

No. Only integers are supported.

How are negative numbers shown?

With a minus sign, for example -a in hex. Two's complement is not used.

Is there a size limit?

No practical limit; very long numbers are converted without rounding.

Related tools