Number Base Converter
Convert a number between binary, octal, decimal, and hexadecimal. Enter a value, choose the base it is written in, and see all four bases at once — arbitrary precision, all in your browser, nothing uploaded.
Convert from
Enter a number above to see it in every base.
How to use Number Base Converter
- 1
Enter your number
Type or paste a number into the field. Spaces and underscores are ignored, so grouped values like 1010_1101 work too.
- 2
Choose the starting base
Pick whether your number is written in binary, octal, decimal, or hexadecimal.
- 3
Read every base at once
The value is shown in binary, octal, decimal, and hexadecimal together, so you can compare or copy whichever one you need.
- 4
Copy the result
Use the copy button next to any base to put that value on your clipboard.
Frequently asked questions
How do I convert hexadecimal to decimal?
Which bases are supported?
Can it handle very large numbers?
Does it accept negative numbers?
Is anything sent to a server?
Related tools
Keep going with these handy tools