Skip to main content
HandyWeb

JSON String Escaper and Unescaper

Escape text to put it inside a JSON string, with \n, \", and other escapes, or turn a JSON string back into readable text.

Runs on your device.

Action
0 characters0 bytes
0 characters0 bytes

How to Use It

  1. Choose Escape or Unescape.
  2. Paste the text or the JSON string.
  3. Copy the output.

Questions and Answers

Do I paste the quotes around the string too?

Either way works. Unescape accepts the string with or without the quotes.

Good to Know

It escapes or unescapes one string, not a whole JSON document. For a whole document, use the JSON formatter.

Source code of this toolReport a problem on GitHub