Skip to content
Toolbento

JSON escape and unescape

Turn text into a JSON string literal with quotes and line breaks escaped, or turn one back into text.

Everything stays on this device

JSON escape and unescape runs in your browser. The text and files you add are worked on by this device and are never uploaded, to us or to anyone else.

  • No uploads. The page is blocked from sending data to any other server.
  • No account, cookies, ads or tracking.
  • Fonts and scripts come from toolbento.app itself, so the page makes no requests to other companies.
  • Closing the tab clears your text and files from memory.

Read the full details on the privacy page.

Direction

Missing a feature or found a bug in JSON escape and unescape? Tell me on X (@_andrewtran) or by email.

How to use JSON escape and unescape

  1. Choose Escape or Unescape.
  2. Paste your text or JSON string in the input pane.
  3. Copy the result from the output pane.

Questions and answers

Is my data sent anywhere?

No. Everything runs in your browser on this device. Nothing you paste is uploaded or stored.

Which characters are escaped?

Double quotes, backslashes, line breaks, tabs and other control characters, as the JSON standard requires.

Do I need the surrounding quotes to unescape?

No. A string with or without its outer quotes is read the same way.

Esc

Loading tools