JSON Escape & Unescape
Convert JSON strings to and from their escaped form for embedding in code, SQL, HTML or other JSON.
Choose escape or unescape, paste your text, and get the converted result instantly.
Ad slot (in-content) — set VITE_ADSENSE_CLIENT to enable
Frequently asked questions
- When do I need to escape JSON?
- When embedding a JSON string inside another JSON value, an HTML attribute, a SQL query, or any context that requires escaping quotes, backslashes and control characters.
- What characters get escaped?
- Double quotes, backslashes, newlines, carriage returns, tabs and other control characters are converted to their escape sequences.