🔢 Base Converter
Convert integers between bases 2–36.
Convert
Sponsored
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.
Sponsored
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
- 📊 CSV → JSONConvert simple CSV to JSON.
- 🔀 YAML ⇄ JSONConvert between YAML (subset) & JSON.
- 🖼️ Image ConverterConvert PNG/JPEG/WebP locally.
- 📐 Unit ConverterConvert length, weight, temperature, volume, area, speed, and data units.
- 📋 JSON Formatter & ValidatorFormat/minify and validate JSON.
- 🏛️ Roman NumeralsConvert to/from Roman numerals.
Sponsored
You may also like
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).