🔢 Base Converter

Convert integers between bases 2–36.

Convert


How it works

How it works

Numbers are interpreted in a given radix (base). Bases up to 36 use digits 0–9 and letters a–z to represent values 10–35.

  • parseInt(input, fromBase) converts the string to a JS Number; toString(toBase) emits in the new base.
  • Only integers are supported here; fractional conversion requires separate handling.
  • JavaScript Numbers are IEEE‑754 doubles with 53‑bit integer precision; very large integers may lose precision.
Privacy & Security

All conversion occurs locally.

Accuracy, Limits & Tips

Only handles integers that fit in JS Number (53-bit precision).

Examples
  • Hex ff to decimal 255.
  • Binary 1010 to hex a.

Related tools

Looking for broader guides and best practices? Visit the ToolsAreUs Blog for indexes (like the full tool list) and articles (e.g. secure password generation).