JSON Unescape String
Paste a JSON-escaped string and see the real text, with line breaks, quotes and accented letters restored. Done in your browser, so private text is never uploaded.
- Free, every time
- No cloud processing
- Quotes optional
- Decodes \u codes
- Runs on your device. Files are never uploaded.
- Free and unlimited. No sign-up, no watermark.
JSON unescape in three steps
No account, no email, no waiting for an upload.
- STEP 01
Paste the escaped text
With or without the surrounding double quotes, either works.
- STEP 02
Read the result
Escape sequences become the characters they stand for, and the output shows its length.
- STEP 03
Copy or download
Copy the plain text or save it as a .txt file.
What JSON unescape does, and what it doesn't
We'd rather tell you up front than surprise you after the download.
What you get
- All standard escapesQuotes, backslashes, slashes, tabs, line breaks and \uXXXX codes are turned back into characters.
- Quotes are optionalIf you paste a value copied from the middle of a JSON document, it is still read as a string.
- Forgiving about raw line breaksReal line breaks or tabs pasted inside the string do not cause an error.
- Pinpoints stray quotesAn unescaped double quote gets a message with the character position, so you can fix it.
- Private by designDecoding is local. Log lines, tokens or customer text never leave the page.
Good to know
- Strings onlyThe input must be a JSON string. If it is an object, use the JSON formatter instead.
- Broken escapesAn invalid sequence, such as a lone backslash at the end, is reported rather than guessed.
- Double-escaped textText escaped twice needs two passes. Run the output through the tool again.
Your data never leave your device
The tool runs inside your browser instead of on our servers, so there is nothing to upload, store or delete afterwards.
Typical online tool upload
Your file travels over the internet, sits on someone else's computer for a while, and you wait for the upload and the download.
Mediaextractr no upload
The tool loads into your browser once, then works on your file locally. Nothing is sent, so nothing can leak.
When people use JSON unescape
Read a log message
Logs often store a payload as an escaped string. Restore it to read it.
Recover HTML from a field
Turn a stored template with escaped quotes and newlines back into markup.
Decode a copied value
Take a value from a JSON file or database cell and edit it as normal text.
Inspect an escaped payload
Look inside a body that was stringified before sending.
Mediaextractr vs typical upload tools
| MediaextractrPrivate | Typical upload tools | |
|---|---|---|
| Your file is uploaded | Never | Yes |
| Sign-up needed | No | Often, after a few files |
| Daily file limit | None | Often 1–2 free files |
| Watermark | Never | Sometimes |
| Wait for upload & download | No | Yes |
| Speed on very large files | Depends on your device | Depends on their servers |
What unescaping does
JSON strings cannot hold a raw quote or a line break, so they are written with escapes: a backslash plus a letter, or a backslash, u and four hex digits. Unescaping reverses that, giving you the original text.
Characters outside the basic range, such as emoji, can appear as two escapes in a row. They are joined back into one character.
When the result still looks wrong
If backslashes remain after one pass, the text was escaped twice, which happens when JSON is placed inside JSON. Work through it step by step:
- Run the output through the tool again.
- If the result is itself JSON, open it in the JSON formatter.
- To produce an escaped value yourself, use JSON escape.
- Percent signs instead of backslashes mean URL encoding. Use URL decode.
Unescaping nested payloads
Logs and message queues often wrap one JSON document inside a string field of another, producing text full of backslashes and escaped quotes. Unescape once to get the inner document, then paste the result into the JSON formatter to read it. If the inner text still shows backslashes, it was wrapped twice, so repeat the step.
Questions, answered
How do I unescape a JSON string?
Paste it, with or without the outer quotes, and read or copy the plain text.
Can I decode log text containing user data here?
Yes. Decoding is local to the page, so personal data inside a logged string is not sent to any server.
Why do I get 'unescaped quote' errors?
A double quote inside the text must be written as backslash plus quote. The message gives the character position of the stray one.
Does it decode \u00e9 into an accented letter?
Yes. Four-digit Unicode escapes, including pairs for emoji, are turned back into the characters.
Will it work with single quotes around the text?
Single quotes are not JSON string delimiters, so they would stay in the output as ordinary characters. Remove them and paste just the content.
Does it work in mobile browsers?
Yes. Current Safari and Chrome on phones and tablets run it, so you can decode a pasted string on the go.