Search
Search for a symbol or emoji...
⊻
⊻
Xor Symbol ⊻
Xor Symbol Information
| Symbol Name | Xor |
| Unicode Version | 1.1 (June 1993) |
| Unicode | U+22BB |
| CSS Code | \22BB |
| HTML Entity | ⊻ |
| Hex Code | ⊻ |
| HTML Code | ⊻ |
| Latex | \veebar |
| Symbol | ⊻ |
Xor Symbol in Latex
Xor
1\documentclass{article}
2\usepackage{amssymb}
3\begin{document}
4\veebar
5\end{document}How to add xor symbol via keyboard on different Operating systems
You can type the xor symbol on most modern devices with the help of following methods:
How to type xor symbol on Microsoft Word
You can type the xor in Microsoft Word using steps mentioned below:
- Place your cursor in the text area where you need to insert the symbol and type 22BB
- Without moving the cursor press keys Alt + x together
- The original 22BB is now transformed into ⊻
How to type xor symbol on Microsoft Windows
You can type the xor on Microsoft windows using following steps:
- Hold Alt and press to type xor on your windows machine.
How to type xor symbol on Mac OS
You can type the xor on Mac OS using following steps:
- Place your cursor in the text area where you need to insert the symbol
- Press Ctrl + ⌘ Command + ⎵ Space to bring up the Character Viewer. Alternatively, choose Edit ⇒ Emoji & Symbols
- Type "Xor" in the search field at the top and press Enter
- The symbol should appear. Click on it to insert it into your text


How to type xor symbol on Linux
You can type the xor on Linux using following steps:
- Place your cursor in the text area where you need to insert the symbol
- Hold ⇧ Shift + Ctrl and press the letter + U
- Press keys 22BB consecutively
- And then press ↵ Enter , the desired symbol will be added to your document
How to type xor symbol on IOS and Android
The easiest way to type the xor symbol on ios and android is to copy and paste it wherever you need it.
How to use xor in CSS
//CSS Example
1span {
2 content: \22BB;
3 }How to use xor in HTML
//HTML Example
1<span>⊻</span>Xor symbol representation in programming languages
Xorsymbol's representation in different programming languages can be found in table below:
| Language | Representation |
|---|---|
| Rust | \u{22BB} |
| Ruby | \u{22BB} |
| Python | \u22BB |
| PHP | \u{22BB} |
| Perl | \x{22BB} |
| Java | \u22BB |
| Modern JavaScript - Since ES6 | \u{22BB} |
| JavaScript | \u22BB |
| Go | \u22BB |
| C# | \u22BB |
| C and C++ | \u22BB |
| Bash and Zsh - inside echo -e | \u22BB |
| RFC 5137 | \u'22BB' |
