JSON Escape and Unescape
Escape text so it can sit inside a JSON string (quotes, backslashes, new lines, tabs), or unescape a JSON string back to plain text.
Free · No upload · 100% on your device
How to use JSON Escape and Unescape
- Type or paste your code or data.
- Choose the settings in the side panel. The result updates as you type.
- Copy the result or download it as a file.
Private by design. Everything you type, open or record is processed in this browser tab and is never uploaded to KittySuite.
About JSON Escape and Unescape
Escaping uses the same rules as JSON.stringify, so the result is always valid JSON. Unescaping accepts the string with or without its surrounding quotes. Turn on ASCII-only output to write every non-ASCII character as \uXXXX.
Everything runs in this browser tab: your text is never uploaded or stored, and the result updates as you type. It keeps working offline once the page has loaded.
JSON Escape and Unescape: frequently asked questions
How do I escape text for a JSON string?
Choose Escape and paste the text. Quotes, backslashes, new lines and tabs are escaped with the same rules as JSON.stringify.
How do I unescape a JSON string?
Choose Unescape and paste it, with or without the surrounding quotes.
Can I get ASCII-only output?
Yes. Turn on ASCII only to write every non-ASCII character as \uXXXX.
Is the result valid JSON?
Yes. Turn on “Wrap in quotes” for a complete JSON string value.