Encode and decode HTML entities instantly
Input
Output
Result will appear here
Examples
Common HTML Entities
| Character | Entity | Decimal | Description |
|---|---|---|---|
| & | & | & | Ampersand |
| < | < | < | Less than |
| > | > | > | Greater than |
| " | " | " | Double quote |
| ' | ' | ' | Single quote |
| © | © | © | Copyright |
| ® | ® | ® | Registered |
| ™ | ™ | ™ | Trademark |
| € | € | € | Euro sign |
| £ | £ | £ | Pound sign |
| ° | ° | ° | Degree sign |
| × | × | × | Multiplication |
| ÷ | ÷ | ÷ | Division |
| ± | ± | ± | Plus/minus |
| … | … | … | Ellipsis |
| – | – | – | En dash |
| — | — | — | Em dash |
| (nbsp) | |   | Non-breaking space |
| • | • | • | Bullet |
| → | → | → | Right arrow |
Safely encode special characters as HTML entities and decode them back. Use the encoder to prevent XSS when embedding user content, escape angle brackets and ampersands for display in HTML, or convert symbols like ©, ™, and € to portable named entities. The decoder reverses any valid HTML entity — named, decimal, or hex — back to plain text.
How to Use
- 1Choose Encode or Decode mode
- 2For encoding, pick Essential (only &, <, >, ", '), Named (uses © style), or Hex (ÿ style)
- 3Paste your text or HTML into the input box
- 4The result updates instantly — click Copy to grab it
- 5Use Swap to flip the output back into the input and continue