🔤 JavaScript Escape / Unescape
Escapes or unescapes a JavaScript string removing traces of offending characters that could prevent interpretation.
Developer Tool Subscriptions
Reserved JavaScript Characters
The following characters must be properly escaped to be used in strings:
Horizontal Tab
\t
\t
Vertical Tab
\v
\v
Nul char
\0
\0
Backspace
\b
\b
Form feed
\f
\f
Newline
\n
\n
Carriage return
\r
\r
Single quote
\'
\'
Double quote
\"
\"
Backslash
\\
\\
Copy-paste the JavaScript to escape or unescape here
Result