Number Base Converter
Software · 3 inputs · Free
Number Base Converter
Parameters
What is this tool?
Number Base Converter helps developers with encoding, encryption and text processing. Converts a number to binary, octal, decimal, hexadecimal and bases 32/36; any custom base from 2 to 36 can be chosen. BigInt is used, so very large numbers are converted exactly.
📘 Common mistakes · Worked exampleConverts a number to binary, octal, decimal, hexadecimal and bases 32/36; any custom base from 2 to 36 can be chosen. BigInt is used, so very large numbers are converted exactly.
The result is not exact or binding and is for information only; it is not an official document and cannot be used in official procedures. Confirm it with the competent authority or a professional before acting; no liability is accepted for losses arising from its use.
Last reviewed: · Methodology and sources
How is it calculated?
Converts a number to binary, octal, decimal, hexadecimal and bases 32/36; any custom base from 2 to 36 can be chosen. BigInt is used, so very large numbers are converted exactly.
Inputs
| Value | Unit | Example |
|---|---|---|
| Number | — | 255 |
| Input base | — | Decimal (10) |
| Custom base | — | 5 |
What is this tool?
Number Base Converter helps developers with encoding, encryption and text processing. Converts a number to binary, octal, decimal, hexadecimal and bases 32/36; any custom base from 2 to 36 can be chosen. BigInt is used, so very large numbers are converted exactly.
Common mistakes
- Choosing the wrong input base. “100” is one hundred in decimal, four in binary and 256 in hexadecimal.
- Using a digit that is too large for the base. The digit 2, 7 or F is invalid in base 2, and the tool reports an error.
- Confusing letter case or prefixes with digits. a–f and A–F have the same value, but the 0x or 0b prefix is not a digit.
- Computing large numbers with the ordinary JavaScript Number type. Whole numbers above 2^53 cannot be stored exactly, which is why the tool uses BigInt.
- Trying to convert a fraction. The tool converts whole numbers only; a value such as 0.5 is not accepted.
📘 How to Convert Number Bases: Binary, Hex and Beyond →
Sources
Key terms
Frequently Asked Questions
+Number Base Converter — how is it calculated?
Converts a number to binary, octal, decimal, hexadecimal and bases 32/36; any custom base from 2 to 36 can be chosen. BigInt is used, so very large numbers are converted exactly.
+Which values are required?
Number, Input base, Custom base.
+Is my data stored?
No. All calculations run in your browser; the values you enter are never sent to or stored on a server. If you press “Save”, the calculation stays only in your own browser and you can delete it at any time.
+Is it free?
Yes, all tools are free and require no sign-up.
Similar tools
Popular Tools
Free Calculators in One Place
Tax, finance, health, math and more — 500+ tools, all in one place.