U+00A5

Yen Sign

The yen sign also serves as the yuan sign in everyday use, which is why a search for the Chinese currency symbol often lands here. Reach for ¥ in prices, invoices and financial copy, where a plain keyboard falls short. It is cataloged at Unicode code point U+00A5 in the currency set, so it renders the same real text character in every app that supports the font, not a pasted image.

Yen Sign in every code representation: Unicode, HTML, CSS, JavaScript, UTF-8/UTF-16 and Windows alt code.
Symbol¥
UnicodeU+00A5
NameYen Sign
HTML (named)¥
HTML (decimal)¥
HTML (hex)¥
CSS content\00A5
JavaScript / JSON\u00A5
UTF-8 bytes0xC2 0xA5
UTF-16 units0x00A5
Windows alt codeAlt 0165

How do you type the yen sign on each platform?

Every way to type the yen sign ¥, by platform
WhereHow to type it
Any deviceClick the ¥ at the top of this page. It goes straight to your clipboard, and you paste it with Ctrl+V on Windows or Cmd+V on a Mac. This is the only method that behaves identically everywhere.
WindowsHold Alt and type 0165 on the numeric keypad, then release Alt. The number row above the letters does not work for this.
macOSAdd Unicode Hex Input under Keyboard settings, switch to it, then hold Option and type 00A5. Without that input source, open the Character Viewer with Control+Command+Space and search for yen sign.
Linux and ChromeOSPress Ctrl+Shift+U, type 00a5, then press Enter or the space bar. This works in GTK applications and with IBus.
Microsoft WordType 00A5 in the document, then press Alt and X together with the cursor immediately after the last digit. Word replaces the digits with ¥.
Google DocsInsert, then Special characters, then paste U+00A5 or type yen sign in the search box. You can also draw the shape in the sketch pad on the right.
Excel and Google SheetsUse the formula UNICHAR(165) in a cell. Copy the cell and paste it as a value if you want the character rather than the formula.
HTMLWrite ¥, or the numeric reference ¥, or ¥. On a page served as UTF-8 the character itself also works.
CSSUse content: "\00A5" inside a ::before or ::after rule. Terminate the escape with a space if the next character is also a hexadecimal digit.
JavaScriptThe escape \u00A5 produces this character inside a string literal, and the same escape is valid in JSON.

More detail per platform: Windows alt codes, special characters on a Mac, special characters in Word and HTML entities.

Frequently asked questions

How do I copy the yen sign symbol?

Click the ¥ above or the copy button and it is placed on your clipboard. Paste it anywhere with Ctrl+V or Cmd+V. It is a real text character, so it works in documents, chats and code.

What is the Unicode code point for yen sign?

The yen sign has the Unicode code point U+00A5. In HTML you can write it as ¥ or ¥, or with the named entity ¥.

What is the alt code for the yen sign symbol?

On Windows, hold the Alt key and type Alt 0165 on the numeric keypad, then release Alt. Copying the ¥ from this page is quicker and works on any device.

Can I use the yen sign symbol in HTML and CSS?

Yes. In HTML write ¥ or the named entity ¥, and in CSS use content: "\00A5" inside a ::before or ::after rule. The code table on this page has copy buttons for both.

Related symbols

Browse the full currency symbols hub, or return to the searchable symbol grid.