Base Converter

Base Converter applies its documented browser-side transformation to the displayed fields.

Browser-side processing Displayed result Documented transformation
Developer Tools

Base Converter

Enter values and run the tool.

What Base Converter actually does

Base Converter uses Number, From base and To base to parse an integer in the selected source base and rewrite it in the destination base. In the browser, Base Converter uses Number, From base and To base to parse an integer in the selected source base and rewrite it in the destination base. Base Converter then places the output in the result panel.

Base Converter syntax and encoding assumptions

For Base Converter, integer parsing and output use JavaScript parseInt and Number.toString for bases 2–36. For Base Converter, this is JavaScript Number arithmetic, not arbitrary-precision integer arithmetic.

Base Converter example

Base Converter example input: Number = 255; From base = 10; To base = 16 Base Converter expected result: Converting 255 from base 10 to base 16 produces ff. To verify Base Converter, reproduce its worked example and compare the displayed or downloaded output with the stated expected result. When Base Converter returns a file, open the download and inspect every affected page or image.

What happens when the input cannot be used

Base Converter rejects bases outside 2–36 and input for which parseInt returns NaN. For Base Converter, because parseInt accepts a valid prefix, trailing invalid characters may be ignored.

Important safety information

Base Converter is a conversion or inspection utility, not a validator for security-sensitive production data.

How your data is handled

Base Converter runs the base converter operation in the current browser session. Base Converter reads and processes the supplied values in the current browser and does not submit them to an application endpoint. Browser extensions, device security and any manual sharing or download from Base Converter remain outside the tool’s control.

Base Converter limits and unusual cases

For Base Converter, source and destination bases must each be between 2 and 36. With Base Converter, empty input can produce an empty result or a validation message; With Base Converter, characters, formats or browser features outside those handled by the operation may change or prevent the result.

Tools related to Base Converter

After using Base Converter, you may also find these tools useful: json-formatter, base64-encoder-decoder, regex-tester.

ADVERTISEMENT

Frequently asked questions

In the browser, Base Converter uses Number, From base and To base to parse an integer in the selected source base and rewrite it in the destination base. Base Converter then places the output in the result panel.
Number = 255; From base = 10; To base = 16. Base Converter expected result: Converting 255 from base 10 to base 16 produces ff.
For Base Converter, integer parsing and output use JavaScript parseInt and Number.toString for bases 2–36. For Base Converter, this is JavaScript Number arithmetic, not arbitrary-precision integer arithmetic.
Base Converter rejects bases outside 2–36 and input for which parseInt returns NaN. For Base Converter, because parseInt accepts a valid prefix, trailing invalid characters may be ignored.
Base Converter is a conversion or inspection utility, not a validator for security-sensitive production data.
Base Converter runs the base converter operation in the current browser session. Base Converter reads and processes the supplied values in the current browser and does not submit them to an application endpoint. Browser extensions, device security and any manual sharing or download from Base Converter remain outside the tool’s control.
ADVERTISEMENT
ADVERTISEMENT