HTML Entity Encoder/Decoder Online | HTML Special Character Tool
Online HTML entity encoding and decoding tool. Convert special characters to HTML entities and vice versa. Support named, decimal, and hexadecimal entity formats.
HTML Encode/Decode
Instructions
- Encode: Convert special characters to HTML entities (e.g. < becomes <)
- Decode: Convert HTML entities back to characters
- Supports named entities, decimal, and hexadecimal formats
Common HTML Entities Reference
| Char | Named | Decimal | Hex | Description |
|---|---|---|---|---|
| < | < | < | < | Less Than |
| > | > | > | > | Greater Than |
| & | & | & | & | Ampersand |
| " | " | " | " | Double Quote |
| ' | ' | ' | ' | Single Quote |
| |   |   | Non-breaking Space | |
| © | © | © | © | Copyright |
| ® | ® | ® | ® | Registered Symbol |
| ™ | ™ | ™ | ™ | Trademark |
| € | € | € | € | Euro Sign |
HTML Entities Knowledge
What is HTML Entities?
HTML entities are pieces of text that begin with an ampersand (&) and end with a semicolon (;). They are used to display reserved characters (which would otherwise be interpreted as HTML code) and invisible characters.
Common Entities
< (<), > (>), & (&), " ("), ' ('), Space ( )
Key Features
- Prevents XSS attacks by escaping user input
- Displays characters not present in standard keyboard
- Ensures correct rendering of reserved characters
Common Applications
- Web development and debugging
- Content management systems
- Data sanitization
- Email template creation