Dad’s Data formats tools

JSON Fixer

Auto-repair broken JSON — removes comments, trailing commas, fixes single quotes, and more.

Input JSON
Fixed JSON

Fixed JSON will appear here

Paste broken JSON in the input panel to get started.

What the fixer repairs

The JSON Fixer applies a sequence of safe transformations to common JSON authoring mistakes. Each fix is listed in the changelog panel so you can review exactly what changed.

ProblemExample brokenFixed output
Single-line comments// comment {"a":1}{"a":1}
Block comments/* note */ {"a":1}{"a":1}
Trailing comma in obj{"a":1,}{"a":1}
Trailing comma in arr[1,2,3,][1,2,3]
Single-quoted strings{'key':'value'}{"key":"value"}
Unquoted keys{key: "value"}{"key":"value"}
Note: The fixer is conservative — it only applies transformations that are clearly reversible mistakes. It does not guess at malformed structure (e.g. mismatched brackets). If the document is still unparseable after repair, the error panel shows the remaining issue.

Try it — paste any of these

Input
{
  // App settings
  "name": 'my-app',
  "port": 3000,
  "features": [
    "auth",
    "logging",
  ],
}
Output
{
  "name": "my-app",
  "port": 3000,
  "features": [
    "auth",
    "logging"
  ]
}

Frequently Asked Questions

Your files stay on your computer. Dad promised.

Data formats tools

Search the Data formats tools