About the Number Base
Convert a number between binary, octal, decimal and hexadecimal. Enter a value, choose the base it's written in, and see it instantly represented in all four bases.
Base conversion is everyday work in programming, networking and digital electronics. The tool runs entirely in your browser, so conversions are instant and private.
Features
- Convert between binary, octal, decimal and hex
- Pick the input base
- All four bases shown at once
- Validates input for the chosen base
- Runs entirely in your browser
- Free with no sign-up
How to convert number bases
- Enter your number in the value field.
- Select the base it is currently written in.
- Read the binary, octal, decimal and hex results.
- Change the input base any time to reinterpret the value.
Frequently asked questions
Which bases are supported?
Binary (base 2), octal (base 8), decimal (base 10) and hexadecimal (base 16).
Can I enter a hex value?
Yes. Set the input base to Hex and type digits 0-9 and A-F; a leading 0x is accepted.
What if my input is invalid?
The tool checks that your digits are valid for the selected base and shows a message if they aren't.
Is it free?
Yes, completely free and it runs entirely in your browser.