Skip to content
Run here 100% in your browser, no upload, no login

Base Converter

Convert integers between bases 2 to 36 with simultaneous binary, octal, decimal and hex results.

Binary (base 2) —

Octal (base 8) —

Decimal (base 10) —

Hexadecimal (base 16) —

How to use it

  1. Type the value to convert - letters A to Z are digits from 10 to 35, case does not matter.
  2. Pick the source base from the dropdown; common bases 2, 8, 10 and 16 are labeled.
  3. Binary, octal, decimal and hexadecimal results all update as you type.
  4. Invalid characters for the chosen base are reported with the exact position.
  5. Spaces and underscores inside the value are ignored, so 1_0000 is fine.

Common use cases

Why it stays private

The conversion is digit-by-digit arithmetic with arbitrary-precision integers inside the page. Nothing is uploaded, nothing is stored, and the page makes no network requests after it loads.

FAQ

Q: How large a number can it convert? A: Effectively unbounded. Parsing uses arbitrary-precision integers, so even numbers with hundreds of digits keep exact results - only display width becomes the limit.

Q: Can it convert negative numbers or fractions? A: No. It handles non-negative integers only. For fractions, convert the integer and fractional parts separately with a tool that supports fractional bases.

Q: Why is my base-10 input rejected in base 16 mode? A: It is probably the other way around - a digit like 8 or 9 is fine in decimal but a value like 1G contains G, which only exists from base 17 up. Check the reported position in the error message.

Your data stays on this device

Base Converter runs 100% locally. Everything you paste or drop is processed by your own browser and never transmitted. Nothing is stored on our servers — close the tab and it is gone.

Nothing you type is sent to a server, logged, or used for analytics. The page works even with your network disconnected after first load.