Base number conversion tool | Binary number, Decimal number, Hexadecimal number, Two's complement number
You can convert integers between 2 to 36 decimal numbers and check 8 to 64 bit 2's complement numbers.
Integer to convert
You can use signs, 0b/0o/0x prefixes, and comma, space, or underscore digit separators.
Conversion result
You can copy each result individually.
- Detected base
- —
- Number of bits of absolute value
- —
- Minimum number of signed bits
- —
- number of decimal digits
- —
2's complement/signed integer
Check the input value as a signed or unsigned integer at the specified bit width.
About this tool
Integers handled by programs, data formats, and bit operations can be converted to other base numbers without the need for installation.
Features
- 2-36 hexadecimal integers and negative numbers
- large integers, prefixes, thousands separators
- 8/16/32/64 bit two's complement
How to use
- Specify the numerical value and the base number of the input source.
- Configure the display format and additional output bases.
- Review and copy the conversion result.
Limitations
- The initial version is for integers only. Decimals and repeating decimals are not supported.
- With two's complement, values that exceed the selected bit width range are not converted.