Utilities
Number Base Converter
Convert a whole number between binary, octal, decimal, and hexadecimal locally in your browser.
Convert a whole number between binary, octal, decimal, and hexadecimal. Only non-negative integers are accepted.
Conversions run locally in your browser; your number is not uploaded or stored.
Convert one number into the bases you need.
Enter a non-negative whole number and choose whether it is binary, octal, decimal, or hexadecimal to see the equivalent value in all four bases. Zero is valid. It runs locally in your browser, so your value is not uploaded or stored.
Frequently Asked Questions
Everything you need to know about this tool, how it works, and privacy.
Which number bases can I convert?
Enter a non-negative whole number in binary (digits 0 and 1), octal (digits 0 to 7), decimal (digits 0 to 9), or hexadecimal (digits 0 to 9 and letters A to F). The converter returns the equivalent value in all four bases.
Can I convert zero or large numbers?
Yes. Zero is valid in every base. The converter shows an error when the entered number is too large to convert safely instead of returning an unreliable rounded result.
Why are negative numbers and fractions rejected?
This converter handles non-negative whole numbers only, so minus signs, decimal points, and characters outside the selected base show a clear error instead of a result.
Does my number leave my browser?
No. The conversion and copy action run locally in your browser. CodeASystem does not upload or store the value you enter.