HTML Entity for Up Arrow (↑)

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

What You'll Learn

How to display the Up Arrow (↑) in HTML using hexadecimal, decimal, the named entity ↑, and CSS escape methods. This character is U+2191 (UPWARDS ARROW) in the Arrows block (U+2190–U+21FF)—used in scroll-to-top buttons, navigation, sort indicators, and UI direction cues.

Render it with ↑, ↑, ↑, or CSS escape \2191. For down arrow use ↓ (↓, U+2193). The up-pointing triangle (▴, U+25B4) is a different glyph sometimes used for compact indicators.

⚡ Quick Reference — Up Arrow

Unicode U+2191

Arrows block

Hex Code ↑

Hexadecimal reference

HTML Code ↑

Decimal reference

Named Entity ↑

HTML5 named entity for U+2191

Reference Table
Name           Value
────────────   ──────────
Unicode        U+2191
Hex code       ↑
HTML code      ↑
Named entity   ↑
CSS code       \2191
Related        U+2193 = Down arrow (↓); U+25B4 = Up triangle
1

Complete HTML Example

A simple example showing the Up Arrow (↑) with hex, decimal, named entity, and CSS content escape:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point:after{
   content: "\2191";
  }
 </style>
</head>
<body>
<p>Up Arrow using Hexadecimal: &#x2191;</p>
<p>Up Arrow using HTML Code: &#8593;</p>
<p>Up Arrow using HTML Entity: &uarr;</p>
<p id="point">Up Arrow using CSS Entity: </p>
</body>
</html>
Try it Yourself

🌐 Browser Support

U+2191 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 Arrow (↑) in UI and navigation contexts:

Large glyph
Scroll to top Back to top ↑
Sort ascending Price ↑
vs down arrow ↑ up   ↓ down
Named entity &uarr; → ↑
All HTML refs &#x2191; &#8593; &uarr;

🧠 How It Works

1

Hexadecimal Code

&#x2191; uses the Unicode hexadecimal value 2191 to display the Up Arrow. The x prefix indicates hexadecimal format.

HTML markup
2

Decimal HTML Code

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

HTML markup
3

Named HTML Entity

&uarr; is the HTML5 named entity for U+2191. It is easy to read in source and resolves to the same character (↑).

HTML markup
4

CSS Entity

\2191 is used in CSS stylesheets, particularly in the content property of pseudo-elements like ::before and ::after.

CSS stylesheet
=

Same visual result

All four methods produce: . Unicode U+2191. Down arrow: &darr; (↓). Not the same as ▴ (up-pointing triangle).

Use Cases

The Up Arrow (↑) is commonly used in:

🔝 Scroll to top

Back-to-top buttons and fixed navigation that returns users to the page header.

📜 Navigation

Indicate upward movement in menus, breadcrumbs, and site navigation.

📊 Sort ascending

Display sort ascending in table headers and data grids.

📋 Step-by-step

Guide users through sequential steps or vertical flows from bottom to top.

⌨ Keyboard shortcuts

Represent the up arrow key in shortcut documentation.

🎨 UI & iconography

Buttons, call-to-action elements, and design systems that need upward direction cues.

💡 Best Practices

Do

  • Use &uarr; for readable markup, or &#x2191; / &#8593;
  • Add aria-label when the arrow conveys meaning (e.g. scroll to top, sort ascending)
  • Pair arrows with labels in forms and sortable table headers
  • Use \2191 in CSS ::before / ::after for scroll-to-top icons
  • Serve pages with UTF-8 (<meta charset="utf-8">)

Don’t

  • Confuse &uarr; (↑) with ▴ (up-pointing triangle)
  • Confuse ↑ with ↓ (&darr;, down arrow)
  • Put CSS escape \2191 in HTML text nodes
  • Rely on the symbol alone without context in accessibility-critical UIs
  • Assume decorative fonts include all Arrows glyphs

Key Takeaways

1

Named entity available: &uarr;

&#x2191; &#8593;
2

For CSS stylesheets, use the escape in the content property

\2191
3

Unicode U+2191 UPWARDS ARROW

4

Down arrow: ↓ via &darr; (U+2193)

5

Four methods, one glyph — widely supported in modern browsers

❓ Frequently Asked Questions

Use &#x2191; (hex), &#8593; (decimal), &uarr; (named entity), or \2191 in CSS content. All produce ↑.
U+2191 (UPWARDS ARROW). Arrows block (U+2190–U+21FF). Hex 2191, decimal 8593.
In scroll-to-top buttons, navigation cues, sort ascending indicators, step-by-step instructions, keyboard shortcut documentation, accordions, and any UI that needs an upward direction cue.
&uarr; is easier to read in source than &#8593; or &#x2191;, but all produce ↑. The named entity is part of the HTML5 entity set for arrows.
HTML references (&#8593;, &#x2191;, or &uarr;) go in markup. The CSS escape \2191 is used in stylesheets, typically in the content property of pseudo-elements.
The Up Arrow (↑) is part of the standard HTML entity set for common mathematical and directional symbols. Named entities like &uarr; are reserved for frequently used characters, making them more convenient than numeric-only arrow variants.

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