71 chars · 4 lines
Two-way sync · Edit either side and the other updates automatically.
71 chars · 4 lines
Two-way sync · Edit either side and the other updates automatically.
JSON unescape guide
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.
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.
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.
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.
The escaped object becomes readable JSON, while the escaped newline remains part of the message value.
{\"name\":\"VetaTool\",\"message\":\"line 1\\nline 2\"}{
"name": "VetaTool",
"message": "line 1\nline 2"
}Common questions
It removes one layer of JSON or backslash escaping and returns readable text or formatted nested JSON.
Yes. When the decoded string contains valid JSON, VetaTool parses and formats the nested object or array.
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.
No. Unescaping, validation, and nested JSON formatting run locally in your browser.