
JSON Repair API
by cedrickoumaUpdated Jun 15, 2026
Fix malformed JSON from LLMs, scrapers and logs in one call.
json
repair
fix-json
+2
|Repairs trailing commas, single quotes, unquoted keys, truncated output, comments and Python literals. Returns the repaired string, the method used and a validity flag.