More
More
Euro Sign HTML entity €
€ is the HTML entity for Euro Sign € (U+20AC). Copy the decimal € and hex € codes plus CSS, JavaScript, Python and URL escapes.
- Entity
€- Code point
- U+20AC
- Unicode name
- EURO SIGN
- Block
- Currency Symbols
- Category
- Currency symbol (Sc)
- Since
- Unicode 2.1
- Defined in
- HTML 4.01 and HTML5
Codes to copy
| HTML named | €Works in HTML; in XML only & < > " ' are predefined. | |
|---|---|---|
| HTML decimal | €Works in HTML and XML. | |
| HTML hex | €Works in HTML and XML. | |
| CSS | content: "\20AC";In a stylesheet, for ::before and ::after. | |
| JavaScript | "\u20AC"Also valid in JSON. | |
| Python | "\u20ac"Python 3 string literal. | |
| Python by name | "\N{EURO SIGN}"Readable alternative using the Unicode name. | |
| URL | %E2%82%ACPercent-encoded UTF-8 bytes, for a path or query value. | |
| UTF-8 bytes | E2 82 AC3 bytes. | |
| UTF-16 | 20AC1 code unit, which is what JavaScript length counts. |
When to use it
The euro sign, named since HTML 4. English places it before the amount (€10), while French, German and many other languages put it after with a space (10 €), ideally a no-break space so the sign never ends up alone on a line.
The name dates from HTML 4, so it works in every browser and in old email clients.
More currency
All currency · Every HTML entity · Encode or decode text
Source: the WHATWG HTML Standard list of named character references and the Unicode Character Database (Unicode 18.0).