Number Base Converter
Convert a number between binary, octal, decimal, hexadecimal and any base up to 36.
Your result will appear here as soon as you add some input.
How to use it
- 1Enter your values in the fields above.
- 2The answer and the working appear immediately below.
- 3Check the working to see the formula with your numbers substituted.
Example
Input
255 in base 10
Output
Binary 11111111, hex FF, octal 377
About the Number Base Converter
All the common bases are shown at once, together with how many bits and bytes the value needs - which is usually the reason for converting in the first place.
Prefixes are accepted and stripped: 0x for hexadecimal, 0b for binary and 0o for octal.
Questions people ask
Is your figures uploaded to a server?
No. This tool runs entirely in your browser using standard web APIs, so your figures never leaves your device. You can confirm it by opening your browser's network panel while the tool runs, or by disconnecting from the internet after the page has loaded.
Is it free, and do I need an account?
Yes, it is free, and there is no account, no sign-up and no watermark on the result. The project is funded by optional donations.