Skip to content

U+22BB · Mathematical Operators

Xor

Xor is the Unicode character U+22BB (official name “XOR”) from the Mathematical Operators block. It belongs to SymbolHero’s math symbols collection. Copy it with the button, or use the codes and keyboard methods below to type it yourself.

UnicodeU+22BB
HTML⊻
U+22BB

Character codes

Unicode code pointU+22BB
Decimal8891
HTML named entity⊻
HTML (hex)
HTML (decimal)
CSS\22BB
JavaScript\u22BB
Python\u22BB
UTF-8 bytesE2 8A BB
UTF-1622BB
URL-encoded%E2%8A%BB

Character details

Official nameXOR
Unicode blockMathematical Operators
General categoryMath Symbol (Sm)
SymbolHero categoryMath Symbols
EmojiNo

How to type ⊻

Windows

  • In Microsoft Word or Outlook: type 22BB then press Alt + X.
  • Open Character Map (search “Character Map” in Start), tick “Advanced view”, search for “xor”, then Select and Copy.

Mac

  • Press Control + Command + Space to open the Character Viewer, search “xor”, and double-click the result.
  • With the Unicode Hex Input keyboard enabled (System Settings → Keyboard → Input Sources), hold Option and type 22BB.

iPhone & Android

  • Tap Copy at the top of this page, then long-press where you want it and choose Paste.

Docs & web

  • Google Docs: Insert → Special characters, then search “xor” or enter U+22BB.
  • HTML: ⊻ or
  • Excel / Google Sheets: =UNICHAR(8891)

Questions

What is the Unicode for ⊻?

It is U+22BB (XOR), decimal 8891.

Is there a Windows Alt code for it?

No standard Alt code exists for this character. In Word type 22BB then Alt+X, or copy it from this page.

How do I type it on a Mac?

There is no built-in Option shortcut. Use the Character Viewer (Control + Command + Space) and search “xor”, or copy it from this page.

What is the HTML code?

Use the named entity ⊻ or the numeric reference ⊻.