JSON Repair
Repair malformed JSON
Preview fixes for trailing commas, single quotes, comments, and unquoted keys.
Repairs are always previewed
Repair is intentionally separate from formatting. The original document stays untouched until you inspect the proposed result and choose Apply repair.
Automated repair is useful for JavaScript-like objects and truncated model output, but you should still review semantic values before using the result in production.
Useful tips
- Keep a copy of the original payload.
- Validate after applying a repair.
- Review repaired numbers and strings carefully.