JSON String Escape — free online tool
You're putting some text into a JSON file or an API call, and it breaks. There's a quote, a line break, or a backslash in the wrong place, and suddenly nothing works. Doing it by hand is fiddly and easy to get wrong. We added a free tool that does it — JSON String Escape — right in your browser.
What it does
It escapes any text into a valid, quoted JSON string value, so quotes, backslashes, and line breaks are handled correctly. It also goes the other way: paste an escaped JSON string and it unescapes it back to plain, readable text.
Nothing leaves your device
The whole thing runs in your browser. Your text is never uploaded to a server and nothing is saved. Once you close the page, it's gone — so even private text is safe to paste.
How to use it
- Open JSON String Escape and paste your text into the box.
- Pick the direction — escape into a JSON string, or unescape back to plain text.
- Copy the result and drop it straight into your file or request.
It's free with no limit. There are more small tools on the Apps page.