Long Rightwards Arrow HTML entity ⟶

⟶ is the HTML entity for Long Rightwards Arrow ⟶ (U+27F6). Copy ⟶, ⟶ and the CSS, JavaScript, Python and URL escapes.

Entity
⟶
Also written
⟶ ⟶
Code point
U+27F6
Unicode name
LONG RIGHTWARDS ARROW
Block
Supplemental Arrows-A
Category
Math symbol (Sm)
Since
Unicode 3.2
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.
CSScontent: "\27F6";In a stylesheet, for ::before and ::after.
JavaScript"\u27F6"Also valid in JSON.
Python"\u27f6"Python 3 string literal.
Python by name"\N{LONG RIGHTWARDS ARROW}"Readable alternative using the Unicode name.
URL%E2%9F%B6Percent-encoded UTF-8 bytes, for a path or query value.
UTF-8 bytesE2 9F B63 bytes.
UTF-1627F61 code unit, which is what JavaScript length counts.

When to use it

⟶ writes U+27F6 (Long Rightwards Arrow), a maths symbol from the Unicode Supplemental Arrows-A block, encoded since Unicode 3.2. 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.

More arrows

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).