About this tool
Log lines and API responses often contain text that has been serialised into a JSON string, so you see \n instead of line breaks and \" instead of quotes. Paste the string, with or without its surrounding quotes, and get the original text back. Invalid escape sequences are reported clearly. Parsing happens locally.
How to use JSON Unescape
- Paste the escaped string.
- Read the unescaped text on the right.
- Fix any escape sequence named in an error.
- Copy the result.
Frequently asked questions
Do I need to include the surrounding quotes?
No. Both "…" and the bare inside of the string are accepted.
My text was escaped twice. What now?
Copy the output back into the input and unescape it again.