DevTools.run

String Escape / Unescape Tool

Escape and unescape strings for JSON, HTML, URL, SQL, Regex, CSV, XML, and JavaScript. Real-time conversion as you type.

Escape/unescape strings for JSON values

Escape Modes

JSONEscape/unescape strings for JSON values
HTMLEscape/unescape HTML special characters
URLPercent-encode/decode URL components
RegexEscape special regex metacharacters
SQLEscape single quotes for SQL strings
CSVEscape values for CSV fields (RFC 4180)
XMLEscape special XML characters
JavaScriptEscape strings for JavaScript/TypeScript

All processing happens locally in your browser — no data is sent anywhere.