Why it matters
Models asked for JSON still wrap it in prose, add comments, use Python's True or stop halfway when they hit the token limit, and JSON.parse rejects the lot.
This repairs it with a character-level scanner that knows when it's inside a string, so quotes and commas in your text aren't touched, and it tells you exactly what it changed.
How to use it
- Type or paste your input; the example shows the format.
- Press Repair. Results also update as you type.
- Read the summary line, then the table, notes or output below it.
- Copy or download what you need. Nothing leaves this page.
FAQ
Is a repaired truncated answer safe to use?
It's valid JSON, but the model didn't finish, so the last value may be incomplete. The fix log says where it was cut off; re-ask with a higher token limit if it matters.
Why not just ask for JSON mode?
Do, where the API offers structured outputs or JSON mode. This is for everything else: logs, other tools, older models and pasted answers.
Does it change my data?
Only the syntax around it. Strings, numbers and keys are kept; each change is listed.
Is my input uploaded?
No. The tool runs in your browser and nothing you type, paste or open is sent anywhere.
Can I rely on the result?
It follows the public specification or formula named on this page and says where it simplifies. Check anything critical against the official tool or documentation before you ship it.