Escape any text so it can sit inside a JSON string: double quotes become \", backslashes \\, and line breaks and tabs \n and \t. Tick Wrap in quotes to get a complete JSON string literal, or Escape non-ASCII to write characters such as é as é for systems that only accept ASCII.
Unescape does the reverse: paste a string copied from a JSON document or a log line, with or without its surrounding quotes, and get the original text back. A stray unescaped quote or an invalid escape such as \x41 is reported with its position.
Everything runs in your browser. If the unescaped text is itself JSON, send it to the JSON Formatter to read it.
The double quote (\"), the backslash (\\) and control characters such as line breaks (\n) and tabs (\t). Everything else, including Unicode letters and emoji, may appear as is.
Only when the system reading the JSON accepts nothing but ASCII. Then é becomes \u00e9 and characters outside the Basic Multilingual Plane, such as most emoji, become a pair of \u escapes.
A quote inside a JSON string must be written as \". The error gives the position of the first bare quote, which usually means the text was not a JSON string, or only part of it was copied.