Home·Special characters

¥ Special characters

Currency · U+00A5

UnicodeU+00A5 (165)
HTML entity¥
Named entity¥
CSScontent: "\00A5"
JavaScript"\u00A5"
URL encoded%C2%A5
UTF-8 size2 bytes
CategoryCurrency

Currency signs differ by country, and so does whether the sign goes before or after the number.

How to read this

  • A Unicode code point is a name tag unique to each character. Different fonts, same number — still the same character.
  • In HTML, the numeric form &#number; works everywhere. Named entities like ♥ read nicer but exist only for some characters.
  • In CSS, use a backslash and hexadecimal: content: "\2764".
  • If the character shows as a box, the copy did not fail — that font simply has no glyph for it. Another font will show it.

Frequently asked questions

Q. What is the Unicode code point of ¥?

U+00A5, which is 165 in decimal. Stored as UTF-8 it takes 2 bytes.

Q. How do I write ¥ in HTML?

Use ¥ and every browser shows the same character. The named form ¥ also works.

Q. How do I use ¥ in CSS or JavaScript?

In CSS, content: "\00A5". In JavaScript, "\u00A5". In a URL it becomes %C2%A5.

Q. What kind of character is ¥?

It belongs to the currency group. The rest of that group is listed further down this page, ready to copy.

Other characters in the same group