⋄

Diamond Operator Symbol (⋄)

Copy the Diamond Operator 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?

⋄ (diamond operator) is used for “possibly” in modal logic and as a generic binary operator. Its official Unicode name is DIAMOND OPERATOR.

Codes and properties

Character⋄
Unicode nameDIAMOND OPERATOR
Code pointU+22C4
Decimal8900
Unicode blockMathematical Operators
HTML entity⋄ · ⋄
CSS\22C4
JavaScript / JSON\u22C4
Python\u22C4 or \N{DIAMOND OPERATOR}
UTF-8 bytesE2 8B 84
LaTeX\diamond

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 22C4 then press Alt+X. In any app, Win+. opens the symbol panel.
  • Mac (any symbol): switch to the Unicode Hex Input keyboard, hold Option and type 22C4; or press Ctrl+Cmd+Space and search “diamond operator”.
  • Linux (GTK/IBus): press Ctrl+Shift+U, type 22c4, then Space.
  • HTML: ⋄ renders as ⋄.
  • LaTeX: \diamond in math mode (amssymb package for some symbols).

Frequently asked questions

How do I type ⋄ on Windows?

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

How do I type ⋄ on a Mac?

Open the Character Viewer with Ctrl+Cmd+Space and search “diamond operator”, or switch to Unicode Hex Input and hold Option while typing 22C4.

What is the HTML code for ⋄?

Use ⋄ (hex) or ⋄ (decimal).

What is the LaTeX command for ⋄?

Use \diamond in math mode.

Related symbols

Reference: Unicode code chart: Mathematical Operators (U+2200–U+22FF)