Docomint

Unescape JSON String

Convert an escaped JSON string literal back into its original, readable text.

🔒 Processed on your device

The reverse of Escape JSON String — takes a JSON string literal (as it appears inside a .json file or API response) and decodes it back into the original readable text, turning \n into real line breaks and \" into plain quotes.

Example: "Line one\nLine two" unescapes to a real two-line string reading Line one then Line two on separate lines, with the surrounding quotes removed.

How it works

  1. Paste an escaped JSON string, quotes included
  2. Escape sequences (\n, \", \\, and more) are decoded instantly, on your device
  3. Copy the readable, unescaped result

Frequently asked questions

Do I need to include the surrounding quotes when pasting in an escaped string to unescape?

Either works — paste it with the quotes included (as it appears in a .json file) or without them; this auto-detects and wraps bare input before decoding.

Is my data uploaded anywhere?

No — Unescape JSON String runs entirely in your browser using JavaScript/WebAssembly. Your data is never sent to a server.

What happens if the input has an invalid escape sequence, like a lone backslash?

It's reported as an error rather than guessed at — a stray, unescaped backslash isn't valid inside a JSON string, so fixing the source data is safer than silently passing it through.

Related tools