About Xor
Xor is the Unicode character ⊻ at codepoint U+22BB in the Mathematical Operators block of the Basic Multilingual Plane (BMP).
Developer Notes
| Unicode Codepoint | |
| Decimal | |
| UTF-8 (hex) | |
| UTF-16 (hex) | |
| HEX Entity | |
| HTML Entity | |
| CSS (\xxxx) | |
| JavaScript | |
| Python |
How to Use Xor
To use the Xor symbol (⊻) in HTML, insert the
entity ⊻ directly into your markup. The decimal entity ⊻ works in any HTML-serialised document.
In CSS pseudo-elements use content: '\22BB';.
In JavaScript and TypeScript the escape '\u22BB' evaluates to ⊻. In Python source, write '\u22BB'.
The character encodes to E2 8A BB as UTF-8 bytes and 22BB as UTF-16 code units. Its decimal codepoint is 8891.
This is a text-based Unicode character. It will render in the current font on most platforms. If a font lacks this glyph, the browser may show a placeholder or fall back to a system font.