Skip to main content
eyunzhu

Number base converter

Convert integers exactly between bases 2–36, including negative and very large values, with common base results shown together.

Processed in this browser. Nothing is uploaded or saved.

About this tool

Inspect bitmasks, numeric values or long identifiers without floating-point rounding. Matching base prefixes are supported for convenient input.

How to use

Select the input and output bases, then enter an integer. Swap bases to continue converting. Binary, octal and hexadecimal inputs accept matching 0b, 0o and 0x prefixes.

Big-integer arithmetic preserves values such as 9007199254740993 without floating-point rounding. Fractions and scientific notation are not supported. Input allows up to 4,096 digits, with either letter case.

Common questions

Can I enter fractions, scientific notation or a 0x prefix?

Only integers are supported, not fractions or scientific notation. Use 0x with hexadecimal input, 0b with binary and 0o with octal; the selected input base must match.

How can I convert a long hexadecimal identifier exactly?

Select base 16 and enter the digits, optionally with 0x; choose base 10 for decimal output. Up to 4,096 digits are processed as integers. Leading zeros are not preserved as identifier formatting.

Comments

0
to join the discussion.
No comments yet.
Reply thread

Follow the complete conversation chronologically; each reply identifies the specific message it answers.