HTML Entity for Euro Sign (€)

Beginner
⏱️ 5 min read
📚 Updated: Jun 2026
🎯 1 Code Example
Unicode U+20AC

What You'll Learn

How to display the Euro Sign (€) in HTML using hexadecimal, decimal, named entity, and CSS escape methods. This character is U+20AC (EURO SIGN) in the Currency Symbols block (U+20A0–U+20CF)—the official symbol for the Euro currency across the Eurozone and beyond.

Render it with €, €, the named entity €, or CSS escape \20AC. Do not confuse € with the legacy euro-currency sign (₠, ECU) or plain letter E.

⚡ Quick Reference — Euro Sign

Unicode U+20AC

Currency Symbols

Hex Code €

Hexadecimal reference

HTML Code €

Decimal reference

Named Entity €

Most readable for prices

Reference Table
Name           Value
────────────   ──────────
Unicode        U+20AC
Hex code       €
HTML code      €
Named entity   €
CSS code       \20AC
Meaning        Euro currency symbol
Related        U+20A0 = Euro-currency sign (₠, legacy ECU)
1

Complete HTML Example

This example demonstrates the Euro Sign (€) using hexadecimal code, decimal HTML code, the named entity, and a CSS content escape:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point:after{
   content: "\20AC";
  }
 </style>
</head>
<body>
<p>Euro Sign using Hexadecimal: &#x20AC;</p>
<p>Euro Sign using HTML Code: &#8364;</p>
<p>Euro Sign using HTML Entity: &euro;</p>
<p id="point">Euro Sign using CSS Entity: </p>
</body>
</html>
Try it Yourself

🌐 Browser Support

The Euro Sign entity is universally supported in modern browsers:

Chrome 1+
Firefox 1+
Safari 1+
Edge 12+
Opera 4+
Android 4.4+
iOS Safari 1+

👀 Live Preview

See the Euro sign (€) in a price context and compared with the euro-currency sign (₠):

Price 99,00 €
Large glyph
vs ECU sign &euro; €   vs   ₠
Entities &euro;
Numeric refs &#x20AC; &#8364; &euro;

🧠 How It Works

1

Hexadecimal Code

&#x20AC; uses the Unicode hexadecimal value 20AC to display the Euro Sign. The x prefix indicates hexadecimal format.

HTML markup
2

Decimal HTML Code

&#8364; uses the decimal Unicode value 8364 to display the same character.

HTML markup
3

Named Entity

&euro; is the semantic named entity for the Euro Sign—easiest to read in price and financial markup.

HTML markup
4

CSS Entity

\20AC is used in CSS stylesheets, particularly in the content property of pseudo-elements like ::before and ::after.

CSS stylesheet
=

Same visual result

All four methods produce the glyph: . Unicode U+20AC in the Currency Symbols block (U+20A0–U+20CF).

Use Cases

The Euro Sign (€) commonly appears in:

🛒 E-commerce

Product pages, carts, and checkout prices (e.g. 99,00 €).

🏦 Banking

Account balances, rates, and financial data in Euro.

📄 Invoices

Billing documents, receipts, and payment confirmations.

🇪🇺 EU markets

Landing pages and offers targeting European audiences.

💰 Multi-currency

Converters, comparison tables, and finance dashboards.

🌐 Symbol guides

Currency entity reference pages and glossaries.

💡 Best Practices

Do

  • Use &euro; for readable price markup (U+20AC)
  • Match symbol placement to locale (e.g. 99,00 € in many EU countries)
  • Serve pages with UTF-8 (<meta charset="utf-8">)
  • Add aria-label (e.g. “99 euros”) for accessibility
  • Use CSS content for reusable price components

Don’t

  • Confuse € (&euro;) with ₠ (euro-currency / ECU sign)
  • Substitute the letter E or EUR when the symbol is required
  • Put CSS escape \20AC in HTML text nodes
  • Assume every font renders € clearly at small sizes
  • Mix entity styles randomly in one file

Key Takeaways

1

Three HTML references plus CSS all render €

&#x20AC; &#8364; &euro;
2

For CSS stylesheets, use the escape in the content property

\20AC
3

Unicode U+20AC — EURO SIGN

4

&euro; is the standard named entity

5

Not the same as ₠ (legacy euro-currency sign)

❓ Frequently Asked Questions

Use &#x20AC; (hex), &#8364; (decimal), &euro; (named), or \20AC in CSS content. All produce €.
U+20AC (EURO SIGN). Currency Symbols block (U+20A0–U+20CF). Hex 20AC, decimal 8364. Official Euro currency symbol.
When displaying Euro prices, financial data, invoices, e-commerce checkout amounts, or any content for European markets requiring the standard Euro symbol.
&euro; renders € (U+20AC, modern Euro sign). ₠ (U+20A0) is the legacy euro-currency (ECU) sign with no named entity. Use € for everyday Euro prices.
HTML entities (&#8364;, &#x20AC;, or &euro;) go directly in markup. The CSS escape \20AC is used in stylesheets, typically in the content property of pseudo-elements. Same visual result, different layers of the stack.

Explore More HTML Entities!

Discover 1500+ HTML character references — currency symbols, finance, and more.

All HTML Entities →

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