Rightwards Arrow

Shortcodes

Copy useful codes for rightwards arrow symbol → to use in websites, apps, blogs, and docs.

Unicode
U+2192
Alt Code
26
HTML Code
→
HTML Entity
→
HEX Code
→
CSS Code
\2192
JS/JSON
\u2192
Unix/C/PHP/JAVA
0x2192
URL-encode
%E2%86%92

Customize Rightwards Arrow

Customize →, download it as SVG or PNG, or copy the generated HTML snippet.

  

How to use Rightwards Arrow Symbol in HTML, CSS, and JS

Insert in HTML

1. Direct symbol:
<span>→</span>
HTML Code:
<span>&#8594;</span>
HTML Entity:
<span>&rarr;</span>
HEX Code:
<span>&#x2192;</span>

Add with CSS

.rightwards-arrow::before {
  content: '\\2192';
}

Set it in JavaScript

document.querySelector('.rightwards-arrow').textContent = '→';
copied