ToolBuddy
In Browser

JSON Repair

Repair common JSON mistakes such as trailing commas, comments, and unquoted keys, then pretty-print the result. Runs locally so broken fixtures are not posted to a fixer.

Runs in your browser. Nothing is uploaded.

Loading tool…

About this tool

Repair messy JSON: trailing commas, comments, and unquoted keys, then pretty-print. Built on jsonrepair in the tab so broken fixtures stay on the device.

How to use: paste invalid JSON, copy the repaired document. If repair cannot recover a value you get a parse error.

Example: {name: "Ada",} becomes {"name":"Ada"}. This is recovery, not a schema linter. Related: JSON formatter for already-valid input.

Related Web tools