Text
String Escape
Escape or unescape strings with backslash sequences like \n, \t, and \uXXXX.
Text
Output
Explanation
Escape converts backslashes, quotes, newlines, tabs, and carriage returns to escape sequences; non-ASCII characters stay as-is. Unescape reverses the process and supports \uXXXX.
Security Notice
All processing happens locally in your browser whenever possible. Your data is not uploaded unless explicitly stated.