Skip to main content
>_devtools

JSON Repair

Fix broken JSON: trailing commas, comments, single quotes, unquoted keys, truncated output, and Python constants.

What this does

Paste loosely formatted or damaged JSON and review the repaired result. The repair engine handles common extensions such as comments, trailing commas, unquoted keys, and Python constants.

Example

Input:
{ name: 'Ada', active: True, }

Repaired JSON:
{
  "name": "Ada",
  "active": true
}

Limits and behavior

  • Repair uses a best-effort interpretation, so review the output before relying on it.
  • Unrecoverable or ambiguous input can still produce an error.