HTML Entity Encoder
Escape and unescape HTML entities.
Result
The result will appear here.
About the HTML Entity Encoder
Escape and unescape HTML entities so reserved characters render safely in markup. Converts characters like <, > and & to entities (and back) — useful when displaying code or user input in HTML.
How to use it
- 1Paste text to escape, or entities to unescape.
- 2Switch direction as needed.
- 3Copy the result into your markup.
Frequently asked questions
- Why escape HTML entities?
- Escaping reserved characters prevents them from being interpreted as markup, which avoids broken layout and cross-site scripting (XSS).
Advertisement