Integer Base Converter

Convert an integer between binary, decimal, hexadecimal, and other bases.

ReadyRuns in your browser
INPUT & CONTROLS

Prepare your input

Local processing

Runs locally in your browser. Input is not sent to DevEngineerLab.

Converts arbitrary precision signed integers in bases 2–36. Use an optional + or - and digits 0–9 / a–z (case insensitive); surrounding whitespace is allowed. Fractions, separators and internal spaces are rejected. Exponent notation has no special meaning; each letter must be a valid source-base digit. Digits only: 0x / 0b / 0o prefixes are never automatically interpreted. Their letters can be ordinary valid digits in a high enough source base, such as 0xff in base 36. Output is lowercase with no prefix, plus sign or leading zeros; negative zero becomes 0. Invalid bases fail without a fallback. Load example uses the current bases, or resets invalid bases to 10 → 16. Limits: 4,096 raw input and 32,768 output UTF-16 code units.

Result

Your result starts here

Review the input and selected options, then use the primary action. Output and any validation messages will appear here.

METHOD & CONTEXT

Understand the result before using it.

How it works

Converts an arbitrary-precision signed integer between the selected bases 2–36.

Interpretation

Read the result summary first, then inspect the detailed output and any errors or warnings. The result describes the supplied input and selected options. Changing input requires another run.

Assumptions & warnings

Use integer digits only. Fractions, separators, and implicit 0x, 0b, or 0o prefix interpretation are not supported.

Inputs are processed in your browser. Follow the input format and size limits shown next to the controls.

Try an example

Select Load example in the input panel, review the selected mode, then use its displayed primary action. Inspect the result before replacing the sample with your own input.

Related utilities for the next step in your task.

Explore Developer Utilities →