About Number Base Converter

Number Base Converter reads a value in any base from 2 to 36 and shows it in binary, octal, decimal, hex, and a base you choose. A two's-complement panel shows the signed and unsigned values and the bit pattern at 8, 16, 32, or 64 bits.

Values are handled as big integers, so results are exact even for 64-bit numbers. Nothing is uploaded.

How to use it

  1. Type a value and pick its input base. Prefixes 0x, 0o, 0b and a leading minus work; spaces and underscores are ignored.
  2. Read the four common bases, plus the arbitrary base you set.
  3. Choose a bit width to see the two's-complement signed and unsigned view.

Common questions

How large a number can it handle?

Arbitrarily large. It uses big integers, so 64-bit and beyond are exact.

What does the two's-complement panel show?

The value masked to the chosen width, as an unsigned number, a signed number, hex, and the full binary pattern.

What is the set-bit list?

The positions of the 1 bits, lowest first, for non-negative values.

Is anything uploaded?

No. It is a local calculation in your browser.