Fix broken JSON — trailing commas, single quotes, unquoted keys, comments. JSON Repair is a free online tool from the ToolsRift JSON Tools collection. It runs entirely in your browser — nothing to install, no signup, and your data never leaves your device.
Trailing commas, single-quoted strings, unquoted object keys, comments, and other JSON5-tolerated syntax are all repaired into strict JSON.
Your input is parsed with the JSON5 parser (which is lenient) and re-serialized with strict JSON.stringify, producing valid JSON.
If the input is too broken for even the lenient JSON5 parser (e.g. missing brackets or mismatched quotes), it reports the parse error instead of guessing.