⊻

XOR Symbol (⊻)

Copy the XOR symbol ⊻ to your clipboard, and see its Unicode code point, HTML entity, LaTeX command and how to type it on any device.

What does ⊻ mean?

⊻ denotes exclusive OR (XOR): true when exactly one input is true. Its official Unicode name is XOR.

Codes and properties

Character⊻
Unicode nameXOR
Code pointU+22BB
Decimal8891
Unicode blockMathematical Operators
HTML entity⊻ · ⊻
CSS\22BB
JavaScript / JSON\u22BB
Python\u22BB or \N{XOR}
UTF-8 bytesE2 8A BB
LaTeX\veebar

How to type ⊻

  • Copy & paste: press the Copy button above, then paste ⊻ anywhere — Word, Google Docs, email, chat or code.
  • Windows (Word, WordPad, Outlook): type 22BB then press Alt+X. In any app, Win+. opens the symbol panel.
  • Mac: switch to the Unicode Hex Input keyboard, hold Option and type 22BB; or press Ctrl+Cmd+Space and search “xor”.
  • Linux (GTK/IBus): press Ctrl+Shift+U, type 22bb, then Space.
  • HTML: ⊻ renders as ⊻.
  • LaTeX: \veebar in math mode (amssymb package for some symbols).

Frequently asked questions

How do I type ⊻ on Windows?

In Microsoft Word type 22BB and press Alt+X. In any app press Win+. to open the symbol panel, or copy ⊻ from this page.

What is the HTML code for ⊻?

Use ⊻ (hex) or ⊻ (decimal).

What is the LaTeX command for ⊻?

Use \veebar in math mode.

Related symbols