The Number Base Converter converts numbers between binary, octal, decimal, hexadecimal, and any custom base from 2 to 36. Use it for programming, digital electronics, or math when you need to switch between number systems quickly.
This tool converts a number from one radix (base) to another. You enter the number and choose "From base" and "To base." Common bases are 2 (binary), 8 (octal), 10 (decimal), and 16 (hexadecimal). The tool also supports custom bases 2–36 using digits 0–9 and A–Z.
It converts numbers between different bases (binary, octal, decimal, hexadecimal, or any custom base 2–36). Use it for programming, digital electronics, or math.
Enter a number in the source base. For base 2 use only 0 and 1; for base 16 use 0-9 and A-F. Leading zeros are allowed.
Very large numbers are supported via BigInt. Extremely long strings may slow the browser. Custom bases 2–36 use digits 0-9 and A-Z.
No. All conversion runs in your browser. Nothing is uploaded or stored.
Use it when debugging hex dumps, converting IP or color values, or working with non-decimal number systems in code or hardware.
Check that the number uses only valid digits for the chosen base (e.g. no 8 or 9 in octal). Remove spaces or commas if present.
The Number Base Converter is a free, client-side tool for switching between number bases. Try it at Number Base Converter. For related conversions, see the BCD Converter and Gray Code Converter.