EmojiKite

If and only if arrow (⇔)

U+21D4 · LEFT RIGHT DOUBLE ARROW · Unicode 1.1 (1993)

How to type ⇔

Windows

No Alt code

⇔ is not in the Windows code pages 1252 or 437, so it has no Alt code. Use one of the methods below or copy it from this page.

Word and Outlook: Alt + X

21D4 Alt+X

Type 21D4 and press Alt+X right after it: Word turns the code into ⇔. Press Alt+X again to turn it back into the code.

Emoji and symbols panel (Windows 10 and 11)

Win+.

Press Win + full stop (.) to open the panel, go to the Symbols tab (Ω) and pick ⇔.

No numeric keypad on your laptop? See the other ways in our Alt codes guide.

Mac

Character Viewer

Ctrl+⌘ Cmd+Space

Press Ctrl+⌘+Space (or the Globe key + E), search for “if and only if arrow” and click ⇔ to insert it.

More shortcuts in our keyboard guide

iPhone

Make a shortcut (Text Replacement)

Turn a short word into ⇔ once and type it in any app:

  1. Copy ⇔ from this page.
  2. Open Settings › General › Keyboard › Text Replacement and tap +.
  3. Paste ⇔ as the Phrase and type a Shortcut, for example ;ifandonlyi.
  4. Now type ;ifandonlyi anywhere: the keyboard suggests ⇔.

More shortcuts in our keyboard guide

Android

Make a shortcut (Gboard personal dictionary)

Teach your keyboard a short word that turns into ⇔:

  1. Copy ⇔ from this page.
  2. Open Gboard settings › Dictionary › Personal dictionary, choose your language and tap +.
  3. Paste ⇔ as the word and type a shortcut, for example ;ifandonlyi.
  4. Type ;ifandonlyi in any app and tap ⇔ in the suggestions.

More shortcuts in our keyboard guide

Linux

Unicode input

Ctrl+Shift+U 21d4 Enter

Press Ctrl+Shift+U, type 21d4 and press Enter or Space. Works in GTK apps and with IBus (GNOME, Ubuntu, Fedora).

More shortcuts in our keyboard guide

What ⇔ means and how it is used

In Unicode, ⇔ is code point U+21D4 with the official name LEFT RIGHT DOUBLE ARROW. It belongs to the Arrows block and arrived with Unicode 1.1 in 1993.

Other words for it: arrow, double, left, right.

You will find it in our arrows, 195 symbols in all, together with → ← ↑ ↓ ↔.

Codes for HTML, CSS and JavaScript

Tap Copy next to the code you need.

HTML entity⇔
HTML decimal⇔
HTML hex⇔
CSScontent: "\21D4";
JavaScript\u21D4
URL%E2%87%94
UTF-8 bytesE2 87 94
UnicodeU+21D4

Will it show on my friend's phone?

⇔ has been in Unicode since version 1.1 (1993). Practically every phone, computer and app shows it.

Names in other languages

What ⇔ is called in the 12 languages of this site (Unicode CLDR and our editors). Tap a name to open that language's page.

All Arrows →

Questions people ask

How do I type ⇔ on a laptop without a numeric keypad?

On Windows press Win + full stop (.) and pick ⇔ in the Symbols tab, or in Word type 21D4 and press Alt+X.

How do I type ⇔ on an iPhone?

The iPhone keyboard has no key for ⇔. Copy it here, then add it in Settings › General › Keyboard › Text Replacement with a shortcut like ;ifandonlyi.

What is the HTML code for the if and only if arrow?

Use the entity ⇔ or the numeric code ⇔ (hex ⇔). In CSS write \21D4, in JavaScript \u21D4.

Will ⇔ show on every phone?

⇔ has been in Unicode since version 1.1 (1993). Practically every phone, computer and app shows it.

Copy it yourself

Your browser blocked automatic copying. The text is selected: long-press it and choose Copy (or press Ctrl+C / ⌘C).

Copy as

Open the full page →