Toolzy

String Escaper

Escape or unescape text for JSON and JavaScript strings.

Convert text to and from an escaped JSON/JS string, handling quotes, tabs and newlines.

How to use

  1. Pick Escape or Unescape.
  2. Type or paste your text.
  3. Copy the result.

Frequently asked questions

Which format is used?
Standard JSON string escaping, compatible with JavaScript.
Are unicode characters kept?
Yes, they are preserved as-is.

Related tools