Free tools

Free Number Base Converter

Convert values between binary, octal, decimal, hexadecimal, and custom bases with deterministic precision.

Copy-paste outputs

Win high-intent buyers from ChatGPT, Gemini, Claude, Perplexity, and AI Overviews before your competitors do.

One operating layer for monitoring, measurement, content action, and technical cleanup.

AI Visibility TrackingCompetitive RankingSentiment by ModelSource CitationsAI Overviews TrackingPrompt MonitoringAI Visibility TrackingCompetitive RankingSentiment by ModelSource CitationsAI Overviews TrackingPrompt Monitoring
Content GapsAI InsightsAdvanced AnalyticsData CopilotBlog GenerationUGC CampaignsLLM CouncilContent GapsAI InsightsAdvanced AnalyticsData CopilotBlog GenerationUGC CampaignsLLM Council
Shopping IntelligenceCrawler MonitoringGEO OptimizationMulti-Brand ManagementShopping IntelligenceCrawler MonitoringGEO OptimizationMulti-Brand Management

Tool 01

Number Base Converter

Convert integers between bases 2 and 36 with BigInt precision.

Number Base Converter
Convert integers across bases 2 through 36 with BigInt precision.

Converted value

255

Decimal

255

Binary

11111111

Octal

377

Hex

FF

How it works

Number Base Converter: methodology and worked example

How this tool computes its result

The converter parses the input string manually rather than using parseInt: it trims and uppercases the value, splits off a leading "-" sign, then walks each character and looks up its position in the string "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ" sliced to the source base's digit alphabet, accumulating a BigInt via result = result * base + digitValue. Output conversion reverses this with repeated division and remainder against the target base, prepending each remainder's character. Because the whole pipeline runs on BigInt, there is no floating-point precision loss for arbitrarily large integers, and the tool always also renders binary, octal, and hex alongside your chosen target base.

Worked example

Input "FF" with From base 16 and To base 10: parseBigIntFromBase walks F (15) then F (15) → 15*16+15 = 255n. The converted field shows "255", and the fixed panels below show binary "11111111", octal "377", and hex "FF" — all derived from the same 255n value via toBase.

When not to use this tool

This is an integer-only converter. There is no decimal point or fractional-value handling anywhere in parseBigIntFromBase or toBase, so a value like "3.14" in any base will throw ("Digit "." is not valid for base X") rather than convert. Base range is also hard-capped at 2–36 by the min/max clamps on the base inputs, since 36 is the largest base representable with 0-9 plus A-Z.

Common mistakes

  • - Entering a digit that is not valid for the selected source base — e.g. "G" in base 16 or "2" in base 2 — throws `Digit "X" is not valid for base N` instead of silently ignoring it.
  • - Leaving the input field blank triggers "Enter a number value." since the trimmed string is checked for emptiness before parsing begins.
  • - Assuming lowercase and uppercase letters are both accepted as distinct digits — the input is uppercased before parsing, so case has no effect on the result.

Ready to dominate AI search visibility?

Track where your brand shows up in AI answers, close the content gaps that cost conversions, and stay visible across ChatGPT, Claude, Gemini, Perplexity, and Grok.

Frequently Asked Questions