← Back to tools
HTML Entity Encoder & Decoder
Encode special characters as HTML entities or decode entities back to text. Fast, private, and free.
Encode mode:Only encodes & < > " ' (safe for HTML content)
Common HTML Entities
| Character | Named | Numeric | Description |
|---|---|---|---|
| & | & | & | Ampersand |
| < | < | < | Less than |
| > | > | > | Greater than |
| " | " | " | Double quote |
| ' | ' | ' | Single quote |
| ␣ | |   | Non-breaking space |
| © | © | © | Copyright |
| ® | ® | ® | Registered trademark |
| ™ | ™ | ™ | Trademark |
| € | € | € | Euro sign |
| £ | £ | £ | Pound sign |
| — | — | — | Em dash |
| – | – | – | En dash |
| … | … | … | Ellipsis |
| ° | ° | ° | Degree |
| × | × | × | Multiply |
| ÷ | ÷ | ÷ | Divide |
| → | → | → | Right arrow |
Quick Reference
Minimal mode encodes only the 5 characters that are special in HTML/XML: & < > " '. Use this when your text contains HTML tags or attributes.
All Characters mode also encodes every non-ASCII character (accented letters, symbols, emoji) using named entities where available, or numeric codes. Use this when you need pure ASCII output.
Decoding recognizes named entities (&), decimal codes (©), and hex codes (©).