JSON String Escape & Unescape
Escape or unescape quotes, newlines, tabs, backslashes, and Unicode for JSON strings.
String Escape workspace
About String Escape
JSON strings reserve quotes, backslashes, and control characters. This tool converts raw text to a JSON-safe string body or decodes an escaped string back to readable text.
How to use
- Paste raw or escaped text.
- Choose escape or unescape.
- Copy the converted string.
FAQ
Does the escaped result include surrounding quotes?
You can choose a string body without quotes or a complete JSON string with quotes.
Why does unescape reject some backslashes?
JSON only permits defined escape sequences such as \n, \t, \uXXXX, escaped quotes, and escaped backslashes.