Before
Hello "team" Line two
Escape raw text for JSON string values or unescape quoted JSON strings back into readable content. This page supports a narrower developer workflow than a formatter or validator.
The JSON escape tool prepares plain text for safe insertion into JSON strings and also decodes escaped JSON string content back into normal text.
Hello "team" Line two
"Hello \"team\"\nLine two"
Yes. The output is a JSON string literal, including the surrounding quotes.
The unescape action expects a valid quoted JSON string. Use escape for raw text.
\n?That is the JSON-safe representation of a newline inside a string literal.
No. It runs locally in your browser, so your text is not uploaded.