JSON Escape / Unescape
Escape text for use inside a JSON string (quotes, backslashes, newlines, tabs) or unescape it back. Free and private: runs in your browser.
Paste text to get a JSON-safe string, or switch to unescape.
Runs entirely in your browser. Nothing you paste is uploaded or stored.
Use cases
- Answer a quick question without leaving the browser.
- Debug web and API behaviour faster.
- Share a precise result with a teammate.
Frequently asked questions
Which characters must be escaped in JSON?
Double quotes, backslashes and control characters (newline, tab, etc.). Forward slashes may be escaped but do not have to be.
Is the JSON Escape / Unescape free?
Yes. It is free with no sign-up, and it runs entirely in your browser, so your input is never uploaded or stored.
Do I need an account?
No. The tool is free, needs no sign-up and runs in your browser.
Related tools
Checking one snippet is a start. Scan your whole repository for free with CodeInspector.