Input

Mode:

Output

Formatted result will be displayed here

What does JSON string unescape do?

Unescape is the inverse of escape: it takes a string full of backslash sequences and resolves them back to the characters they represent, so \n becomes a real newline, \" becomes a literal quote, and \uXXXX becomes the matching Unicode character. This is exactly what you need when a log line shows you the escaped form of a field and you want to read the original message.

Use Cases

Read escaped log messages

Copy a JSON log field that shows \n and \" all over and get the original multi-line text back immediately.

Recover embedded HTML

Turn an escaped HTML snippet from an API response into something you can paste into a browser or preview tool.

Decode nested JSON strings

Some APIs return JSON as a string field. Unescape first, then parse the result as a fresh JSON document.

Extract error details

Stack traces embedded in a JSON error payload become readable when the escape sequences are resolved.

FAQ

Does input need surrounding quotes?

No. Paste the content without the enclosing double quotes. The tool treats the whole input as the body of a JSON string.

How are \uXXXX sequences handled?

They are converted to the matching Unicode character, including surrogate pairs when two escapes combine to form an astral plane codepoint.

What if an escape is invalid?

You will get a parse error pointing at the offending sequence. Fix the source or escape the stray backslash to continue.

Is the operation reversible?

Yes. Run the result through the JSON escape tool and you get back a bitwise-identical escaped form.