HTML Escape
Convert angle brackets, quotes and special characters to HTML entities.
Preparing your tool…
How do I use this?
- Paste plain text and click Escape.
- Review the result, then copy or download it as needed.
About this tool
Convert angle brackets, quotes and special characters to HTML entities.
Paste plain text and click Escape.
Output is suitable for HTML text, not URL, CSS or script security contexts.
Common questions
What should I know about html escape?
Output is suitable for HTML text, not URL, CSS or script security contexts.
Is my data uploaded?
No. Input and files stay in your browser. Save any results before leaving the page.
Tool content and files are processed in this browser. Save results before leaving; comment text is submitted to the server for review.
Tool discussion
0 user comments · 4 official tips
Different output contexts require different handling. This tool escapes HTML text; scripts, styles and URLs need their own rules.
Escaping existing entities also escapes their ampersands. Check the current data state to avoid double escaping.
Escaped entities are useful in source code and text content. Keep their trailing semicolons when copying.
Escape angle brackets, quotes and ampersands before displaying input as HTML text, so it is not interpreted as markup.