JSON Repair
Automatically fix malformed JSON. Repairs common issues like trailing commas, missing quotes, single quotes, and comments.
Input
Output
Supports fixing:
- Trailing commas in arrays and objects
- Missing quotes around property names
- Single quotes instead of double quotes
- JavaScript-style comments (// and /* */)
- Unquoted property keys
What is JSON Repair?
JSON repair automatically fixes common syntax errors in malformed JSON, such as trailing commas, missing or mismatched quotes, single quotes instead of double quotes, JavaScript-style comments, and unquoted property keys. JSONKit's repair tool can often recover data from broken JSON that standard parsers reject.