HTML Escape / Unescape
Escape HTML entities for safe display or decode entity-encoded snippets back to readable markup.
About HTML Escape / Unescape
HTML escaping converts characters such as <, >, &, quotes, and apostrophes into entities that can be displayed safely as text. This prevents markup from being interpreted as real HTML when you want to show code examples, snippets, templates, or user-generated text.
This tool is useful for documentation, CMS content, email templates, code tutorials, frontend testing, and debugging encoded strings. It can also unescape entity-encoded text back into readable markup when you need to inspect what a system stored or returned.
Escaping is not the same as full sanitization. If you accept untrusted HTML, use a trusted sanitizer and framework-level escaping rules. This tool helps with practical encoding and decoding tasks.
Learn the Workflow
Regex Cheat Sheet for JavaScript Developers
A practical JavaScript regex cheat sheet with anchors, groups, quantifiers, character classes and testing advice.
Markdown Syntax Guide for Documentation
A practical Markdown syntax guide for headings, lists, code blocks, links and documentation publishing.
Related Workflow Kits
Search Tags
Frequently Asked Questions
It prevents special characters from being interpreted as HTML markup when displayed as text.