Escape Unescape Tools
Escape and unescape strings for JSON, HTML, URL and more.
Mode
Input
53
Characters
1
Lines
93
Output chars
Result
<a href="/docs?a=1&b=2">Hello "world" — it's fine</a>
Good to know
- HTML escaping prevents markup injection when printing user text.
- URL mode uses encodeURIComponent — safe for query values.
- JSON mode returns the inner string body without wrapping quotes.
- Switch direction to reverse any transformation.