⇔

If and Only If Arrow Symbol (⇔)

Copy the If and Only If Arrow 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?

The left right double arrow means “if and only if” (logical equivalence): A ⇔ B means A and B imply each other. Its official Unicode name is LEFT RIGHT DOUBLE ARROW.

Codes and properties

Character⇔
Unicode nameLEFT RIGHT DOUBLE ARROW
Code pointU+21D4
Decimal8660
Unicode blockArrows
HTML entity⇔ · ⇔ · ⇔
CSS\21D4
JavaScript / JSON\u21D4
Python\u21D4 or \N{LEFT RIGHT DOUBLE ARROW}
UTF-8 bytesE2 87 94
LaTeX\Leftrightarrow

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 21D4 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 21D4; or press Ctrl+Cmd+Space and search “left right double arrow”.
  • Linux (GTK/IBus): press Ctrl+Shift+U, type 21d4, then Space.
  • HTML: ⇔ renders as ⇔.
  • LaTeX: \Leftrightarrow in math mode (amssymb package for some symbols).

Frequently asked questions

How do I type ⇔ on Windows?

In Microsoft Word type 21D4 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 “left right double arrow”, or switch to Unicode Hex Input and hold Option while typing 21D4.

What is the HTML code for ⇔?

Use ⇔ or ⇔ (hex) or ⇔ (decimal).

What is the LaTeX command for ⇔?

Use \Leftrightarrow in math mode.

Related symbols

Reference: Unicode code chart: Arrows (U+2190–U+21FF)