Guide
HTML escape and unescape online (browser-safe)
Encode text for HTML templates or decode entity strings from CMS and Power Automate output - privately on Tools by RS.
Published 2026-09-28

HTML entity encoding shows up everywhere: CMS fields, email builders, Power Automate steps, and hand-written templates. Escape turns reserved characters into entities; unescape recovers readable text when an export still shows ampersand codes.
Escape text for HTML
- Open HTML Escape and paste plain text with <, >, &, or quotes.
- Run Escape to produce entities safe for HTML text nodes.
- Copy the output into your template or ticket.
Unescape encoded snippets
When automation tools return < or ' literally, paste the string into HTML Unescape (decode-first) or run Unescape on HTML Escape. Numeric &#decimal; and &#xhex; references decode the same way as named entities.
Related encoders
- JSON string literals: JSON Escape.
- Query parameters: URL Encode.
- Markdown rendering: Markdown Preview (not entity encoding).
Try these tools
HTML Escape
Escape and unescape HTML entities in your browser - private encode/decode, no upload.
HTML Unescape
Decode HTML entities to plain text in your browser - named and numeric references, CMS and Power Automate friendly.
JSON Escape
Escape text into a JSON string literal, or unescape a JSON string back to raw text - instantly and offline.
URL Encode / Decode
Percent-encode text for URLs or decode encoded query strings - private and instant.
Frequently asked questions
Is HTML escape the same as sanitizing HTML?
No. Escaping entities does not remove scripts. Use a dedicated sanitizer for untrusted markup.
When should I use HTML Unescape instead of HTML Escape?
Use HTML Unescape when your primary job is decoding < or &#…; sequences from exports. Use HTML Escape when preparing text for templates.
More long-form writing may also appear on blog.rsroshi.dev.