HTML Entity for Long Left Right Arrow (⟷)

Beginner
⏱️ 5 min read
📚 Updated: Jun 2026
🎯 1 Code Example
Unicode U+27F7

What You'll Learn

How to display the Long Left Right Arrow (⟷) symbol in HTML using hexadecimal, decimal, named entity, and CSS escape methods. This character is U+27F7 (LONG LEFT RIGHT ARROW) in the Supplemental Arrows-C block.

Render it with ⟷, ⟷, ⟷, or CSS escape \27F7. It indicates bidirectional direction, equivalence, or left-right relation in navigation, math, and UI. For the standard short arrow, see Left Right Arrow (↔, ↔).

⚡ Quick Reference — Long Left Right Arrow

Unicode U+27F7

Supplemental Arrows-C

Hex Code ⟷

Hexadecimal reference

HTML Code ⟷

Decimal reference

Named Entity ⟷

Most readable option

Reference Table
Name           Value
────────────   ──────────
Unicode        U+27F7
Hex code       ⟷
HTML code      ⟷
Named entity   ⟷
CSS code       \27F7
Meaning        Long left right arrow
Related        U+2194 = ↔ (↔)
Block          Supplemental Arrows-C
1

Complete HTML Example

A simple example showing the Long Left Right Arrow (⟷) using hexadecimal code, decimal HTML code, the named entity, and a CSS content escape:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point:after{
   content: "\27F7";
  }
 </style>
</head>
<body>
<p>Symbol (hex): &#x27F7;</p>
<p>Symbol (decimal): &#10231;</p>
<p>Symbol (named): &xharr;</p>
<p id="point">Symbol (CSS): </p>
</body>
</html>
Try it Yourself

🌐 Browser Support

The Long Left Right Arrow (⟷) is supported in modern browsers when the font includes Supplemental Arrows glyphs:

Chrome1+
Firefox1+
Safari1+
Edge12+
Opera4+
Android4.4+
iOS Safari1+

👀 Live Preview

See the Long Left Right Arrow (⟷) in navigation and diagram contexts:

Large glyph
BidirectionalView A ⟷ View B
EquivalenceA ⟷ B (if and only if)
Compare⟷ (long) vs ↔ (short)
Numeric refs&#x27F7; &#10231; &xharr; \27F7

🧠 How It Works

1

Hexadecimal Code

&#x27F7; uses the Unicode hexadecimal value 27F7 to display the bidirectional arrow.

HTML markup
2

Decimal HTML Code

&#10231; uses the decimal Unicode value 10231 to display the same character.

HTML markup
3

Named Entity

&xharr; is the semantic named entity for ⟷—readable in source HTML and part of the HTML5 character set.

HTML markup
4

CSS Entity

\27F7 is used in CSS stylesheets, particularly in the content property of pseudo-elements.

CSS stylesheet
=

Same visual result

All four methods produce the glyph: . Unicode U+27F7 is in Supplemental Arrows-C. Previous: Long Left Double Arrow Bar.

Use Cases

The Long Left Right Arrow (⟷) is commonly used in:

🧭 Bidirectional nav

Two-way navigation, “back and forth,” or toggle between views.

📐 Math equivalence

Equivalence, correlation, or bidirectional mapping in notation.

📊 Flowcharts

Two-way flow or reversible process in process diagrams.

💻 UI elements

Expand/collapse, resize handles, or left-right toggle controls.

📄 Technical docs

Bidirectional relation or “if and only if” in specs and API docs.

📚 Education

Explain equivalence, bijection, or two-way mapping in tutorials.

💡 Best Practices

Do

  • Use &xharr; for readable source markup
  • Pair arrows with text labels for accessibility (e.g. “Toggle view”)
  • Choose ⟷ when you need a longer stroke than ↔
  • Use fonts that support arrow symbols for consistent rendering
  • Serve pages with UTF-8 (<meta charset="utf-8">)

Don’t

  • Confuse &xharr; (⟷) with &harr; (↔) when precision matters
  • Put CSS escape \27F7 in HTML text nodes
  • Rely on the arrow glyph alone for screen reader users
  • Assume every font renders long arrows identically—test on mobile
  • Use arrows as the only navigation affordance without focus styles

Key Takeaways

1

Four HTML/CSS references all render ⟷

&#x27F7; &#10231; &xharr;
2

For CSS stylesheets, use the escape in the content property

\27F7
3

Unicode U+27F7 — LONG LEFT RIGHT ARROW

4

Prefer &xharr; for readability; short arrow is &harr;

❓ Frequently Asked Questions

Use &#x27F7; (hex), &#10231; (decimal), &xharr; (named), or \27F7 in CSS content. All produce ⟷.
U+27F7 (LONG LEFT RIGHT ARROW). Supplemental Arrows-C block. Hex 27F7, decimal 10231. Named entity: &xharr;.
For bidirectional navigation, equivalence in math and logic, two-way flow in flowcharts, UI expand/collapse indicators, and any content showing a left-right relation.
&xharr; is the named HTML entity for ⟷. It is part of the HTML5 named character set and the most readable option in source markup.
↔ (&harr;) is the standard left right arrow. ⟷ (&xharr;) is the long left right arrow with a longer horizontal stroke.

Explore More HTML Entities!

Discover 1500+ HTML character references — arrows, symbols, and more.

All HTML Entities →

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