Convert text to a JSON-safe string or parse one back to plain text.
Examples
Input
Output
About JSON escaping
Escaping converts characters that would break a JSON string (quotes, newlines, backslashes) into their escape sequences. Unescaping reverses the process. Everything runs locally.
Quotes, backslashes, and control chars need escaping.
JSON.stringify handles all special chars correctly.