HTML Escape / Unescape
Escape raw HTML into safe entities, or decode escaped entities back to markup — instantly in your browser.
Result will appear here
Frequently Asked Questions
Why escape HTML characters?
Escaping characters like <, >, and & to their entity forms (<, >, &) prevents browsers from interpreting user text as markup, which is essential for safely displaying untrusted content.
Which characters does this escape?
The five standard HTML-unsafe characters: & < > " and ' — converted to & < > " and ' respectively.
Can I convert escaped entities back to raw text?
Yes — switch to "unescape" mode to decode <, >, &, ", and '/' back into their original characters.
Related free utility tools
- Cron ParserPaste a 5-field cron expression to get an instant plain-English schedule description.
- Social Media Username CheckerCheck if a username is available across 35+ platforms — GitHub, Instagram, TikTok, X, and more — at once.
- Domain Name CheckerCheck domain availability across 26 popular extensions — .com, .io, .ai, .dev, and more — using live WHOIS/RDAP lookups.
- Reverse LinesFlip the order of lines in any text — last line first, first line last — without touching the text within each line.
- Text CleanerTrim extra spaces, collapse repeated whitespace, remove blank lines, strip punctuation, or flatten to plain ASCII.
- HMAC GeneratorGenerate an HMAC-SHA256, HMAC-SHA1, or HMAC-SHA512 signature for any message and secret key, computed entirely in your browser.
Explore CodeSpeedTest