UtilityGrid
🔍
\\

String Escape / Unescape

Escape special characters for JSON, JavaScript, HTML, URLs or generic backslash sequences — and reverse it — in one tool.

Input
Output

🔒 This tool runs entirely in your browser. Your data is never uploaded.

Frequently asked questions

Which escape formats are supported?

JSON, JavaScript, HTML, URL and backslash escaping, plus the reverse (unescape) for each.

When would I use this?

When embedding a string into code or markup — for example escaping quotes and newlines so text pastes safely into a JSON or JavaScript literal.

Is my text sent anywhere?

No — it's processed locally in your browser.

Related Developer Tools

Explore more categories