How to Use String Escape / Unescape
Escape special characters for JSON, JavaScript, HTML, URLs or generic backslash sequences — and reverse it — in one tool.
Open the String Escape / Unescape tool →What is String Escape / Unescape?
Escape or unescape strings for JSON, JavaScript, HTML, URL or backslash. It's completely free, needs no sign-up, and runs entirely in your browser — so it's fast and private.
How to use String Escape / Unescape
- Open the String Escape / Unescape tool.
- Paste or type your input.
- Set any options provided.
- Copy the result. Everything runs in your browser — nothing is 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.
Ready to try it?
Open String Escape / Unescape →