Skip to content

Install ALink Tools

Free browser tools for images, PDFs, media, text and web checks. Most tools process files locally on your device.

  1. Tap the Share button in the Safari toolbar.
  2. Scroll down and tap Add to Home Screen.
  3. Tap Add. ALink Tools then opens from your Home Screen like an app.

Number Base Converter

Type an integer in any base from 2 to 36 and see it in binary, octal, decimal, hexadecimal and a base you choose. Conversion uses BigInt, so large integers stay exact.

Runs in your browserBases 2–36Exact BigInt
1

Input number and bases

Limits

  • Integers only. Fractions, decimals and scientific notation are rejected.
  • Bases 2 through 36 only. Base 64 is a different encoding — use Base64 Encoder / Decoder.
  • Input is limited to 1,024 significant digits so a phone tab stays responsive.
  • This is not a two’s-complement calculator: a leading minus is a sign, not a wrapped machine word. A 32-bit or 64-bit view is shown only as an unsigned interpretation when the value fits.
2

Converted values

How to use Base Converter

  1. Enter a numberUse digits 0-9 and letters A-Z as needed for the input base. A leading 0b, 0o or 0x is accepted when it matches the base.
  2. Set the input baseOr use the binary, octal, decimal and hex shortcuts.
  3. Copy a resultEach output can be copied, including a custom output base from 2 to 36.

Exact integers, not floats

Values are parsed with BigInt, so identifiers and hashes longer than 16 hex digits stay exact (within the digit limit). Fractions, scientific notation and IEEE floats are not accepted — this is an integer tool.

Letters are case-insensitive on input and upper case on output. A leading minus sign is kept. Prefixes 0b, 0o and 0x are stripped when the chosen base is 2, 8 or 16.

Frequently asked questions

Is my text or file uploaded?

No. Everything runs in your browser tab with JavaScript. Nothing you type, paste or drop is sent to a server, logged or stored by ALink Tools.

Why is 10 in hex equal to 16 in decimal?

Because hex (base 16) uses A–F for 10–15, so 10₁₆ is one-sixteens and zero ones, which is 16 in decimal.

Can I convert a fraction?

No. This page only converts integers. Multiply out a fixed-point value first if you need to.

Is this the same as Base64?

No. Number bases 2–36 are place-value integers. Base64 is an encoding of bytes.

Related tools

All tools