About this tool
Escape a raw string for JSON or turn an escaped string back into plain text, all in your browser.
Frequently asked questions
How does escaping work?
The text is run through JSON.stringify and the surrounding quotes are stripped, giving a JSON-safe string body.
What if unescaping fails?
Invalid escape sequences show an error message instead of producing broken output.