Number base converter

Convert integers between binary, octal, decimal and hexadecimal without losing large-integer precision.

How to use

Supports 0b, 0o and 0x prefixes that match the selected base. Negative numbers use a minus sign and are not interpreted as two’s complement. Fractions are not supported.

Input is limited to 4,096 characters.

11111111 (BIN) = 377 (OCT) = 255 (DEC) = FF (HEX)

Number base converter | ModbusKit