Yen Sign

¥

Shortcodes

Copy useful codes for yen sign ¥ to use in websites, apps, blogs, and docs.

Unicode
U+00A5
Alt Code
165
HTML Code
¥
HTML Entity
¥
HEX Code
¥
CSS Code
\00A5
JS/JSON
\u00A5
Unix/C/PHP/JAVA
0xA5
URL-encode
%C2%A5

Customize Yen Sign

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

¥
  

How to use Yen Sign in HTML, CSS, and JS

Insert in HTML

1. Direct symbol:
<span>¥</span>
HTML Code:
<span>&#165;</span>
HTML Entity:
<span>&yen;</span>
HEX Code:
<span>&#x00A5;</span>

Add with CSS

.yen-sign::before {
  content: '\\00A5';
}

Set it in JavaScript

document.querySelector('.yen-sign').textContent = '¥';
copied