JSON Repair & Inspector
Repair malformed JSON locally, review risk warnings, compare the before and after text, and inspect the repaired structure.
JSON input
Paste JSON text or import one local file.
Characters
0 / 50,000
Review before trusting the result
Review confidence, warnings, diff, tree, and summary.
Repair JSON to see the structure summary.
Repaired JSON
Copy or download the repaired JSON.
Repaired JSON
No text changes were needed.
No tree nodes match the search.
Repair JSON to see the structure summary.
Quick start
Common scenarios
Clean API payloads copied from logs or browser tools.
Repair JSON copied from server logs, webhook traces, or browser console output.
Repair config snippets before formatting or saving.
Turn objects with comments, single quotes, unquoted keys, and trailing commas into standard JSON.
Convert NDJSON records into a valid JSON array.
Normalize JSON-like output from assistants before sharing it with other tools.
Usage advice
Limitations
Privacy and security
FAQ
No. Repair, diff, tree, and summary run locally in the browser.
It repairs many JSON-like patterns, but the output is standard JSON.
Yes. NDJSON/JSONL records can be wrapped into a standard JSON array when the records are repairable.
Duplicate keys are flagged as a risk because parsers may keep only the last value.
JSON Repair accepts malformed or JSON-like input and explains the repair. JSON Formatter is for formatting, minifying, sorting, and validating already valid JSON.
Some input is too incomplete or ambiguous to turn into standard JSON safely. In that case, keep the original text and inspect the source log or payload.
Local repair history stays on this device. Workspace draft sync can include saved input text when you enable sync, but local repair history is not uploaded to WebDAV.