Arrows

How to type Double left-right arrow (⇔)

Copy the character, or use the shortcut that matches your keyboard and app.

Windows

No classic numeric Alt code. Copy the character or use Win + . and search the name.

Mac

Character Viewer → arrow

Microsoft Word

Type 21D4 then Alt + X

Google Docs

Insert → Special characters → arrow

How to insert it

Copy

Click the keycap, then paste with Ctrl+V or Cmd+V.

Alt code

This character has no short Alt code. Copy it instead.

Code

Use the Unicode, HTML, CSS, or JS value below in documents and stylesheets.

Unicode
U+21D4
HTML decimal
⇔
HTML hex
⇔
CSS
\21D4
JavaScript
\u{21D4}

Related

About the Double left-right arrow

The Double left-right arrow (⇔, U+21D4) the double-headed left-right arrow (⇔) — means "if and only if" in logic and marks reversible reactions in chemistry.

Arrows do heavy lifting in documents: flowcharts, instructions, chat replies, and interface labels. Direction is the whole point, so each arrow has its own code — double-check you've grabbed the right one before pasting.

The copy button above is fastest for a one-off. If you need ⇔ often, use its Unicode value 21d4 — in Word, type it and press Alt+X; on Windows, the Character Map app (search "Character Map" in Start) inserts it into any program.

In Unicode it lives in the Arrows block, so it behaves the same everywhere Unicode is supported — which today means virtually every device, app, and browser. Related symbols: Right arrow, Left arrow, Up arrow.

Double left-right arrow quick reference

Symbol⇔
NameDouble left-right arrow
UnicodeU+21D4
Alt code—
HTML decimal⇔
HTML hex⇔
HTML entity⇔
CSS\21D4
JavaScript\u21D4
URL encoded%E2%87%94

Compatibility: Displays correctly on iPhone, Android, Windows and Mac.

How to type ⇔ on your phone

iPhone / iPad

iPhones have no Alt codes. The fastest way is to copy the symbol above and paste it where you need it. To reuse it often, save it as a text replacement: go to Settings → General → Keyboard → Text Replacement, tap +, paste the symbol into Phrase and give it a Shortcut.

Android

On Gboard, tap ?123 then =\< to open the symbols keyboard — many symbols hide under a long-press on related keys. Otherwise just copy the symbol above and paste it; it works in every app.