String Escaper / Unescaper

Easily escape or unescape JSON strings, slashes, quotes, and newlines.

About String Escaper

Escape and unescape quotes, newlines, slashes, and special characters for JSON, Java, and JavaScript.

Key Features

  • Escapes and unescapes strings for JSON, JavaScript, shell, and other targets in one tool.
  • Avoids the common mistake of applying the wrong escaping rules for the target language.
  • Handles multi-line input without breaking on embedded quotes or backslashes.