JavaScript Escape and Unescape
Guia
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.
Como usar
Paste your text into the input area, select Escape ou Unescape mode, choose your preferred quote style (single or double), and click Converter. The tool applies JavaScript-specific escaping rules and outputs the result ready to paste into your code.
Características
- Full JS Escape Sequences – Handles \’, \”, \\, \n, \r, \t, \b, \f, \v, \0, \uXXXX, \xHH, and ES6 \u{XXXXX}
- Escape & Unescape – Two-way conversion between raw text and JavaScript-escaped strings
- Quote Style Selection – Choose single quotes or double quotes for the output string literal
- Suporte Unicode – Full Unicode handling including emoji, CJK characters, and supplementary plane characters
- Copiar para área de transferência – One-click copy of the escaped or unescaped result
- Apenas no Lado do Cliente – All processing happens in your browser with no data sent to any server
Perguntas frequentes
Instale nossas extensões
Adicione ferramentas de IO ao seu navegador favorito para acesso instantâneo e pesquisa mais rápida
恵 O placar chegou!
Placar é uma forma divertida de acompanhar seus jogos, todos os dados são armazenados em seu navegador. Mais recursos serão lançados em breve!
Ferramentas essenciais
Ver tudo Novas chegadas
Ver tudoAtualizar: Nosso ferramenta mais recente was added on Abr 1, 2026
