JSON Repair Tool: Fix Invalid JSON Locally

Repairs common malformed JSON syntax such as comments, trailing commas, unquoted keys, single-quoted strings, smart quotes, and Python-style literals without executing the input.

Runs locally in your browser
The repairer never evaluates code. It applies a limited, reviewable set of text transformations in this browser.
Invalid or JSON-like input

Safe repair is intentionally limited

The tool handles comments, trailing commas, single quotes, unquoted keys, smart quotes and common non-JSON literals. It never runs JavaScript, guesses missing business data, or silently hides an unrepaired parse error.

Recent tools: