Bitwise XOR calculator
Apply XOR to two integers and read the result as unsigned decimal, hexadecimal, octal, and 32-bit padded binary. Both operands are masked to 32 bits before the operation runs.
Toggling bits
XOR flips a bit when the corresponding mask bit is 1 and leaves it unchanged when the mask bit is 0. That makes it the standard way to toggle a boolean flag without branching. XOR-ing a value with itself always produces zero, which is a common register-clearing trick in assembly.
Fixed 32-bit word
This page runs XOR on a 32-bit unsigned word. Input accepts decimal, hexadecimal (0xFF), binary (0b10110010), and octal (0o377) automatically. For a different word size or signed output, use the full Bitwise Calculator.