Number Its base Binary (base 2) Octal (base 8) Decimal (base 10) Hexadecimal (base 16) Convert Whole, non-negative numbers of any size. Prefixes like 0b, 0o, and 0x are accepted.