More
More
Up Down Arrow HTML entity ↕
↕ is the HTML entity for Up Down Arrow ↕ (U+2195). Copy the decimal ↕ and hex ↕ codes plus CSS, JavaScript, Python and URL escapes.
- Entity
↕- Also written
↕↕- Code point
- U+2195
- Unicode name
- UP DOWN ARROW
- Block
- Arrows
- Category
- Other symbol (So)
- Since
- Unicode 1.1
- Defined in
- HTML5
Codes to copy
| HTML named | ↕Works in HTML; in XML only & < > " ' are predefined. | |
|---|---|---|
| HTML decimal | ↕Works in HTML and XML. | |
| HTML hex | ↕Works in HTML and XML. | |
| CSS | content: "\2195";In a stylesheet, for ::before and ::after. | |
| JavaScript | "\u2195"Also valid in JSON. | |
| Python | "\u2195"Python 3 string literal. | |
| Python by name | "\N{UP DOWN ARROW}"Readable alternative using the Unicode name. | |
| URL | %E2%86%95Percent-encoded UTF-8 bytes, for a path or query value. | |
| UTF-8 bytes | E2 86 953 bytes. | |
| UTF-16 | 21951 code unit, which is what JavaScript length counts. |
When to use it
↕ writes U+2195 (Up Down Arrow), a symbol from the Unicode Arrows block, encoded since Unicode 1.1. Arrow shapes vary a lot between fonts; when an arrow is the only content of a link or button, give it a text label as well.
The name comes from the HTML5 list (much of it shared with MathML), so it works in every current browser but not in XML or XHTML served as XML, where the numeric reference is the safe choice.
This character also has an emoji form: ↕️ Up-down Arrow. Add U+FE0F after it for the emoji style or U+FE0E for the text style.
More arrows
↗North East Arrow↓Down Arrow↘South East Arrow→Right Arrow↙South West Arrow↑Up Arrow↚Leftwards Arrow with Stroke←Left Arrow
All arrows · Every HTML entity · Encode or decode text
Source: the WHATWG HTML Standard list of named character references and the Unicode Character Database (Unicode 18.0).