不喜欢广告? 无广告 今天

JavaScript Escape and Unescape

开发人员
广告 · 消除?
广告 · 消除?

指导

JavaScript Escape and Unescape

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.

如何使用

Paste your text into the input area, select Escape 或者 Unescape mode, choose your preferred quote style (single or double), and click 转变. The tool applies JavaScript-specific escaping rules and outputs the result ready to paste into your code.

特征

  • 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
  • Unicode 支持 – Full Unicode handling including emoji, CJK characters, and supplementary plane characters
  • 复制到剪贴板 – One-click copy of the escaped or unescaped result
  • 仅客户端 – All processing happens in your browser with no data sent to any server

广告 · 消除?

常问问题

想要享受无广告的体验吗? 立即无广告

安装我们的扩展

将 IO 工具添加到您最喜欢的浏览器,以便即时访问和更快地搜索

添加 Chrome 扩展程序 添加 边缘延伸 添加 Firefox 扩展 添加 Opera 扩展

记分板已到达!

记分板 是一种有趣的跟踪您游戏的方式,所有数据都存储在您的浏览器中。更多功能即将推出!

广告 · 消除?
广告 · 消除?
广告 · 消除?

新闻角 包含技术亮点

参与其中

帮助我们继续提供有价值的免费工具

给我买杯咖啡
广告 · 消除?