欧博官网Binary Octal Decimal Hexadecimal
Enter the number you want to convert
Select the base of your input number (binary, octal, decimal, hex, etc.)
The tool will automatically convert to all other number systems
Click the copy button next to any result to copy it to clipboard
Features
Multiple Number Systems
Convert between binary (base 2), octal (base 8), decimal (base 10), hexadecimal (base 16), and more
Real-time Conversion
See conversion results instantly as you type, with automatic validation
Custom Base Support
Support for conversions between any bases from 2 to 36
Two's Complement Representation
All negative numbers use two's complement representation across all bases, following computer science standards
Tips: 1. Binary numbers use only 0 and 1 (base 2). 2. Octal numbers use digits 0-7 (base 8). 3. Decimal is our standard number system using digits 0-9 (base 10). 4. Hexadecimal uses digits 0-9 and letters A-F (base 16). 5. For bases above 10, letters A-Z are used for digits after 9. 6. Negative number representation: - All negative numbers use Two's Complement representation - The highest bit is the sign bit (1 for negative, 0 for positive) - Each base displays the unsigned integer value of the two's complement - Example: -1 in 8-bit two's complement is 11111111, displayed as 255 (decimal), FF (hex), 377 (octal) 7. Two's complement ranges: - 8-bit: -128 to 127 - 16-bit: -32768 to 32767 - 32-bit: -2147483648 to 2147483647 - 64-bit: -9223372036854775808 to 9223372036854775807