{ } Payload Haven
Your input is processed in this browser

JSON string escape and unescape

Escape text as a JSON string literal or unescape a quoted JSON string, entirely in your browser.

How it works

Escape converts raw text to a complete JSON string literal, including surrounding double quotes. Unescape expects a complete quoted JSON string and restores its text. It does not parse HTML entities or JavaScript string syntax.

Your input and results stay in this browser. Settings links contain options only, never input or generated results.