Left Right Double Arrow

Shortcodes

Copy useful codes for left right double arrow symbol ⇔ to use in websites, apps, blogs, and docs.

Unicode
U+21D4
HTML Code
⇔
HTML Entity
⇔
HEX Code
⇔
CSS Code
\21D4
JS/JSON
\u21D4
Unix/C/PHP/JAVA
0x21D4
URL-encode
%E2%87%94

Customize Left Right Double Arrow

Customize ⇔, download it as SVG or PNG, or copy the generated HTML snippet.

  

How to use Left Right Double Arrow Symbol in HTML, CSS, and JS

Insert in HTML

1. Direct symbol:
<span>⇔</span>
HTML Code:
<span>&#8660;</span>
HTML Entity:
<span>&hArr;</span>
HEX Code:
<span>&#x21D4;</span>

Add with CSS

.left-right-double-arrow::before {
  content: '\\21D4';
}

Set it in JavaScript

document.querySelector('.left-right-double-arrow').textContent = '⇔';
copied