How to use this tool
- Enter integer digits, source base, target base.
- Select Calculate to view the result.
- Check the method and assumptions below before using the result.
The method, explained
Read each digit in the source base using integer multiply-and-add, then express the resulting integer in the target base. Digits above 9 use A through Z.
FF in base 16 converts to 255 in base 10 and 11111111 in base 2.
What to keep in mind
Up to 256 input digits. Whole numbers only; omit prefixes such as 0x and 0b, commas and spaces. Signed values use a leading minus, not a two’s-complement bit pattern.
Common questions
Can I convert an integer larger than JavaScript’s safe-number limit?
Yes. BigInt arithmetic preserves integer precision rather than using floating-point numbers.
Why is my digit rejected?
Each digit must be smaller than the source base. For example, 2 is not a binary digit.
Methodology maintained by ClarityKit. How these tools are built and checked.