How to use
- Paste the source, open a UTF-8 file or try the Sample.
- Select Repair JSON and inspect the highlighted changes.
- Review the result, then copy a selection or download the complete text.
JSON Repair
Paste a broken JSON-like document and select Repair JSON. The original stays in the input editor; the result is validated as strict JSON and formatted without rounding numeric tokens.
Processing stays in your browser. DevToolsy does not receive the pasted data or selected file.
Input and processing
Missing quotes or commas, single-quoted strings and some truncated documents can be repaired. Review the highlighted additions and removals, which also include formatting changes.
{name: 'Ada', id: 9007199254740993, active: True,}{
"name": "Ada",
"id": 9007199254740993,
"active": true
}This example uses the default settings.
Result and limitations
A repair algorithm can infer values or discard unsupported fragments. It cannot know what the author intended. Duplicate keys are rejected rather than silently choosing a value.
Using the output
Review the result, then copy a selection or download the complete text.
UTF-8 input up to 1 MiB; output up to 8 MiB. Processing stops after 30 seconds.
Frequently asked questions
What can JSON Repair fix?
Paste a broken JSON-like document and select Repair JSON. The original stays in the input editor; the result is validated as strict JSON and formatted without rounding numeric tokens.
How can I review the changes?
Missing quotes or commas, single-quoted strings and some truncated documents can be repaired. Review the highlighted additions and removals, which also include formatting changes.
Does a successful repair recover the original meaning?
A repair algorithm can infer values or discard unsupported fragments. It cannot know what the author intended. Duplicate keys are rejected rather than silently choosing a value.
Is the input uploaded?
Processing stays in your browser. DevToolsy does not receive the pasted data or selected file.
Can I keep the result?
Review the result, then copy a selection or download the complete text.