JSON String Escape

Escape text so it can be pasted inside a JSON string literal.

Good to know

What should I paste?

Paste the complete JSON, CSV, XML or table text named by the tool. Its input example shows the expected structure.

Why does the tool show a formatting error?

The input must match its source format. For JSON, check quotes, commas and brackets. Correct the reported issue in the input and the result updates.

Will every detail survive conversion?

Different formats hold different structures. Check the output when converting nested JSON to rows, or a table back to JSON. Copy or download the result only after reviewing it.