Home About Contact
Categories
Text Tools 51 Calculators 42 Converters 31 Developer Tools 64 SEO Tools 29 Image Tools 54 Security Tools 13 Social Media 28 Document Tools 54 Utility Tools 67 Health & Fitness 52 Finance Tools 78 Education & Study 84 Audio & Video 29 Printables & Templates 50 Games & Puzzles 30

String Escape / Unescape Tool (JSON, JS, HTML, SQL)

Escape and unescape strings for JSON, JavaScript, HTML, XML, SQL, CSV, regex and URLs online – handle quotes, backslashes and special characters safely.

Developer Tools Free Private

Text

Output

What is the String Escape Tool?

Special characters like quotes, backslashes and new lines break code when you paste text into JSON, JavaScript strings, SQL queries, CSV files or regular expressions. Pick the format, paste your text and get a safely escaped version – or reverse it to see the original text.

How to use the String Escape Tool

  1. Choose the format (JSON, JavaScript, HTML, SQL, CSV, Regex, URL, Unicode).
  2. Paste your text and press Escape or Unescape.
  3. Copy the result.

Examples

  • JSON: He said "hi" → He said \\"hi\\"
  • SQL: O'Brien → O''Brien
  • Regex: price (USD) $5 → price \\(USD\\) \\$5

This String Escape Tool is 100% free, needs no signup and runs privately in your browser – on phone, tablet or computer.

Last updated: · By NodifyTech