โ›“๏ธString Escape / Unescape

Escape and unescape JSON, JS and Unicode strings

About the String Escape / Unescape

String Escape / Unescape escapes and unescapes text for use in code โ€” handling JSON/JS backslash sequences and Unicode \uXXXX escapes.

It is handy when embedding text in source code or decoding escaped strings from logs. Processing is local and private.

Common use cases

  • Escaping text to embed inside JSON or JavaScript strings
  • Unescaping log output or API payloads
  • Converting characters to Unicode escapes
  • Cleaning up copied code snippets

How to use the String Escape / Unescape

  1. Choose Escape or Unescape and the escape type.
  2. Paste your input.
  3. Copy the converted result.

Frequently asked questions

What does backslash escaping cover?

It handles JSON/JS sequences like \n, \t, \" and \\ so the string is safe to paste into code.

What is Unicode escaping?

It converts non-ASCII or control characters to \uXXXX form (and back).

Is it private?

Yes, all escaping runs locally in your browser.