JSON Unescape Online – Decode Escaped JSON

Local only

Decode escaped JSON strings and backslash sequences into readable text or formatted JSON without uploading data.

Indent

71 chars · 4 lines

Two-way sync · Edit either side and the other updates automatically.

Valid JSON
2 keys1 arrays1 objects3 depth71 chars

JSON unescape guide

How to unescape JSON strings

Paste an escaped JSON string or backslash-escaped text into the workspace above. VetaTool removes one escaping layer, formats decoded JSON when possible, and keeps the entire operation in your browser.

Steps

  1. Paste a quoted JSON string or text containing JSON escape sequences.
  2. Review the decoded text or formatted nested JSON in the output panel.
  3. Use Decode Unicode when literal \uXXXX sequences should become readable characters.
  4. Copy or download the decoded result when it is correct.

What JSON unescaping changes

Unescaping removes one serialization layer from sequences such as \n, \t, \", and \\. It is useful when JSON has been stored inside another JSON string, copied from logs, or returned as an escaped field value.

If the decoded text is itself valid JSON, VetaTool formats the object or array for inspection. Otherwise, it returns the decoded plain text exactly as text.

Escaped JSON versus valid JSON

An ordinary JSON object such as {"name":"Ada"} is already valid JSON and belongs in the formatter or validator. The unescape tool expects an escaped representation such as {\"name\":\"Ada\"} or a quoted JSON string.

The tool removes one escaping layer at a time. Repeatedly escaped data may need another pass after you verify the first decoded result.

  • Use JSON Formatter for normal objects and arrays.
  • Use JSON Unescape for embedded JSON strings and escaped log values.
  • Invalid escape sequences are reported instead of silently altered.

Decode escaped payloads locally

Escaped API bodies, configuration values, and log entries can contain sensitive data. Decoding and nested JSON formatting run locally in the browser without sending the input to a remote service.

The same nesting-depth, finite-number, and safe-integer checks used by the JSON formatter also protect decoded nested JSON.

JSON unescape example

The escaped object becomes readable JSON, while the escaped newline remains part of the message value.

Escaped JSON

{\"name\":\"VetaTool\",\"message\":\"line 1\\nline 2\"}

Decoded JSON

{
  "name": "VetaTool",
  "message": "line 1\nline 2"
}

Common questions

Frequently asked questions

What does JSON unescape do?

It removes one layer of JSON or backslash escaping and returns readable text or formatted nested JSON.

Can I unescape a JSON string containing another JSON object?

Yes. When the decoded string contains valid JSON, VetaTool parses and formats the nested object or array.

Does unescaping change normal JSON values?

Use the formatter for an ordinary JSON object or array. Unescape is intended for quoted or backslash-escaped text and reports ordinary JSON values as the wrong input type.

Is escaped JSON uploaded to a server?

No. Unescaping, validation, and nested JSON formatting run locally in your browser.