开发者工具

Escape JavaScript strings online

Escape and unescape JavaScript string content.

全部工具

JS String Escaper

Upload file
Drag & drop a file here, or choose a file.
输入
输出

使用方法

  1. Paste text.
  2. Choose Encode to escape or Decode to unescape.
  3. Copy the output.

Best practices

  • For best performance, try with smaller inputs first.
  • Preview the output before downloading or sharing it.
  • Avoid pasting sensitive data on shared devices.

隐私

部分工具在浏览器内运行。某些功能可能需要服务器处理。

示例
Encode
输入
Hello
World	"Quoted"
输出

                                    
Decode
输入
Hello\nWorld\t\"Quoted\"
输出

                                    

Was this tool helpful?