Escape / Unescape Tool
Escape or unescape strings for JavaScript, JSON, HTML, SQL, and regex online for free.
Escapes \n \t \r ' " \ and Unicode \uXXXX
À propos de cet outil
Escape or unescape strings for JavaScript, JSON, HTML, SQL, and regular expressions. Handles special characters, newlines, quotes, backslashes, and Unicode sequences.
Comment utiliser
Enter String
Paste the string to escape or unescape.
Choose Context
Select JavaScript, JSON, HTML, SQL, or Regex.
Escape or Unescape
Click the action button and copy the result.
Cas d'utilisation
Safe String Handling
Escape strings before use in SQL queries, JSON payloads, or HTML templates.
Foire aux questions
Is SQL escaping safe to use in production?
This tool is for learning and debugging. Always use parameterized queries in production code.