JavaScript Escape and Unescape Escape and unescape special characters in JavaScript string literals. Convert raw text with quotes, newlines, tabs, and Unicode into properly escaped JavaScript strings, or reverse the process to recover original text. Choose between single-quote and double-quote wrapping styles. How to Use Paste your text into the input area, select Escape or Unescape mode, choose your preferred quote style (single or double), and click Convert. The tool applies JavaScript-specific escaping rules and outputs the result ready to paste into your code. Features Full JS Escape Sequences – Handles \’, \”, \\, \n, \r, \t, \b, \f, \v, \0, \uXXXX, \xHH, and ES6 \u{XXXXX} Escape & Unescape – ...
ツールを試す »