DataStays

JSON Repair

What it does

Turns JSON-ish text into strict JSON: single quotes become double quotes, unquoted keys get quoted, Python-style None/True/False become null/true/false, trailing commas and comments are removed.

It rewrites — so it shows you the diff

Unlike the Formatter, Repair is allowed to change your text, so it cannot promise to preserve it. It always shows a before/after diff and labels the result a proposed repair, not a semantic guarantee. Repair makes the text parse; it cannot know the meaning you intended. Review the diff before trusting the output.

When to use it

Pasting a Python dict or a JavaScript object literal, recovering a truncated log line, or cleaning up hand-edited config that no longer parses.

Privacy

The repair runs in your browser. No upload; works offline.