Convert strings to JSON-safe format by escaping special characters, or decode escaped strings back to their original form
When embedding multi-line text, code snippets, or text with special characters into JSON files or API requests, you need to escape characters like newlines, tabs, quotes, and backslashes. This tool handles all JSON string escaping rules automatically.
{ "text": "" }
All processing happens locally in your browser