Instructions
Number base converter
How to use
Enter a number and choose its base and the target base.
Enter a number and choose its base and the target base.
Supported input
Whole numbers up to 200 digits. The 0x, 0b and 0o prefixes and underscores are read. Negatives keep a minus sign.
Input example
255 (decimal)
Result example
FF (hex)
Troubleshooting
Values that are not numbers or are out of range are not calculated; the message says what to fix.
Limitations
Fractions and two's-complement notation are not supported.
How it works
Converts whole numbers between binary, octal, decimal and hexadecimal. Whole numbers up to 200 digits. The 0x, 0b and 0o prefixes and underscores are read. Negatives keep a minus sign.
Units & precision
Whole numbers up to 200 digits. The 0x, 0b and 0o prefixes and underscores are read. Negatives keep a minus sign.