JSON Repair

Fix broken JSON from a model or a copy-paste: code fences, comments, single quotes, curly quotes, trailing commas, unquoted keys, Python literals and truncation.

Broken JSON

Paste JSON that fails to parse — often copied straight out of a model reply. Each fix is heuristic, so review the result.

Nothing repaired yet

Paste broken JSON above, then press “Repair JSON”.

Repairs are heuristic and do not guarantee the same meaning — for example a comment inside a string may be removed. Always review the output before using it.

Runs entirely in your browser. Your text is never uploaded.

How it works

This utility runs locally in your browser for privacy and speed.

1 ⚡

Unlimited local tools

This run costs 1 credit(s) and is saved to your history automatically.

Log in to save and view your usage history.

My usage history

No runs recorded yet.

Frequently asked questions

Do I get free credits to try JSON Repair?
Yes — new accounts get 3 free credits to spend on any tool, JSON Repair included. After that you only pay for what you run.
How many credits does JSON Repair cost?
Everything runs in your browser and nothing is uploaded: free accounts pay 1 credit per run, and Pro or Pro+ members run it as often as they like.
Is the content I paste private?
JSON Repair uses your input only to generate the result. Stored results are deleted automatically by our retention policy, and you can remove any run from your history.
Do I need to install anything?
No. JSON Repair works in any modern browser — nothing to download or install.

Related tools

Tools people usually need next, in the same workflow.