Free tools that run in your browser. Use any tool without an account.

Favourites Cart
Sign in
Join free

Number Base Converter

  • Free
  • Runs in your browser
  • No account needed

You can convert whole numbers between bases 2 and 36 instantly in your browser. For example, converting 255 from base 10 to base 16 gives FF. The tool uses BigInt so large integers stay exact.

Result
11111111
Binary
11111111
Octal
377
Decimal
255
Hexadecimal
FF
Base 36
73
Runs in your browser. Your files and values are not sent to us. Report a problem
Advertisement

About the Number Base Converter

Enter a Number, pick a From base and a To base and the page shows the converted Result plus Binary, Octal, Decimal, Hexadecimal and Base 36 representations. The conversion runs fully in your browser; nothing is uploaded. Whole integers of any size stay exact because the tool uses BigInt; a leading minus sign is preserved. Results update instantly as you type, so there is no calculate button. Digits above 9 are written with letters: A = 10 through Z = 35. You can copy the result or create a share link that reopens the page with your inputs. This makes the tool handy for programmers, students and engineers who need quick, exact base changes without server round trips.

How to use it

  1. 1Type the Number into the input field
  2. 2Select the From base (2 to 36)
  3. 3Select the To base (2 to 36)
  4. 4Copy the Result or use the share link to reopen your inputs
Advertisement

Worked example

Input: Number = 1234, From base = 10, To base = 16. Result = 4D2. Binary = 10011010010. Octal = 2322. Decimal = 1234. Hexadecimal = 4D2. Base 36 = YA.

How it works

The number is read digit by digit in the from base (value = value x base + digit), then written in the new base by dividing by that base again and again and reading the remainders backwardsDigits above 9 use letters: A = 10, B = 11 up to Z = 35Whole numbers of any size are exact (BigInt); a minus sign is keptResults update instantly as the visitor types; there is no calculate buttonVisitors can copy the result and share a link that reopens with their numbers

Source: Positional notation (Wikipedia)ECMAScript numbers and dates (spec). Last checked 7 November 2026.

What it is good for

  • Instant in-browser conversion with no upload
  • Exact whole-number results using BigInt
  • Copy results and share a link that reopens your inputs
  • Supports bases only from 2 to 36
  • Fractional or exotic bases outside 2 to 36 are not supported
Advertisement

Questions people ask

Which bases can I convert between?

You can convert between bases 2 through 36. Digits 0 to 9 and letters A, Z represent values up to 35.

Will the tool lose precision on very large integers?

No. Whole integers use BigInt so they remain exact regardless of size. This avoids the 2^53−1 limit found in standard JavaScript Number values.

Can I convert fractional numbers with a decimal point?

This tool focuses on whole-number conversion and the displayed outputs are for whole-number forms. Fractional or repeating fractional conversions are not supported here.

Do conversions send my data to a server?

No. Conversions run in your browser only and nothing is uploaded. The page can create a share link that stores your inputs in the URL fragment to reopen later.

How do letters map to numeric values?

Letters map as A = 10, B = 11 up to Z = 35. Use uppercase or lowercase letters; the tool treats them the same.

Why is there no calculate button?

Results update instantly as you type so you see changes in real time. The live update helps you test inputs quickly without extra clicks.

Help keep every tool free

FreeToolr stays free because people help it grow. Share a tool you like, tell us what to build next, or support us on Ko-fi.

Advertisement
Advertisement