String Escape / Unescape

developer

Escape or unescape JavaScript strings and HTML entities. Supports \n, \t, \"...

#escape#unescape#string#html#javascript#entities
Loading tool...

How to use

  1. 1Enter text to escape JS strings (default)
  2. 2Prefix with unescape-js: to unescape
  3. 3Prefix with escape-html: for HTML entities
  4. 4Prefix with unescape-html: to unescape HTML

Frequently Asked Questions — String Escape / Unescape

What is the default mode?+

The default is JS string escaping (\n, \t, \", \\ etc.). Use a prefix like escape-html: to change mode.

Related Tools