To escape HTML, paste text and select Escape — characters like < and & become entities so they display as text instead of being interpreted as markup. Unescape converts named and numeric entities back into characters.
How to use the HTML Escape / Unescape
-
1
Paste text
-
2
Escape or unescape
Optionally encode all non-ASCII characters.
-
3
Copy the result
Features
-
All entities
Decodes every named and numeric entity.
-
Safe decoding
Decoded markup is never executed.
Examples
<p>Tom & Jerry</p> ⇄ <p>Tom & Jerry</p>
Privacy and file handling
- Where it runs
- Runs in your browser
Runs entirely in your browser. Your files and text are not uploaded to our servers.
Frequently asked questions
When should I escape HTML?
When showing code examples on a web page, or inserting user text into HTML, so it displays literally instead of being rendered.
Was this tool helpful?
Thanks for the feedback.
Last reviewed