LowercaseOnline β€” Free Online Text Tools

🔓 String Escape / Unescape

Escape or unescape strings for JSON, JavaScript, HTML, URL, SQL, and Regex.

Output will appear here…

Escape Formats

JSON β€” escapes ", \, newlines, tabs and control characters for safe embedding in JSON strings.

JavaScript β€” escapes single quotes, double quotes, backticks, and special characters for JS string literals.

HTML β€” converts < > & " ' to HTML entities and back.

URL β€” percent-encodes characters not allowed in URLs. Use for query parameter values.

SQL β€” escapes single quotes by doubling them (' β†’ '') for safe use in SQL string literals.

Regex β€” escapes special regex metacharacters so the string can be used as a literal pattern.