What is the JSON String Escape and Unescape?
Putting text with quotes, backslashes or line breaks inside a JSON string needs escaping, or the JSON breaks. Paste the text and get a safe string value, with or without the surrounding quotes, or unescape a JSON string back into plain text.
Features
Safe strings
Quotes, backslashes and control characters escaped.
Unescape too
Read escaped strings from logs and APIs.
How to use the JSON String Escape and Unescape
- 1
Paste the text.
- 2
Pick escape or unescape.
- 3
Copy the result.
Who it is for
API requests
Put a block of text or HTML inside a JSON body.
Tips for better results
- Unicode letters do not need escaping in JSON. They can stay as they are.
Questions people ask
Is it free?
Yes, free and private.
Do I need the quotes?
Tick "add quotes" to get a complete JSON string value.