Number Base Converter
Convert between binary, octal, decimal, hexadecimal.
Number
From Base
- Conversions
- 2Binary
- 8Octal
- 10Decimal
- 16Hex
Advertisement
Convert numbers between binary, octal, decimal, hexadecimal, and custom bases. Works client-side inside your browser.
How to use it
- Type your number and select the base it is currently in.
- Read the equivalent value in every other base.
- Use the custom base option for anything between 2 and 36.
Frequently asked questions
Why is hexadecimal used so often in computing?
Because one hex digit is exactly four bits, so a byte is always two characters. It compresses binary without losing the bit boundaries.
Can I convert negative numbers or decimals?
The converter works on whole non-negative numbers. Two's complement and fractional bases follow different rules and are not covered here.
What is the highest base available?
Base 36, which uses the digits 0 to 9 followed by the letters A to Z. There are no further standard symbols beyond that.