Number Base Converter

Convert signed whole numbers between bases 2 and 36 with BigInt arithmetic and uppercase alphabetic output digits.

Your input is processed in this browser and is not uploaded.

Number Base Converter

Convert signed whole numbers between bases 2 and 36 with BigInt arithmetic and uppercase alphabetic output digits.

How to use the tool

  1. Enter digits valid in the selected input base.
  2. Set input and output bases.
  3. Convert without adding prefixes or decimal fractions.

Example and interpretation

FF in base 16 becomes 255 in base 10. The value 255 becomes 11111111 in base 2.

Limits

Input is limited to 256 characters including any leading minus, after surrounding spaces are trimmed. No 0x/0b prefixes, grouping separators, exponents or decimal points are accepted. A leading minus is supported. Output is signed notation, not fixed-width two’s complement.

Troubleshooting

An invalid digit usually means the input base is too small for that character. Make the base explicit rather than inferring it from a prefix.

Frequently asked question

Does −1 become a string of binary ones?

No. The result remains −1. Two’s-complement bit patterns require a chosen width, which this tool does not apply.