Number Base Converter
Convert numbers between binary, octal, decimal, hexadecimal, and any base from 2 to 36.
Processed entirely in your browser. Nothing is uploaded.
Input
Output
-----Enter a number and choose its base.
About this tool
A number base is the count of digits used to write numbers. People use decimal (base 10), computers work in binary (base 2), and programmers often write binary values in hexadecimal (base 16) because it is shorter and easy to read.
Enter a number, choose the base it is written in, and this tool shows it in binary, octal, decimal, and hexadecimal at once, plus any custom base from 2 to 36. It handles very large numbers exactly and accepts prefixes such as 0x and 0b.
How to use
- Type a number into the Number box.
- Choose which base that number is written in.
- Read the results in every base and select Copy next to the one you need.
When to use it
- Convert a hex color or memory address to decimal
- Check binary values while learning computer science
- Read file permissions written in octal
- Work with very large numbers that a calculator cannot show exactly
Frequently asked questions
Which digits can I use?
Digits 0 to 9, then letters a to z for values 10 to 35. A digit that is too large for the chosen base shows an error.
Are negative numbers supported?
Yes. Put a minus sign in front. The result is shown with a minus sign, not as a two's complement value.
Are fractions supported?
No. This tool converts whole numbers only.
Is there a size limit?
Numbers can be up to 2,000 digits long, and results are exact.

