Data study
The State of Broken JSON
Across 486 repairs since May 23, 2026, 11.5 % of the JSON people pasted was already valid and the most common fault was bom, null bytes or invisible characters (25.7 % of counted faults).
Counted in the browser after each repair as numbers only: the categories the engine applied, never the text. Updated hourly. A small sample so far (486 of the 500 repairs this study waits for before it is cited).
What breaks JSON, all time
One repair can carry several faults; the counts are faults, not documents. 693 faults counted.
- BOM, null bytes or invisible characters178 · 25.7 %
- Missing commas143 · 20.6 %
- Truncated output (unclosed strings or brackets)92 · 13.3 %
- Other structural faults71 · 10.2 %
- Comments inside JSON50 · 7.2 %
- Trailing commas43 · 6.2 %
- Markdown code fences around the JSON33 · 4.8 %
- Single or smart quotes29 · 4.2 %
- Python literals (True, False, None)23 · 3.3 %
- Unquoted keys16 · 2.3 %
- Several JSON documents run together8 · 1.2 %
- Malformed numbers3 · 0.4 %
- NaN, Infinity or undefined as values3 · 0.4 %
- Duplicate keys1 · 0.1 %
Last 28 days
The same count over the last four weeks, so a new model or tool that breaks JSON in a new way shows up here first.
- BOM, null bytes or invisible characters157 · 32.1 %
- Missing commas101 · 20.7 %
- Truncated output (unclosed strings or brackets)66 · 13.5 %
- Other structural faults55 · 11.2 %
- Comments inside JSON27 · 5.5 %
- Trailing commas26 · 5.3 %
- Markdown code fences around the JSON17 · 3.5 %
- Single or smart quotes15 · 3.1 %
- Unquoted keys11 · 2.2 %
- Python literals (True, False, None)10 · 2 %
- Malformed numbers2 · 0.4 %
- Several JSON documents run together1 · 0.2 %
- Duplicate keys1 · 0.2 %
Repairs per week
The last twelve weeks, Monday to Sunday; the current week is green and still counting.
How the numbers are made
The repair engine runs in the browser. After each run the page sends three fields to the site: whether the result was valid, whether the input was already valid, and the list of repair categories applied. Nothing else leaves the browser; the JSON itself is never sent. The API counts its own repairs the same way. The categories are the engine's fifteen repair stages, from stripping Markdown fences to closing truncated structures.
Because one broken document often carries several faults, the category chart counts faults, not documents. “Already valid” means the pasted text parsed before any repair; people paste valid JSON to format or inspect it.
Use the data
Cite the page with a link; the numbers are CC BY 4.0. The raw aggregates are at /api/stats as JSON. For the faults themselves, each has a guide under JSON errors, and the repair itself is one paste away.
Still dealing with broken JSON?
Paste it in and get it fixed in under 1 second — free, no signup, no install. Works with ChatGPT, Claude, n8n, and any AI output.
Fix My JSON Free →