JSON Repair

Fix trailing commas, single quotes, comments, and other common JSON issues.

Loading tool…

Free Online JSON Repair Tool

Invalid JSON from AI models, copy-pasted JavaScript, or hand-edited configs is frustrating. Dokall's JSON repair tool automatically fixes common syntax issues and returns valid, pretty-printed JSON.

Paste broken JSON, click Repair, and copy the result. The tool lists what was fixed — trailing commas removed, quotes normalized, brackets closed, and more. All processing runs in your browser.