How it works
How to use the JSON Escape / Unescape
Paste text
Any text, including JSON you want to embed as a string value.
Escape or unescape
Quotes, backslashes, newlines, tabs and control characters are converted to their JSON escape sequences — or back.
Copy the result
Unescaped JSON is pretty-printed automatically when possible.
JSON escape sequences
Inside a JSON string, " and \ must be escaped as \" and \\, and control characters as \n, \r, \t, \b, \f or \uXXXX. A common case is "double-encoded" JSON found in logs and message queues — paste it into Unescape to get readable JSON back.
Built for developers
Why developers use it
Private by design
Runs 100% in your browser. Nothing you paste is uploaded, logged or stored on a server.
Instant results
Output updates as you type, with precise error locations when something is wrong.
Works offline
Once loaded, the tool keeps working without a connection. Install it as an app if you like.
Free, no sign-up
No accounts, no limits, no watermarks.
FAQ
Frequently asked questions
Should I include the surrounding quotes?
Include them when pasting a complete JSON string value; omit them when inserting into an existing string.
Does unescape accept strings without outer quotes?
Yes. Both "{\"a\":1}" and {\"a\":1} are accepted.
Is my data uploaded anywhere?
No. This tool runs entirely in your browser. Your input never leaves your device, is not logged, and works offline once the page has loaded.
Keep going
Related tools
- C# Escape / UnescapeEscape text for C# string literals
- HTML EscapeEscape text for HTML
- XML EscapeEscape text for XML
- XML UnescapeUnescape XML back to text
- HTML UnescapeUnescape HTML back to text
- JavaScript EscapeEscape text for JavaScript
- JSON UnescapeUnescape a JSON string
- JSON FormatterFormat, validate and explore JSON