How to Unescape and Escape JSON Strings Online
When working with nested webhooks, cloud logging platforms (CloudWatch, Datadog), or serialized database fields, JSON objects are frequently stored inside string values with every quote and newline escaped with backslashes.
Our free online JSON Escape & Unescape tool lets you cleanly decode escaped strings or prepare raw multi-line text for safe inclusion inside JSON payloads.
- Select "Unescape JSON" mode to convert \", \\, \n, \t, and \uXXXX sequences into clean, readable text.
- Select "Escape JSON" mode to escape quotes, backslashes, and control characters in raw text.
- Use "Wrap in double quotes" when you want a complete quoted JSON string literal ready to paste into code.
- Click "Use Output as Input" at any time to verify lossless round-trip conversion.