Enter two integers and pick an operation to get the result in decimal, binary and hex, with a per-bit visualization highlighting set and differing bits.
Enter integer operands A and (for binary/shift ops) B, choose an operation (AND, OR, XOR, NOT, left shift, right shift) and a bit width (8/16/32). The result is shown in decimal, binary and hexadecimal, plus a per-bit grid where filled cells are set bits and the green tick marks positions where the two operands differ. Inputs accept plain decimal, 0x-prefixed hex or 0b-prefixed binary. Everything runs locally in your browser — nothing is uploaded.