🏷️ HTML Escape / Unescape
Convert special HTML characters to entities and back.
Input & Output
Sponsored
How it works
How it works
- Escapes the five special characters in HTML text:
& < > " '→& < > " '. - Unescape reverses those entities back to literal characters.
- Escaping is not the same as sanitizing. This tool does not remove unsafe tags/attributes or prevent XSS.
- URL encoding (
%HH) is different and handled by the URL Encoder tool.
Privacy & Security
All text stays local, no network calls.
Sponsored
Accuracy, Limits & Tips
Only basic five entities supported; not a full HTML sanitizer.
Examples
- Escape code samples before embedding.
- Unescape entity-laden snippets.
Related tools
Sponsored
You may also like
Looking for broader guides and best practices? Visit the ToolsAreUs Blog for indexes (like the full tool list) and articles (e.g. secure password generation).