Escape special characters to HTML entities or decode &, <, ' and numeric entities back to text. Free online HTML escape tool.
Escape special characters as HTML entities or decode entities back to text. Useful when embedding user content in HTML or reading escaped API output.
The five characters with special meaning in HTML: & < > " and '. With the non-ASCII option, characters like é or 한 become &#x…; entities.
All numeric entities (', 😀) and common named ones such as &, , © and —. Unknown names are left as they are.
Escaping text before inserting it into HTML element content is one important step, but attributes, URLs and scripts need their own context-specific handling.