~ $ devkit:html-entities
HTML Entities
Escape HTML-sensitive characters to prevent broken markup or injection, or unescape entity-encoded text back to plain text.
Input
Output
How to use HTML Entities
- Paste text containing HTML-sensitive characters or encoded entities.
- Choose Encode to escape characters, or Decode to convert entities back to text. Enable the non-ASCII option to encode Unicode characters as numeric entities.
Example
Text: <p>Café & tea</p> Encoded: <p>Café & tea</p> Numeric emoji: 😀 → 😀
Details and limitations
Decoded output remains plain text in this tool. HTML escaping is context-dependent: do not treat this converter as a sanitizer for untrusted HTML, JavaScript or CSS. Named entities should include their terminating semicolon.