HTML Currency Entities

Beginner
6 min read
Updated: Sep 2026
1 example
Currency symbols

What Are HTML Currency Entities?

HTML currency entities are character references for money symbols — dollar, cent, pound, euro, yen, generic currency, and regional marks such as rupee, ruble, won, and baht.

Remember
Named (common)  $ ¢ £ ¤ ¥ €
Numeric         ₹ (₹) · ₽ (₽) · ₩ (₩) · ฿ (฿)
CSS escape      \24 · \A2 · \A3 · \A4 · \A5 · \20AC
Prefer UTF-8    type the glyph when the whole toolchain is Unicode-safe

Prefer named forms when HTML defines them; use hex or decimal when there is no short name. For the generic placeholder alone, see Currency Sign (¤).

Quick Reference

Search by symbol, Unicode, hex, decimal, or entity name.

SymbolUnicodeHex codeHTML codeHTML entity
$U+0024$$$
¢U+00A2¢¢¢
£U+00A3£££
¤U+00A4¤¤¤
¥U+00A5¥¥¥
€U+20AC€€€
₹U+20B9₹₹-
₽U+20BD₽₽-
₩U+20A9₩₩-
฿U+0E3F฿฿-

When to Use Which

SituationUse
Dollar, cent, pound, euro, yen$, ¢, £, €, ¥
Generic currency placeholder¤ or U+00A4
Rupee / ruble / won / baht₹, ₽, ₩, ฿
UTF-8 page, hand-written HTMLType the glyph directly when safe
Generated text via ::before / ::aftercontent: "\20AC" (example: euro)

Live Preview

Currency glyphs from character references (amounts are examples only).

Western set $19.99 · €12,50 · £9.00
Asia ¥500 · ₹1,499 · ₩10,000
Large type € £ ₽
Monospace TOTAL $42.00
Thai baht ฿199

Complete HTML Example

One page that shows named currency entities, numeric forms for rupee and ruble, and a CSS euro escape. Use View Output or open the live editor.

Named + Numeric + CSS

Common Western names, Asian numeric references, and a stylesheet-injected euro.

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>HTML Currency Entities</title>
  <style>
    #point::after {
      content: "\20AC";
    }
  </style>
</head>
<body>
  <p>Dollar: &dollar; | Cent: &cent; | Pound: &pound;</p>
  <p>Euro: &euro; | Yen: &yen; | Generic: &curren;</p>
  <p>Rupee: &#x20B9; | Ruble: &#x20BD;</p>
  <p id="point">Euro via CSS: </p>
</body>
</html>
Try It Yourself

How It Works

1. Named: &dollar;, &cent;, &pound;, &euro;, &yen;, and &curren; are HTML named references for common currency glyphs.

2. Numeric: rupee and ruble use hex forms &#x20B9; and &#x20BD; because HTML5 has no short named entity for them.

3. CSS: \20AC in content injects the euro (U+20AC). Escapes belong in stylesheets, not as HTML entities.

4. Same glyph: named, hex, decimal, CSS, and typed UTF-8 all resolve to the same Unicode character when the code point matches.

Pitfalls & Tips

Common mistakes when working with currency entities.

Named

Prefer names when available

&euro; and &pound; are clearer than numeric forms. Use the table for symbols without a short HTML5 name.

Yen

&yen; ≠ always JPY

U+00A5 is shared by yen and yuan. Add ISO codes (JPY / CNY) when the legal tender matters.

Locale

Glyph ≠ formatting

Entities only supply the symbol. Separators, decimals, and symbol placement follow locale rules.

A11y

Pair with clear currency text

For critical amounts, include an ISO 4217 code or visible label so assistive tech conveys both amount and currency.

CSS vs HTML

Do not mix escapes

\20AC belongs in CSS. &euro; / &#x20AC; belong in HTML.

Semicolon

End references

Always finish with ; — write &euro; and &#8377;, not bare forms.

Browser Support

Named and numeric currency character references work in all mainstream browsers with UTF-8 documents. Visible glyphs depend on font coverage for less common marks.

✓ Universal support

HTML Currency Entities

Encode with named, hex, decimal, CSS escape, or type the character — same code point everywhere encoding is supported.

100% Browser coverage
Google Chrome Supported
Yes
Microsoft Edge Supported
Yes
Mozilla Firefox Supported
Yes
Apple Safari Supported
Yes
Opera Supported
Yes
Internet Explorer All versions
Yes
Currency entities Full support

Bottom line: Prefer named entities when listed. Use numeric forms for rupee, ruble, won, and baht. Use CSS escapes only inside content.

Key Takeaways

  • Named: &dollar;, &cent;, &pound;, &curren;, &yen;, &euro;.
  • Numeric: rupee &#x20B9;, ruble &#x20BD;, won &#x20A9;, baht &#x0E3F;.
  • CSS: use escapes such as \20AC inside content for generated text.
  • Watch out: glyph ≠ locale formatting; pair with ISO codes when precision matters.

One line: named when available → numeric from the table → CSS escape only in content.

Frequently Asked Questions

Use named references such as &euro; and &dollar;, or numeric forms like &#x20AC; / &#8364;. All valid forms for one code point render the same character.
&dollar;, &cent;, &pound;, &curren;, &yen;, and &euro; cover many Western layouts. Use hex/decimal from the Quick Reference table for rupee, ruble, won, and baht.
When you want ASCII-safe source, generated markup, or explicit documentation of the code point. UTF-8 paste is fine when your editor, server, and headers all agree on Unicode.
HTML entities go in markup. CSS uses backslash hex in content on ::before/::after (for example \20AC for euro). Pick HTML for body text and CSS when the design injects the glyph.
Use &#x20B9; (₹) and &#x20BD; (₽), or decimal &#8377; and &#8381;. There is no standard short named entity for these in HTML5.
U+00A5 is shared by yen and yuan in Unicode. Prefer ISO 4217 codes (JPY, CNY) or clear labels when the legal tender matters.

Did you know?

Common Western currencies have short HTML5 names — &dollar;, &cent;, &pound;, &curren;, &yen;, &euro;. Symbols such as Indian rupee (₹ / U+20B9) and Russian ruble (₽ / U+20BD) use numeric references. Entities supply the glyph; locale rules still control separators and placement.

Next: Currency Sign

Learn the HTML entity for the generic currency sign (U+00A4).

Currency Sign tutorial →

About the author

Mari Selvan M P
Mari Selvan M P 🔗

Developer, cloud engineer, and technical writer

  • Experience 12 years building web and cloud systems
  • Focus Full Stack Development, AWS, and Developer Education

I write practical tutorials so students and working developers can learn by doing—from databases and APIs to deployment on AWS.

8 people found this page helpful