How to use JSON Escape
- Enter a string.
- Click Convert to escape for use inside a JSON string.
- Copy the result.
Example
Input
Your input or data here
Output
Result will appear here after running the tool
Frequently asked questions
- When do I use JSON escape?
- When building JSON manually or embedding a string in JSON; backslashes and quotes are escaped.
Embed this tool
Add JSON Escape to your own site, blog post, or internal docs — free, no signup. The widget runs entirely in your visitors' browsers, same as it does here.