EVERYDAY CLARITY

Integer Base Converter

Convert signed whole numbers between bases 2 through 36 without losing integer precision.

Enter your values

01
integer digit string <=4096 digits
integer 2..36
integer 2..36

Enter whole numbers only.

Your result
Value
11111111

Result for the values shown.

Calculations run in your browser.

What to enter
InputMeaning and units
Valueinteger digit string <=4096 digits
Source baseinteger 2..36
Target baseinteger 2..36

Understanding your result

The output applies the selected format or address convention. Encoding is not encryption; a valid address representation does not establish availability, reachability or security.

Common mistakes

  • Using a different alphabet, padding, base, delimiter or address-prefix convention than the tool expects.

Check your calculation

  • Where a reverse operation exists, round-trip a short known example. Compare structural results with the reference example rather than executing decoded text.

Calculation checks, sources and review limits

How do I convert a whole number between binary, decimal, hexadecimal and other bases?

Convert signed whole numbers between bases 2 through 36 without losing integer precision.

Common uses

  • Convert signed whole numbers between bases 2 through 36 without losing integer precision.

How it works

Read each digit in the source base using exact integer arithmetic, then write digits in the target base. A leading sign is supported. Use no 0x/0b prefix, grouping punctuation or fractional part. At most 4,096 source digits are supported.

Worked example

Enter Value: FF; Source base: 16; Target base: 2. The result is Value: 11111111.

FAQ

How do I convert a whole number between binary, decimal, hexadecimal and other bases?

Read each digit in the source base using exact integer arithmetic, then write digits in the target base. A leading sign is supported. Use no 0x/0b prefix, grouping punctuation or fractional part. At most 4,096 source digits are supported.

What assumptions and limits apply?

Signed whole numbers only; invalid digits and fractional inputs are rejected.