Skip to content
MyDailyTool

Number Base Converter

Convert any number between any two bases from 2 (binary) to 36. Enter the source base, target base, and number — ideal for computer science and custom encoding schemes.

Result (base 2)
11111111

How to use the number base converter

Convert between any two bases from 2 to 36.

Formula & explanation

JavaScript's parseInt and toString natively handle bases 2–36 using digits 0–9, A–Z.

Examples

ff (base 16) → 11111111 (base 2). 100 (base 36) = 1296 (decimal).

Frequently asked questions

What bases can this converter handle?
Any base from 2 (binary) to 36. Bases above 10 use letters A–Z to represent values 10–35.
What is base 36 used for?
Base 36 (alphanumeric) is used to create short, compact identifiers — for example, URL shorteners and unique IDs that need to be human-readable.
How do I convert between octal and binary?
Set 'From base' to 8 and 'To base' to 2. Each octal digit maps to exactly 3 binary digits, so 7 = 111 and 5 = 101.
Are the letters case-sensitive?
Input is parsed case-insensitively. The result is displayed in uppercase for clarity (e.g., 'ff' and 'FF' both convert to the same value).

Related number & code tools