Escaped JSON
INPUT{\"name\":\"John\",\"age\":30}OUTPUT{
"name": "John",
"age": 30
}Unescape JSON online to turn escaped quotes, line breaks, and Unicode characters into readable JSON or text. Your data stays in your browser.
JSON unescaping turns escaped characters back into readable text. For example, it can restore quotation marks, line breaks, and Unicode characters. You might find escaped JSON in API responses, logs, or JavaScript strings.
If the result contains valid JSON, the tool formats it for easy reading. If it's plain text, you can copy it or download a .txt file. Your content stays in your browser.
Paste escaped JSON or choose a local .json or .txt file. Your input stays in your browser.
The tool restores escaped characters and formats the result when it contains valid JSON.
Copy your result or download it as a JSON or text file.
You can also format JSON, validate JSON, or minify JSON with our other browser-based tools.
Each escape sequence represents a character. The tool restores it without removing backslashes that belong in your data.
| Escaped input | Result | Meaning |
|---|---|---|
\" | " | Double quote |
\\ | \ | Backslash |
\n | New line | Line break |
\t | Tab | Tab character |
\r | Carriage return | Line ending |
\u4F60 | 你 | Unicode character |
\/ | / | Forward slash |
See how quotes, Unicode characters, line breaks, and double-escaped JSON are decoded. Choose an example to try it above.
{\"name\":\"John\",\"age\":30}OUTPUT{
"name": "John",
"age": 30
}"{\"id\":123,\"active\":true}"OUTPUT{
"id": 123,
"active": true
}\u4F60\u597DOUTPUT
你好
Hello\nWorldOUTPUT
Hello World
"\"{\\\"status\\\":\\\"ok\\\"}\""OUTPUT{
"status": "ok"
}| What changes? | Escape | Unescape |
|---|---|---|
| Direction | Turns JSON or text into an escaped JSON string | Turns escaped content into readable JSON or text |
| Quotes | Escapes quotes and special characters | Restores quotes and other escaped characters |
| Useful for | Embedding JSON in another JSON string | Reading API responses, logs, and escaped messages |
Some backslashes belong in the original data, such as a file path. Others may mean the text was escaped more than once. If the result still looks escaped, try Decode again.
Unescaping can produce plain text instead of a JSON document. That's normal for messages and other text. If you expected JSON, check the original input with JSON Validator.
Check for missing quotation marks, incomplete strings, or backslashes followed by unsupported characters. Correct the input and try again.
JSON unescaping turns escaped characters back into readable text, such as quotation marks and line breaks. If the result is valid JSON, this tool formats it for easier reading.
Paste escaped JSON or a quoted JSON string into the editor above, then click Unescape JSON. Copy the result or download it as a JSON or text file.
Paste your escaped JSON and click Unescape JSON. The tool restores escaped characters without removing every backslash. Backslashes that belong in the original data, such as those in file paths, are preserved when possible.
Yes. You can paste common escaped JSON objects without surrounding quotes. Fully quoted JSON strings work too.
Yes. It converts Unicode escapes such as \u4F60\u597D into readable characters such as 你好. It also supports escaped line breaks, tabs, quotes, and backslashes.
Decoding an escaped string doesn't always produce a JSON document. It might produce a message or other plain text. If you expected JSON, check your original data with JSON Validator.
Yes. The tool can automatically decode many double-escaped JSON strings. If the result still contains escaped text, click Decode again to try one more time.
No. Your text and selected files are processed in your browser. Their contents aren't uploaded to our servers.