JSON Unescape & Cleaner

Remove backslashes, fix escaped quotes, and clean up stringified JSON into valid, readable JSON.

Input
Clean JSON
Try an Example
What This Tool Does
Remove Backslashes
Turns \" โ†’ " and \\ โ†’ \
HTML Entities
Decodes ", &, <, >
Pretty Print
Formats the result with your chosen indentation
Validate JSON
Shows a clear error if the result is still invalid JSON

Frequently Asked Questions

Escaped JSON occurs when a JSON object is serialised as a string value inside another context โ€” for example, logged to a file, stored in a database column, sent as a form field, or returned inside a JSON string field. Double quotes get prefixed with a backslash (\"), making the output human-unreadable and unusable until it is unescaped.

Common situations: API responses where JSON is returned as a string value (e.g. {"data":"{\"id\":1}"}); payment gateway transaction logs; PHP json_encode() inside another json_encode(); JavaScript JSON.stringify() called twice; database-stored JSON; copied terminal/debug output.

Double-escaped JSON happens when already-escaped JSON is escaped again, producing strings like \\\"id\\\". This tool handles multiple levels โ€” it repeatedly unescapes until it reaches valid parseable JSON.

No. All processing happens entirely in your browser using JavaScript. Nothing you paste is transmitted anywhere. It is safe to use with sensitive payloads, API keys, or private data.

Free Online JSON Unescape & Cleaner

Instantly remove backslashes from escaped JSON, decode HTML entities, and pretty-print the result. Handles single-escaped, double-escaped, and HTML-entity-encoded JSON. All processing runs in your browser โ€” no data is sent to any server.