🔧

JSON Repair & Fix

Automatically fix broken JSON — trailing commas, unquoted keys, single quotes, comments

Frequently Asked Questions

What kind of broken JSON can this fix?

This tool repairs: trailing commas, missing commas, unquoted property names, single quotes instead of double quotes, JavaScript/Python comments, missing closing brackets, Python constants (None, True, False), concatenated JSON objects, and newline-delimited JSON (NDJSON).

Is this different from a JSON validator?

Yes. A validator tells you what is wrong. This tool automatically fixes the problems and outputs valid JSON. It is useful when you get JSON from APIs, logs, or LLM outputs that is not quite valid.

Does it handle LLM/AI output?

Yes. Large language models often produce JSON with trailing commas, comments, or unquoted keys. This tool cleans that output into strict JSON that parsers accept.

Is my data sent to a server?

No. All repair logic runs client-side in your browser using the jsonrepair library. Your data never leaves your device.