JSON Repair
Fix broken JSON online for free. Repairs comments, single quotes, unquoted keys, trailing commas and JS/Python literals automatically.
Repaired output
10 fixes applied
- Removed // and /* */ comments
- Converted single-quoted strings to double quotes
- Quoted unquoted key "name"
- Quoted unquoted key "version"
- Quoted unquoted key "features"
- Replaced undefined with null
- Converted None to null
- Quoted unquoted key "deprecated"
- Quoted unquoted key "retries"
- Removed trailing commas
{
"name": "service-api",
"version": "1.2.0",
"features": ["auth", "cache"],
"deprecated": null,
"retries": null
}About JSON Repair
Paste malformed JSON to automatically repair common syntax errors: comments, single-quoted strings, unquoted keys, trailing commas, and literals like undefined, NaN, True or None.
Every applied fix is listed so you can see exactly what was changed. String contents are never touched, and everything runs locally in your browser.