Dev Tools
HTML Escape
Essential for XSS prevention. Encodes special characters for safe HTML display.
Esc Clear
Enter text to convert HTML characters
What does HTML Escape?
A tool to escape and unescape HTML special characters — converting between raw text and HTML entities.
How to use HTML Escape?
- Paste the HTML or text you want to process.
- Choose the direction: escape (text to entities) or unescape (entities to text).
- Copy the result.
Key features
- Escape and unescape HTML entities
- Instant real-time conversion
- No server — everything runs in the browser
Frequently asked questions
When do I need HTML escaping?
When displaying HTML code as text, protecting against XSS, or inserting user content inside HTML.
What is the difference between & and &?
& is the HTML entity for &. Browsers render & as & on screen, but they are different in source code.
Is this tool free?
Yes, this tool is completely free and requires no registration.
Is my data saved?
No. All calculations happen in your browser only — no data is sent to any server.