HTML Entity Converter
Escape special characters to HTML entities, or decode them back.
Worth Knowing
HTML entities let you display characters that would otherwise be interpreted as markup — the less-than sign must become < or the browser reads it as the start of a tag. Beyond the structural characters, entities also encode symbols hard to type directly, like © or —. Escaping user-supplied text into entities is a frontline defense against cross-site scripting, since it neutralizes any HTML a malicious user tries to inject by rendering it as visible text rather than live markup.
How to Use
- Choose your mode into the HTML Entity Converter above.
- Set any additional options: Text.
- The output updates instantly and is ready to copy.