HTML Entity for Left Arrow Over Right Arrow (⇆)

Beginner
6 min read
Updated: Sep 2026
1 example
Unicode U+21C6

What Is the Left Arrow Over Right Arrow Entity?

Left Arrow Over Right Arrow (⇆) is the Arrows character at Unicode U+21C6 (LEFTWARDS ARROW OVER RIGHTWARDS ARROW). It stacks a leftwards arrow above a rightwards arrow — useful for swap and bidirectional UI.

Remember
Character     ⇆
Unicode       U+21C6
Hex entity    ⇆
Decimal       ⇆
Named entity  ⇆
CSS escape    \21C6
Not the same  ⇄ (⇄) · ↔ (↔)

All of these produce the same glyph: ⇆ (when the font supports U+21C6). Prefer ⇆ in HTML source for clarity; use hex/decimal when generating entities, and CSS \21C6 only in content.

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Named entity⇆HTML markup (best default)
Hex entity⇆HTML markup
Decimal entity⇆HTML markup
CSS escape\21C6Stylesheet content
Direct character⇆UTF-8 HTML text

When to Use Which

SituationUse
Readable HTML source⇆
Need a numeric entity in HTML⇆ or ⇆
Generated text via ::before / ::aftercontent: "\21C6"
Right over left stackingUse ⇄ (U+21C4)
Single left-right arrowUse ↔ (U+2194)

Live Preview

Left Arrow Over Right Arrow in icon-style contexts.

Swap link ⇆ Swap
Large glyph ⇆
Named entity ⇆ → ⇆
vs flip / harr ⇆  |  ⇄  |  ↔
With entities Hex: ⇆ | Decimal: ⇆ | Named: ⇆

Complete HTML Example

One page that shows Left Arrow Over Right Arrow with hex, decimal, named, and CSS. Use View Output or open the live editor.

Hex + Decimal + Named + CSS

All four ways to produce ⇆ in a single document.

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Left Arrow Over Right Arrow (⇆) in HTML</title>
  <style>
    #point::after {
      content: "\21C6";
    }
  </style>
</head>
<body>
  <p>Using Hex Code: &#x21C6;</p>
  <p>Using HTML Code: &#8646;</p>
  <p>Using Named Entity: &lrarr;</p>
  <p id="point">Using CSS Entity: </p>
  <p><a href="#">&lrarr; Swap</a></p>
</body>
</html>
Try It Yourself

How It Works

1. Hex: U+21C6 → &#x21C6; in HTML. The browser turns it into ⇆.

2. Decimal: same code point as 8646 → &#8646;. Same result as hex.

3. Named: &lrarr; is the HTML5 name for this character.

4. CSS: use \21C6 in content (not an HTML entity). #point::after appends that ⇆ after the paragraph text.

Pitfalls & Tips

Common mistakes when working with Left Arrow Over Right Arrow.

Stacking

&lrarr; ≠ &rlarr;

Left-over-right is U+21C6. Right-over-left is U+21C4 (&rlarr;). The letter order in the name matches the stack.

Look-alikes

Not single ↔

&harr; (U+2194) is one left-right arrow — not two stacked arrows.

A11y

Label the action

Pair ⇆ with words like “Swap” or “Exchange”, or use aria-label.

CSS vs HTML

Do not mix escapes

\21C6 belongs in CSS. &lrarr; / &#x21C6; / &#8646; belong in HTML.

Fonts

Arrows coverage

Most modern UI fonts include U+21C6. If a glyph is missing, try Segoe UI Symbol or Noto Sans Symbols.

Semicolon

End references

Always finish with ; — write &lrarr;, not &lrarr.

Browser Support

Left Arrow Over Right Arrow (U+21C6) and its entity forms (&lrarr;, &#x21C6;, &#8646;, CSS \\21C6) are supported in modern browsers when the font includes the Arrows block.

✓ Universal support

Left Arrow Over Right Arrow (⇆)

Encode with named, hex, decimal, or CSS escape — same character when the font supports U+21C6.

100% Browser coverage
Google Chrome Supported
Yes
Microsoft Edge Supported
Yes
Mozilla Firefox Supported
Yes
Apple Safari Supported
Yes
Opera Supported
Yes
Internet Explorer All versions
Yes
U+21C6 / &lrarr; Full support

Bottom line: Prefer &lrarr; in HTML. Use \\21C6 only inside CSS content. Do not confuse with &rlarr; or &harr;.

Key Takeaways

  • Unicode: this symbol is U+21C6 (decimal 8646).
  • HTML: prefer &lrarr; — or use &#x21C6; / &#8646;.
  • CSS: use \21C6 inside content for generated text.
  • Watch out: ⇆ ≠ ⇄ (&rlarr;) ≠ ↔ (&harr;).

One line: U+21C6 → &lrarr; / &#x21C6; / &#8646; / CSS \21C6.

Frequently Asked Questions

Use &lrarr; (named), &#x21C6; (hex), &#8646; (decimal), or the CSS escape \21C6 in the content property. All render ⇆ when the font supports the Arrows block.
U+21C6 (LEFTWARDS ARROW OVER RIGHTWARDS ARROW). Hex 21C6, decimal 8646. It belongs to the Arrows block (U+2190–U+21FF).
Yes. &lrarr; is the HTML5 named entity for U+21C6. You can also use &#x21C6; or &#8646;.
Use it for swap/exchange UI, bidirectional diagrams, and technical notation that needs a leftwards arrow stacked over a rightwards arrow. Prefer &lrarr; for readable HTML source.
HTML entities (&lrarr;, &#8646;, or &#x21C6;) go in markup. The CSS escape \21C6 is used in stylesheets (usually in the content property of ::before/::after). Both render ⇆.
U+21C4 (⇄, &rlarr;) stacks a rightwards arrow over a leftwards arrow. U+2194 (↔, &harr;) is a single left-right arrow. U+21C6 is left-over-right stacking.

Did you know?

Left Arrow Over Right Arrow is Unicode U+21C6 (decimal 8646) — LEFTWARDS ARROW OVER RIGHTWARDS ARROW. HTML5 provides the named entity &lrarr;. Prefer it for readable source, or use &#x21C6; / &#8646;. Do not confuse it with the flipped stacking &rlarr; (U+21C4, ⇄) or the single left-right arrow &harr; (U+2194).

Next: Left Arrow Plus Below

Learn the HTML entity for Left Arrow Plus Below — next in this sequence.

Left Arrow Plus Below tutorial →

CODETOFUN NEWS

Stay Ahead in Tech

Get the latest IT news, programming updates, and technology trends directly on your phone.

Your daily dose of tech, straight to your feed.

About the author

Mari Selvan M P
Mari Selvan M P 🔗

Developer, cloud engineer, and technical writer

  • Experience 12 years building web and cloud systems
  • Focus Full Stack Development, AWS, and Developer Education

I write practical tutorials so students and working developers can learn by doing—from databases and APIs to deployment on AWS.

8 people found this page helpful