Repair Broken JSON from LLMs - Offline JSON Fixer avatar

Repair Broken JSON from LLMs - Offline JSON Fixer

Pricing

from $1.00 / 1,000 document repaireds

Go to Apify Store
Repair Broken JSON from LLMs - Offline JSON Fixer

Repair Broken JSON from LLMs - Offline JSON Fixer

Repair broken or incomplete JSON from language models. Offline, no API key. $0.001 per document. Already-valid JSON is reported honestly. Failed empty input is free. Works from Apify MCP and the API.

Pricing

from $1.00 / 1,000 document repaireds

Rating

0.0

(0)

Developer

Tidy Byte Tools

Tidy Byte Tools

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

16 hours ago

Last modified

Features

Limited permissions

Share

Repair Broken JSON from LLMs

Fix broken or incomplete JSON, including output from language models. Runs offline. No API key.

Repair JSON. $0.001 per document. Already-valid JSON is reported honestly. Empty input is free. Works from Apify MCP and the API.

Try it free: Apify gives every account $5 of free credit each month (no card), which covers about 5,000 one-document runs of this tool.

Also searched as: ES: reparar JSON roto, arreglar JSON de IA / PT: reparar JSON quebrado, corrigir JSON de IA / DE: defektes JSON reparieren / FR: réparer un JSON cassé, corriger un JSON d'IA / JA: 壊れたJSONを修復 / ZH: 修复损坏的JSON、修复AI生成的JSON

Example (real run, Nov 17, 2026)

Input (not valid JSON: unquoted keys, single quotes, a trailing comma):

{ "jsonText": "{name: 'Ada', ok: true, trailing: 'comma',}" }

Output (one dataset item):

{
"type": "document",
"source": "pasted.json",
"wasValid": false,
"repaired": true,
"value": { "name": "Ada", "ok": true, "trailing": "comma" }
}

Also searched as: ES: reparar JSON, JSON roto / PT: reparar JSON, JSON quebrado / DE: JSON reparieren / FR: réparer un JSON cassé / JA: 壊れたJSONを修復

Example

Input:

{
"jsonText": "{name: 'Ada', ok: true, trailing: 'comma',}"
}

That input is not valid JSON (unquoted keys, single quotes, trailing comma). Output from an actual run:

{
"name": "Ada",
"ok": true,
"trailing": "comma"
}

Already-valid JSON is left alone and reported honestly as wasValid: true.

Free local version

A free local CLI and MCP server is on GitHub. It runs on your computer and does not fetch file links.

Input

  • Paste one JSON value, or several JSON Lines
  • Or add links to .json or .jsonl files
  • Turn on "Treat input as JSON Lines" to force one document per line

Output

One dataset row per document, with the repaired value, whether it was already valid, and a downloadable JSON file in the key-value store.

Price

You pay $0.001 per document we save, including JSON that was already valid. Empty or unreadable input is free. There is no start fee from us. Apify adds its normal small platform cost.

Honest limits

  • This is a deterministic repair step, not a language model. It can close missing brackets and fix common syntax issues. It cannot invent the data you meant to write.
  • Some text cannot be repaired. Those rows are errors, and they are free.
  • We do not fetch URLs that are inside the JSON. File links are only the files you ask us to read.

FAQ

Works from Apify MCP? Yes. Search for "json repair" or "fix broken json". Do you call an AI model? No. The repair runs offline.