⇔
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 name | LEFT RIGHT DOUBLE ARROW |
| Code point | U+21D4 |
| Decimal | 8660 |
| Unicode block | Arrows |
| HTML entity | ⇔ · ⇔ · ⇔ |
| CSS | \21D4 |
| JavaScript / JSON | \u21D4 |
| Python | \u21D4 or \N{LEFT RIGHT DOUBLE ARROW} |
| UTF-8 bytes | E2 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
21D4then 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:
\Leftrightarrowin 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
Keep exploring
Reference: Unicode code chart: Arrows (U+2190–U+21FF)