piko

JSON Escape / Stringify

Escape plain text as a JSON string or decode a quoted JSON string.

Runs on your device. Nothing you add is uploaded.

Escaped JSON string
"The field note reads \"Water at dawn.\"\nUpdated Tuesday."

How to use JSON Escape / Stringify

  1. Choose whether to escape or decode.
  2. Paste plain text or a quoted JSON string.
  3. Copy the result.

Questions

What characters get escaped?
The encoder quotes the string and escapes embedded quotes, backslashes, line breaks, and other JSON control characters.
Where is my input processed?
On your device. The tool does not upload the input or its result.

How this works

Uses JSON string serialization and strict JSON parsing.

Everything happens in this browser tab. What you type or add stays on your device, and the page has no tracking. Your last settings are kept in this browser so the tool opens the way you left it. Privacy

Related tools

More in Developer