TOOLGRID
HomeImage ToolsPDF ToolsVideo ToolsAudio Tools
More
Dev ToolsWeb & SEOCategoriesText ToolsCalculatorsAbout
Menu
HomeImage ToolsPDF ToolsVideo ToolsAudio ToolsDev ToolsWeb & SEOCategoriesText ToolsCalculatorsAbout
TOOLGRID

The full toolbox remains available when you need a specific utility.

© 2026 TOOLGRID. All rights reserved.

Tools

Image ToolsPDF ToolsVideo ToolsAudio Tools

Resources

CategoriesPrivacy Policy

Company

AboutTermsContact
  1. Home
  2. Developer Utilities
  3. Base Converter

Base Converter

Convert signed integers between bases 2, 8, 10, 16, 32, and 36 without precision loss.

Use this tool
Browser-local processingNo input upload to TOOLGRIDReview before copy
Formats and processing
Input
Pasted code or structured data
Output
Base Converter result
Runtime
Browser APIs
Browser-local workspaceStart below with browser-local processing.

Tool code processes selected files and entered content in your browser and does not submit them to a TOOLGRID processing endpoint. TOOLGRID measures tool usage, not the content you enter.

Loading tool…

Browser-basedWhat this tool does

Parse a signed whole number in base 2, 8, 10, 16, 32, or 36 and convert it to another supported base. The implementation uses BigInt for exact integer conversion, accepts underscore separators, and shows the decimal value beside the selected output.

It covers binary flags, octal values, decimal IDs, hexadecimal bytes, and compact base-32 or base-36 identifiers without routing through a floating-point Number.

Prefixes such as 0x and decimal fractions are not parsed; choose the source base explicitly and enter only the signed integer digits for that base.

Representative tasks

What you can do with this tool

Inspect binary and hexadecimal values

Translate masks, protocol constants, color values, or byte-oriented identifiers into decimal or another debugging notation.

Convert large integer identifiers

Move an integer between decimal and a compact base-32 or base-36 representation without losing digits to floating-point rounding.

Verify octal and permission math

Convert an octal integer to binary or decimal when checking low-level flags, examples, or documentation.

Boundaries

What to check before relying on the result

  • Performance and maximum practical input size depend on browser memory, device speed, and the structure of the input.
  • Review the generated result before replacing or publishing an original file.
MDN Web APIs

How to use

  1. 1

    Choose the source base that matches the input notation.

  2. 2

    Enter a signed integer using only digits valid for that base; underscores may be used as visual separators.

  3. 3

    Choose base 2, 8, 10, 16, 32, or 36 as the target and review both converted and decimal outputs.

  4. 4

    Copy the result without adding a prefix unless the destination format explicitly requires one.

Use Cases
Inspect binary and hexadecimal values

Translate masks, protocol constants, color values, or byte-oriented identifiers into decimal or another debugging notation.

Convert large integer identifiers

Move an integer between decimal and a compact base-32 or base-36 representation without losing digits to floating-point rounding.

Verify octal and permission math

Convert an octal integer to binary or decimal when checking low-level flags, examples, or documentation.

Tips & Tricks
Select the base instead of typing a prefix

Enter ff with source base 16, not 0xff. Prefix characters are treated as digits and will make the value invalid in bases where they do not belong.

Use underscores only as separators

Inputs such as 1111_0000 or 1_000_000 are accepted. An underscore must sit between two digit groups; leading, trailing, or repeated underscores are rejected.

Keep fractions out of integer conversion

The converter accepts whole numbers only. A radix point and repeating fractional expansions require a separate rational-number conversion method.

FAQ

Does it support negative numbers?

Yes. Signed integer values are supported.

Which bases are supported?

Binary (2), octal (8), decimal (10), hexadecimal (16), base 32, and base 36 are available as both source and target bases.

Can I convert very large integers?

Yes. Conversion uses BigInt rather than floating-point Number, so integers are not limited to 2^53 - 1. Browser memory and practical input size are the remaining limits.

Can I include 0x, 0b, or 0o prefixes?

No. Choose the source base explicitly and enter the digits without a notation prefix, such as ff for hexadecimal or 1010 for binary.

Are fractional values supported?

No. This converter is intentionally exact for signed integers. Values containing a decimal or radix point are rejected.

Continue this workflow

Useful next steps

Open a nearby browser tool when you need to validate, convert, or reuse the result.

Base64 Encoder / DecoderConverters · Local→Payload DecoderDeveloper Utilities · Local→Unit ConverterUnit Converters · Local→