Binary Tools
Bitwise XOR
Perform bitwise XOR operation.
Updated 2025-12-01
Bitwise XOR
XOR two binary values
Compute the bitwise XOR (exclusive OR) of two binary operands.
XOR Truth Table
A
B
→
A ^ B
0
0
=
0
0
1
=
1
1
0
=
1
1
1
=
0
Bitwise XOR returns 1 when bits are different, 0 when they're the same. Used for toggling bits, encryption (XOR cipher), swapping values without temp variables, and finding differences. All processing happens locally in your browser.