JavaScript String Escaper
Escape or unescape JavaScript string literals with JSON-safe quoting — instant and private.
100% In-Browser & Private — your data never leaves this device
Loading tool...
How to use the JS String Escaper
- Paste text or a quoted JavaScript string.
- Choose Escape or Unescape.
- Copy the result for code or config files.
Related tools
More private, in-browser utilities you might need next.
Looking for more? Browse all developer tools · All tools