String Escape / Unescape
Escape or unescape strings for JSON, HTML, XML, JavaScript, SQL, Java/.NET with multi-mode support. Free string escape tool by Graph Tools.
Use this free string escape and unescape tool to convert strings for safe embedding in JSON, HTML, XML, JavaScript, SQL, and Java or .NET string literals. Select the target format, paste your string, and get the correctly escaped or unescaped output instantly. Supports multi-line input and handles all special character categories for each mode. Useful for developers embedding strings in code, QA engineers building test payloads, and security engineers checking input sanitization.