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.
Convert
Additional information: 0b 0o 0x
Conversion result
You can copy each result individually.
- Additional information for this feature.
- —
- Number of bits of absolute value
- —
- Minimum number of signed bits
- —
- number of decimal digits
- —
2's complement/signed integer
Input
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.
- Settings
- Copy
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.
About this tool
You can convert integers handled in programs, data formats, and bit operations to other base numbers, and check the representation of signed and unsigned integers.
Features
- Binary numbers, octal numbers, decimal numbers, hexadecimal numbers, and any 2 to 36 base numbers
- Big integers, negative numbers, prefixes and thousands separators with BigInt
- 8/16/32/64 bit two's complement and signed/unsigned decimal numbers
How to use
- Enter an integer and select the base number you want to input from.
- Set alphabetic characters, thousands separators, prefixes, and additional decimal numbers to display.
- Copy
Limitations
- Conversion between decimal and repeating decimal numbers is not supported.
- Two's complement cannot convert values outside the selected bit width range.
Privacy: Input and results are processed in your browser and are neither sent to nor stored on the Develop Tools server.