🔐 String Escape / Unescape
Escape & unescape strings locally for JSON, JavaScript, Java, HTML, XML, SQL, and CSV
Free online string escape and unescape tool supporting 7 formats: JSON, JavaScript, Java, HTML, XML, SQL (ANSI), and CSV (RFC 4180). All processing runs locally in your browser — input data is not uploaded by the tool. JSON mode follows RFC 8259 with correct Unicode surrogate pair handling. HTML and XML modes support bidirectional conversion of named and numeric character entities. JavaScript mode handles \x hex and \u Unicode escapes. SQL uses ANSI-standard single-quote doubling. CSV follows RFC 4180 quoting rules. Perfect for developers debugging API responses, building database queries, and generating safe markup content.