Number Base Converter
Convert whole numbers between binary, octal, decimal, hexadecimal, and custom bases from 2 to 36.
Run tool
This online base conversion tool translates whole numbers between any positional numeral systems from base 2 up to base 36. You can switch values across common computing notations such as binary, octal, decimal, and hexadecimal, or evaluate custom bases used in math exercises and computing. The converter accepts positive and negative integer values. Input characters are case-insensitive, so letters A to Z work in either uppercase or lowercase when using bases above 10. Once you run the calculation, the tool outputs your requested target notation with uppercase alphabetical digits alongside standard breakdowns for decimal, binary, octal, and hexadecimal formats. Source and target bases must sit within the inclusive range of 2 through 36. If you enter a decimal number like 10.9, the tool uses only the whole part before the decimal point. Values containing characters invalid for the selected source base produce a conversion notice.
Instructions
- Enter the whole number you want to convert in the Value field.
- Specify the Source base as an integer between 2 and 36 (default is 10).
- Specify the Target base as an integer between 2 and 36 (default is 2).
- Click the run button to perform the conversion.
- Review the primary target base output along with the decimal, binary, octal, and hexadecimal breakdowns.
Examples
- Converting decimal 255 (source base 10) to hexadecimal (target base 16) yields FF alongside binary 11111111 and octal 377.
- Converting binary 101010 (source base 2) to decimal (target base 10) yields 42 alongside hexadecimal 2A and octal 52.
FAQ
Which numeral systems and base ranges are supported?
The converter supports positional bases from base 2 up to base 36, covering binary, octal, decimal, hexadecimal, and custom alphameric bases.
Can I convert negative numbers?
Yes, signed integer values are supported and the leading minus sign is preserved across the target and companion base representations.
Does the converter support fractional numbers or decimals?
No, the tool operates exclusively on whole numbers and integers. Fractional parts or decimal points are not supported.
Are lowercase letters accepted for hexadecimal and custom bases?
Yes, input characters from A to Z are evaluated case-insensitively. Target outputs display alphabetic digits in uppercase.