HTML Entities Encoder and Decoder
Turn symbols and accented letters into HTML entities, or decode entities back to text.
Common HTML entities
| Character | Named | Decimal | Hex | Name |
|---|---|---|---|---|
| & | & | & | & | Ampersand |
| < | < | < | < | Less than |
| > | > | > | > | Greater than |
| " | " | " | " | Double quote |
| ' | ' | ' | ' | Single quote |
| (space) | |   |   | Non-breaking space |
| © | © | © | © | Copyright |
| ® | ® | ® | ® | Registered |
| ™ | ™ | ™ | ™ | Trademark |
| € | € | € | € | Euro |
| £ | £ | £ | £ | Pound |
| ¥ | ¥ | ¥ | ¥ | Yen |
| ° | ° | ° | ° | Degree |
| ± | ± | ± | ± | Plus or minus |
| × | × | × | × | Multiply |
| ÷ | ÷ | ÷ | ÷ | Divide |
| … | … | … | … | Ellipsis |
| • | • | • | • | Bullet |
| → | → | → | → | Right arrow |
| é | é | é | é | e with acute accent |
How HTML Entities Encoder and Decoder works
Turns symbols, accented letters and other non-ASCII characters into HTML entities, or decodes entities back to text. Pick Encode or Decode with the switch. Output updates as you type.
Encode changes every character outside plain ASCII, plus & < > " and '. Plain letters, digits and spaces stay as they are. The Format option picks the style: Named (é) when a name is known, Decimal (é) or Hex (é). In Named format, characters with no name fall back to decimal. A table of common entities is shown under the tool.
Input to HTML Entities Encoder and Decoder
- Paste or type text into the input box, or upload a .html, .htm or .txt file.
- To decode, give text with named, decimal or hex entities. All HTML5 entity names are known.
- Entities that do not exist are left as they are.
Output from HTML Entities Encoder and Decoder
- Encoded text where each special character is an entity, like © or ©.
- In Decode mode, plain text with real characters like ©, é and €.
- Copy it, download it as encoded.html or decoded.txt, or open it in full screen.
- For only the 5 special HTML characters, use HTML Escape instead.