JSON Repair

Repair trailing commas, single quotes, comments, unquoted keys, and other common JSON syntax problems.

Repair common non-standard JSON syntax in your browser and produce strict JSON output.

How to use

  1. Paste the JSON that needs repair.
  2. Generate and review the repaired result.
  3. Copy the output and validate it in the destination system.

Examples

Repair an unquoted key and trailing comma

Input

{name: '51tools', enabled: true,}

Output

{
  "name": "51tools",
  "enabled": true
}
Privacy
May contact server Avoid sensitive data Uploads only when needed

Input and repair run entirely in your browser.

Frequently asked questions

It handles common comments, single quotes, trailing commas, unquoted keys, and Python-style boolean values.

No. Automatic repair addresses common syntax errors, so important data should still be reviewed.
Next steps

Related tools

After finishing this task, continue with these related tools.