Convert text into named, decimal, or hexadecimal HTML entities and decode encoded HTML back to plain text.
| Character | Name | Named Entity | Decimal | Hex |
|---|---|---|---|---|
| & | Ampersand | & | & | & |
| < | Less than | < | < | < |
| > | Greater than | > | > | > |
| " | Double quote | " | " | " |
| ' | Single quote | ' | ' | ' |
| © | Copyright | © | © | © |
| ® | Registered | ® | ® | ® |
| Non-breaking space | |   |   |
An HTML entity is a piece of text ("string") that begins with an ampersand (&) and ends with a semicolon (;). Entities are frequently used to display reserved characters (which would otherwise be parsed as HTML markup) or invisible characters (like non-breaking spaces).
Encoding user-supplied input into HTML entities prevents Cross-Site Scripting (XSS) attacks by guaranteeing that browsers treat tags like <script> strictly as text rather than executable markup.
© or €.©.©.Log in to share your feedback on this tool.