Paste broken JSON into the editor above and click Repair. The repair engine diagnoses the problem and proposes the minimum fix needed to produce valid JSON — showing you exactly what changed before you accept anything.
Common sources of broken JSON include manual editing, API responses with JSONP wrappers, logs that got truncated, and copy-pasting from documentation that uses JavaScript syntax instead of strict JSON.
JSON repair is the process of automatically correcting syntax errors in a JSON document so it becomes parseable. Unlike a validator that only tells you what is wrong, a repair tool also fixes it — while preserving your original data as closely as possible.
// … and /* … */)undefined → null)What kinds of JSON can be auto-repaired?
The repair engine handles the most common issues: trailing commas, missing commas between items, single-quoted strings, unquoted keys, JavaScript comments, and truncated JSON from copy-paste errors. It cannot reconstruct data that is fundamentally missing (e.g. a completely garbled file).
Will the repair change my data?
The repair tool makes the minimum changes required to produce valid JSON. It shows you a preview and a diff of every fix before you accept it, so you stay in control. No data is modified without your confirmation.
Is my JSON sent to a server?
No. Repair runs entirely in your browser. Your data never leaves your device.