Number base converter

Convert integers between binary, decimal, hexadecimal and bases from 2 to 36.

Your files are processed here, on your device

We do not send your file or text contents to a processing server. No account is needed and there is no daily operation quota. Individual tools have size limits to protect your device’s memory.

A connection is needed to load the site and its resources. Hosting may receive technical visit data. Favorites store only tool identifiers in this browser.

How we handle your data →

How to use this tool

  1. Enter an integer without 0x, 0b or separators.
  2. Choose input and output bases from 2 to 36.
  3. Check the sign and remember that leading zeros are normalized.

An example you can verify

Convert a hexadecimal value to decimal without losing precision.

Example input

FF

SettingsInput base: 16. Output base: 10.

Expected result

255

F represents 15: 15 × 16 + 15 = 255. In base 2 the same number is 11111111.

Settings and limits

Enter an integer and choose its input and output bases. Digits are 0–9 and letters A–Z, without 0x or 0b prefixes, internal spaces or fractional parts. Supports + or − signs and up to 2,048 digits. Arbitrary-precision integer arithmetic retains exact values for large numbers.

Frequently asked questions

Are leading zeros retained?

No. It converts the numeric value and returns a normalized representation. Output letters are uppercase and negative zero becomes 0.

Are my data stored on a server?

No. Content and files are processed in your browser without an account. Closing the page loses unsaved results.