Enter an integer in any base and see it in binary, octal, decimal, hexadecimal and a base of your choice (2–36) at the same time. It uses BigInt, so values far beyond 64 bits stay exact.

  • Auto input base recognises 0x, 0b and 0o prefixes and otherwise reads decimal.
  • Spaces, underscores, commas and apostrophes are ignored, so 1_000_000 and 0xFFFF_FFFF work.
  • Negative numbers are supported; the plain conversions show a leading minus sign.

The two’s complement table shows how the value is stored in 8, 16, 32 and 64-bit integers, along with the signed and unsigned interpretation of the same bits. That makes it easy to answer questions like “what is 0xFF as an int8?” (−1) or “what bits does −2 have in a 64-bit register?”. Values that don’t fit in a width are marked out of range.