Favorites
← All tools

Number base converter

Convert integers between binary, decimal and hexadecimal number bases.

Convert integers without losing precision

Binary, octal, decimal and hexadecimal are supported, including negative values. Enter digits without 0b or 0x prefixes. BigInt avoids converting large integers to Number.

Example and limitations

Decimal 255 is hexadecimal FF and binary 11111111. Invalid digits are rejected. Fractions and fixed-width two’s-complement encodings are not supported here.

Related tools