HTML Entity Encoder / Decoder
Encoding turns < > & quotes into HTML entities (e.g. <). Decoding makes entities readable again.
Encode and decode HTML characters
Characters like <, > and & have special meaning in HTML. To appear as text (without opening tags), they must be written as entities. The tool encodes and decodes both.
- Encoding: Turns control characters into safe entities – important to avoid display errors and XSS.
- Decoding: Translates entities (named and numeric) back into plain text.
- Use: Code examples in articles, email templates or XML data.
