HTML Entity for Up Down Double Arrow (⇕)

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

What You'll Learn

How to display the Up Down Double Arrow (⇕) in HTML using hexadecimal, decimal, the named entity ⇕, and CSS escape methods. This character is U+21D5 (UP DOWN DOUBLE ARROW) in the Arrows block (U+2190–U+21FF)—a stacked double bidirectional vertical arrow used for toggles, expand/collapse controls, and emphasized vertical navigation.

Render it with ⇕, ⇕, ⇕, or CSS escape \21D5. Do not confuse ⇕ (U+21D5, double) with ↕ (U+2195, single up down arrow) or ⇑ (U+21D1, up double arrow).

⚡ Quick Reference — Up Down Double Arrow

Unicode U+21D5

Arrows block

Hex Code ⇕

Hexadecimal reference

HTML Code ⇕

Decimal reference

Named Entity ⇕

HTML5 named entity for U+21D5

Reference Table
Name           Value
────────────   ──────────
Unicode        U+21D5
Hex code       ⇕
HTML code      ⇕
Named entity   ⇕
CSS code       \21D5
Official name  UP DOWN DOUBLE ARROW
Related        U+2195 = Up down arrow (↕); U+21D1 = Up double arrow (⇑)
Block          Arrows (U+2190–U+21FF)
1

Complete HTML Example

A simple example showing ⇕ with hex, decimal, named entity, and CSS content escape:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point::after{
   content: "\21D5";
  }
 </style>
</head>
<body>
<p>Double Up Down (hex): &#x21D5;</p>
<p>Double Up Down (decimal): &#8661;</p>
<p>Double Up Down (entity): &vArr;</p>
<p id="point">Double Up Down (CSS): </p>
</body>
</html>
Try it Yourself

🌐 Browser Support

U+21D5 is widely supported in modern browsers when rendered with a font that includes Arrows:

Chrome 1+
Firefox 1+
Safari 1+
Edge 12+
Opera 4+
Android 4.4+
iOS Safari 1+

👀 Live Preview

See the Up Down Double Arrow (⇕) in navigation and UI contexts:

Large glyph
Expand / collapse Toggle ⇕
Vertical scroll Scroll ⇕
vs single up-down ⇕ double   ↕ single
Named entity &vArr; → ⇕
All HTML refs &#x21D5; &#8661; &vArr;

🧠 How It Works

1

Hexadecimal Code

&#x21D5; uses the Unicode hexadecimal value 21D5 to display the Up Down Double Arrow. The x prefix indicates hexadecimal format.

HTML markup
2

Decimal HTML Code

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

HTML markup
3

Named HTML Entity

&vArr; is the HTML5 named entity for U+21D5. It is easy to read in source and resolves to ⇕. Not to be confused with &varr; (U+2195, single up-down).

HTML markup
4

CSS Entity

\21D5 is used in CSS stylesheets in the content property of pseudo-elements like ::before and ::after.

CSS stylesheet
=

Same visual result

All four methods produce: . Unicode U+21D5 in the Arrows block (U+2190–U+21FF). The stacked double-arrow design emphasizes bidirectional vertical movement or toggle states.

Use Cases

The Up Down Double Arrow (⇕) is commonly used in:

🔝 Toggle states

Expand/collapse controls and show/hide toggles with emphasized vertical arrows.

📜 Bidirectional nav

Menus and toolbars indicating strong up-and-down navigation options.

🎨 UI design

Sort controls, accordion headers, and vertical range selectors.

🛠 Iconography

Icon sets with double vertical arrows for toggle and scroll emphasis.

🗺 Diagrams

Flowcharts showing bidirectional vertical movement with emphasis.

💻 Web applications

Dashboards with expandable panels and vertical reorder controls.

💡 Best Practices

Do

  • Use &vArr; for readable markup, or &#x21D5; / &#8661;
  • Add aria-label when the arrow conveys toggle or navigation meaning
  • Use ⇕ when you need stronger emphasis than ↕ (&varr;)
  • Use \21D5 in CSS ::before / ::after for icon buttons
  • Serve pages with UTF-8 (<meta charset="utf-8">)

Don’t

  • Confuse &vArr; (U+21D5, double) with &varr; (U+2195, single up-down)
  • Use U+021D5 or CSS \021D5—the correct value is U+21D5 and \21D5
  • Put CSS escape \21D5 in HTML text nodes
  • Rely on the symbol alone without context in accessibility-critical UIs
  • Assume all decorative fonts include extended Arrows glyphs

Key Takeaways

1

Named entity available: &vArr;

&#x21D5; &#8661;
2

For CSS stylesheets, use \21D5 in content

3

Unicode U+21D5 — UP DOWN DOUBLE ARROW

4

Single up-down arrow: ↕ via &varr; (U+2195)

5

Four methods, one glyph — widely supported in modern browsers

❓ Frequently Asked Questions

Use &#x21D5; (hex), &#8661; (decimal), &vArr; (named entity), or \21D5 in CSS content. All produce ⇕.
U+21D5 (UP DOWN DOUBLE ARROW). Arrows block (U+2190–U+21FF). Hex 21D5, decimal 8661.
In bidirectional navigation, toggle states, expand/collapse controls, UI design, and any content needing emphasized vertical movement in both directions.
&vArr; is easier to read in source than &#8661; or &#x21D5;, but all produce ⇕. Do not confuse &vArr; (double, U+21D5) with &varr; (single, U+2195).
The named HTML entity is &vArr;. It is part of the HTML5 named entity set, making it convenient to use instead of numeric hex or decimal references.

Explore More HTML Entities!

Discover 1500+ HTML character references — arrows, symbols, math operators, 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