JSON Unescape

Turn a JSON string with \n, \" and \u00e9 back into plain text.

Result

He said "hello"
Café 😀
2 lines · 26 bytes

What does unescaping JSON mean?

Inside JSON, special characters are written as escape codes: \n for a line break, \" for a quote and \u00e9 for the letter é. Unescaping reads those codes and gives you the plain text a person would see.

Paste the string with or without its outer quotes. The sample He said \"hello\"\nCaf\u00e9 \ud83d\ude00 becomes two lines: He said "hello" and Café followed by a smiling face emoji. A pair of \u codes can make a single emoji.

How to use the JSON Unescape

  1. Paste the escaped text on the left, with or without outer quotes.
  2. Read the plain text result.
  3. Copy or download it.
  4. If you see an error, fix the stray backslash or raw line break it points to.

Real situations

When people use the JSON Unescape

  • 1

    Read a log message

    Logs and API errors often hold a JSON string full of \n and \". Unescape it to read the message as it was written.

  • 2

    Recover text from a JSON file

    Pull a string out of a JSON value and turn it back into the text, such as a multi-line note or a code sample.

  • 3

    Decode unicode escapes

    Turn \u00e9 and similar codes into real letters, including pairs that form emoji.

  • 4

    Check what a string really contains

    See whether a value holds real line breaks or the characters backslash and n, which is a common bug.

Good to know

  • A single backslash that is not part of a valid escape causes an error.
  • A raw line break inside the string is not valid JSON. It must appear as \n.

FAQ

JSON Unescape: questions answered

How do I unescape a JSON string?

Paste it into the box. The tool reads the escapes and shows the text. It works with or without the outer double quotes, so you can paste a whole value or just its contents.

What escape codes are decoded?

The standard JSON ones: \" for a quote, \\ for a backslash, \/ for a slash, \b, \f, \n, \r and \t for control characters, and \uXXXX for any character by its code.

Why do I get an error about a position?

The text is not a valid JSON string. A lone backslash before a letter that is not an escape, or a raw line break inside the string, causes it. The error shows roughly where the problem is.

How do emoji appear as two codes?

Some characters do not fit in a single \u code and are written as a pair. \ud83d\ude00 together is one smiling face. The tool combines them for you.

What is the opposite of this tool?

The JSON escape tool. It turns text with quotes, backslashes and line breaks into a string that is safe to put inside JSON.

Does it handle a double-escaped string?

It reverses one level of escaping each time. If the result still shows \n, the original had been escaped twice, so run it through again.

Is this JSON Unescape free and private?

Yes. It is free with no sign-in, and every calculation runs inside your browser. Nothing you type is sent to a server or stored, and the page keeps working offline once it has loaded.

Private by design. No accounts, no cookies, no tracking. Everything you type stays on your device.

How we keep it that way