Enter a whole integer in binary, octal, decimal, or hexadecimal and see the same value in all four bases using BigInt (no Number precision loss past 2^53). Optional
0b / 0o / 0x prefixes on output. Everything runs locally — nothing uploaded to DroidXP, matching the local-first approach of
APK Analyzer and APK String Extractor.
Integers only; spaces / underscores allowed as separators. Max ~4096 significant characters.
For metres, kg, and litres, use Unit Converter. For money with live FX, use Currency Converter.
JavaScript Number is a 64-bit float — integers above 2^53 - 1 are not all representable. BigInt holds arbitrarily large whole numbers, which is what you want when converting long binary or
hex strings.
Choose the base you are typing in. Optional ECMA-style prefixes (0b, 0o, 0x) are accepted when they match that base. Digits must be valid for the base (e.g. no
8 or 9 in octal).
No server round-trip — parsing and formatting stay in your browser. Last input and options may be stored in localStorage on this site only.
0b / 0o / 0x.No. Parsing and radix conversion run entirely in your browser. Your input is not sent to DroidXP servers.
IEEE-754 doubles lose precision past 2^53. BigInt keeps arbitrarily large integers exact for bases 2, 8, 10, and 16.
Yes — those prefixes are stripped when they match the selected input base. Spaces and underscores are ignored as digit separators.
No — this tool is for whole integers only. For fractional values, use a dedicated rational or floating tool.
A leading minus is preserved. Non-decimal outputs show the sign and magnitude (e.g. -0xff) rather than two’s-complement bit patterns.
Very long digit strings are capped to keep the page responsive. If you hit the limit, split the problem or use a local script.
It covers radix conversion well. Bitwise ops, floats, or IEEE encoding need other tools.
The Unit Converter converts physical units (metres, kg). This page re-represents the same integer in different numeric bases.
Yes — like our APK Analyzer, everything stays in your browser tab; optional localStorage remembers your last base and prefixes.
Output uses lowercase a–f by convention; parsers accept A–F in input. Copy as needed for your style guide.
You can convert representations, but treat keys as secrets — do not paste sensitive material into untrusted sites, including on shared computers.