Back to Tools

JSON Escape / Unescape

JSON Escape / Unescape

Securely handle quotes and special characters for JSON strings

Data Input

About the JSON Escape / Unescape

Escape text so it is safe inside a JSON string, or unescape it back to normal text.

How to use the JSON Escape / Unescape

  1. Paste your text, or click Load Sample.
  2. Press Escape for JSON or Unescape JSON.
  3. Click Copy Result.

Worked example

A quote and a new line in text become \" and \n when escaped.

Tips

  • Escaping is needed for quotes, backslashes and line breaks inside JSON strings.

Frequently Asked Questions

Special characters would otherwise break the JSON syntax.
Live Support
We usually reply within minutes

Enter your name to start a conversation with our team.