free-symbols

Xor Symbol

⊻ is the XOR symbol, commonly used to express “exclusive OR” in math and logic.

U+22BB

The symbol ⊻ represents XOR (exclusive OR). It’s used to describe a choice or operation that behaves differently than regular OR. It’s also helpful for labeling logic in diagrams and code.

Xor Symbol Meaning

⊻ (U+22BB) is the XOR operator, short for “exclusive OR.” In logic, XOR is true or “selected” only when exactly one of the inputs is true (not both). If both inputs match (both true or both false), XOR evaluates to false. In set and logic notation, it often models exclusive membership or selection. In computing contexts, XOR is also a bitwise operation that combines bits so the result is 1 only where the input bits differ. While OR includes the “both true” case, XOR specifically excludes it.

Common uses

  • Labeling exclusive-choice rules in logic expressions and proofs
  • Writing boolean conditions in documentation and flow diagrams
  • Indicating bitwise XOR operations in technical notes
  • Creating truth tables for educational or reference materials
  • Marking fields in UI or forms where exactly one option must be active

Examples

⊻ XOR Symbol (U+22BB)

  • A ⊻ B: true when A and B are different
  • In a truth table: 1 ⊻ 1 = 0
  • Use XOR to toggle bits: value ^ mask (XOR behavior)
  • Exactly one of these flags: flag1 ⊻ flag2
  • Exclusive membership: x ∈ A ⊻ x ∈ B

Variations

Ready to copy

Technical codes

UnicodeU+22BB
HTML Entity⊻
HTML Code⊻
CSS\22BB

FAQ

What does ⊻ mean?

⊻ means XOR (exclusive OR): it’s true only when exactly one input is true, not when both are true.

How do I write ⊻ in HTML?

Use the HTML entity ⊻.

How do I use ⊻ in CSS or styling?

Use the CSS escape \\22BB to include the character reliably.

Is ⊻ the same as the caret operator ^ in code?

It often corresponds to XOR. Many languages use ^ for XOR, but the exact meaning depends on whether it’s logical XOR or bitwise XOR in that language.