Convert integers between any two bases from 2 to 36 with step-by-step working.
Any positive integer can be represented in any base (radix) from 2 to 36. The conversion proceeds in two stages: first parse the input from its source base into a decimal (base-10) value by expanding the positional notation, then repeatedly divide by the target base and collect remainders to build the output digits from least-significant to most-significant.
Positional expansion
decimal = Σ(digit_i × base^i) for i from 0 to n-1
Repeated division
Divide decimal by target base; collect remainders bottom-to-top
Any integer base from 2 (binary) to 36. Bases above 10 use letters A-Z as digit symbols, so base 16 uses 0-9 and A-F, and base 36 uses the full set 0-9, A-Z.
First convert to decimal by multiplying each digit by its positional weight and summing. Then repeatedly divide by the target base and read the remainders in reverse order to get the digits in the new base.