Number Base Converter

Convert integers between bases 2 and 36 with large-integer support for binary, octal and hexadecimal values.

FreeBrowser

Exact integer conversion, including negative and very large integers. Matching 0x/0o/0b prefixes are accepted.

Processed on your device. No upload or account needed.

About Number Base Converter

Convert integers between bases 2 through 36, including binary, octal, decimal and hexadecimal. Exact integer handling supports negative values and integers larger than the usual JavaScript number range.

How to use Number Base Converter

  1. Enter an integer and select its source base.
  2. Choose the destination base from 2 through 36.
  3. Process and copy the converted integer.

Input and output example

Input and settings
Decimal 255 → hexadecimal
Expected output
FF

Letter case in the displayed hexadecimal value is immaterial.

When to use this tool

  • Inspect a hexadecimal value in a log.
  • Prepare an exact large-integer conversion.

Limits to know before using it

Only integers are supported, not fractions or floating-point bit layouts. Input digits must be valid for the chosen source base.

Data handling and cost

The main operation runs in your browser; tool input is not uploaded for processing. The site can still use session cookies and collect operational or usage data as described in the privacy policy.

Free to use in your browser, with no sign-in needed.

Frequently Asked Questions

No. Processing runs in your browser; input and files are not sent to a backend. Loading the website and program assets requires a connection.

BigInt avoids precision loss for large integers. Fractions are unsupported; matching 0x, 0b and 0o prefixes are accepted.

Related Tools