Custom base converter

Convert a number between two unusual bases — base 36, base 7, base 20 — using two sliders ranging from 2 to 36, useful for a programming puzzle or an educational exercise.

Example:

How it works

Beyond binary, octal, decimal or hexadecimal, some contexts call for less common bases: base 36 (digits + letters a-z) to generate short, readable identifiers, base 7 or base 20 for a programming puzzle, or an arbitrary base for an educational exercise on positional numeral systems. This tool sets two sliders ranging from 2 to 36 to freely choose the source and target base, and immediately displays the converted result.

How are digits above 9 represented?

As in hexadecimal, values from 10 to 35 are represented by the letters a to z (case-insensitive): for example, in base 36, the digit z equals 35. This convention is standard and applies to all bases between 11 and 36 handled by this tool.

What happens if an entered digit doesn't exist in the source base?

The tool checks that every character of the entered value is a valid digit for the chosen source base (for example, the digit 8 doesn't exist in base 7) and displays a clear error rather than producing an incorrect result.

Privacy: the conversion runs entirely in your browser via WebAssembly — your values are never transmitted to a server.