HTML Currency Entities

What You'll Learn
HTML currency entities are character references for money symbols: US dollar, cent, pound sterling, generic currency, yen or yuan, euro, and regional currencies such as the Indian rupee, Russian ruble, Korean won, and Thai baht. Named entities like € and £ are easy to read; numeric ₹ / ₹ cover symbols without a short HTML5 name.
Use the Quick Reference table to copy exact codes (including ¥ for yen or yuan). For broader non-currency symbol lists, see HTML symbol entities; for escaping & in markup, see Ampersand; for everything else, browse the full HTML entities index.
⚡ Quick Reference — HTML Currency Entities
Filter by symbol, Unicode (e.g. U+20AC), hex, decimal, or entity name.
| Symbol | Unicode | Hex code | HTML code | HTML entity |
|---|---|---|---|---|
| $ | U+0024 | $ | $ | $ |
| ¢ | U+00A2 | ¢ | ¢ | ¢ |
| £ | U+00A3 | £ | £ | £ |
| ¤ | U+00A4 | ¤ | ¤ | ¤ |
| ¥ | U+00A5 | ¥ | ¥ | ¥ |
| € | U+20AC | € | € | € |
| ₹ | U+20B9 | ₹ | ₹ | - |
| ₽ | U+20BD | ₽ | ₽ | - |
| ₩ | U+20A9 | ₩ | ₩ | - |
| ฿ | U+0E3F | ฿ | ฿ | - |
Complete HTML Example
Named entities for major Western symbols, a rupee via hex, and a euro injected with CSS content:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style>
.currency-css::after {
content: "\20AC";
}
</style>
</head>
<body>
<p>Dollar: $ | Cent: ¢ | Pound: £</p>
<p>Euro: € | Yen: ¥ | Generic: ¤</p>
<p>Rupee: ₹ | Ruble: ₽</p>
<p>Euro via CSS: <span class="currency-css"></span></p>
</body>
</html>🌐 Browser Support
Named and numeric character references for these currency code points work in all modern browsers with UTF-8 documents:
👀 Live Preview
Currency glyphs from character references (amounts are examples only):
🧠 How It Works
Named entities
When HTML defines a name (for example €, £), browsers decode it to the currency glyph in text.
Hexadecimal and decimal
Every symbol has one Unicode scalar value. Use € or € for the euro, and the table entries for rupee, ruble, won, and baht.
CSS content
Pseudo-elements can show a currency mark with escapes such as \20AC inside content when the design calls for a style-driven icon.
Same visual result
Valid references for one code point look identical; align formatting (spacing, separators) with your locale rules, not only the glyph.
Use Cases
HTML currency entities are commonly used for:
Product cards, cart lines, and checkout summaries that must render prices in multiple regions.
Switching currency marks alongside number formatting and translated labels.
Printable HTML templates where explicit character references keep encodings predictable.
Tables and KPI tiles that pair amounts with the correct regional currency symbol.
Tutorials and API docs that show literal examples of HTML-safe currency markup.
Combine symbols with visible currency codes (ISO 4217) or clear text so assistive technologies convey both amount and currency.
💡 Best Practices
Do
- Use UTF-8 and
<meta charset="utf-8"> - Prefer named entities when the table lists them
- Store amounts numerically and format in the UI layer
- Pair symbols with ISO currency codes where precision matters
- Copy hex or decimal from the table for rupee, ruble, won, and baht
Don’t
- Encode prices only as styled text without a machine-readable value
- Assume
¥always means the same legal tender in every locale - Mix multiple reference styles arbitrarily in one price string
- Rely on a symbol alone for compliance-critical tax or legal text
- Forget to test fonts for rare currency glyphs in data-heavy tables
Key Takeaways
Major Western currencies have short named entities in HTML5
€ £ ¥Rupee, ruble, won, and baht use numeric references from the table
₹ ₽CSS can inject the same code points via content escapes
\20ACLocale rules control separators; entities only supply the glyph
Browse the full entity index for more symbols
❓ Frequently Asked Questions
€ and $, or numeric € / €. All valid forms for one code point render the same character.$, ¢, £, ¤, ¥, and € cover many Western layouts. Use the table for rupee, ruble, won, and baht.content on ::before or ::after. Pick HTML for readable prose and CSS when the design injects the glyph from a stylesheet.₹ (₹) and ₽ (₽), or decimal ₹ and ₽. There is no standard short named entity for these in HTML5.Explore More HTML Entities!
Discover 1500+ HTML character references — math operators, arrows, emojis, and more.
8 people found this page helpful
