How do I turn this broken JSON from an LLM into valid JSON?
How do I turn this broken JSON from an LLM into valid JSON? JSON repair for LLM output: Turns the broken JSON a language model wrote into valid JSON and lists every fix it made. $0.001 per call in USDC, charged only on a 2xx answer. Try it free: https://forge.fizzl.eu/try/json-repair. Signed receipt. Own this tool for $1.00 and earn from every call: https://forge.fizzl.eu/forge/packages/json-repair.
Answeringour last check, 2026-11-26
7 of 7checks answered this week
468 msmedian answer time
$0.001listed price per call
$0.001price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
GET https://forge.fizzl.eu/p/json-repair
| Category | Everything else |
|---|---|
| Provider host | forge.fizzl.eu |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 2 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-26 | valid payment request | 402 | $0.001 | 461 ms |
| 2026-11-25 | valid payment request | 402 | $0.001 | 468 ms |
| 2026-11-24 | valid payment request | 402 | $0.001 | 791 ms |
| 2026-11-23 | valid payment request | 402 | $0.001 | 801 ms |
| 2026-11-22 | valid payment request | 402 | $0.001 | 455 ms |
| 2026-11-21 | valid payment request | 402 | $0.001 | 466 ms |
| 2026-11-20 | valid payment request | 402 | $0.001 | 476 ms |
| 2026-11-19 | valid payment request | 402 | $0.001 | 793 ms |
| 2026-11-18 | valid payment request | 402 | $0.001 | 456 ms |
Example input (from the provider)
{
"method": "GET",
"queryParams": {
"text": "Here is the result:\n```json\n{name: 'Ada', tags: ['math', 'code',], active: True, // note\n \"score\": NaN}\n```"
},
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"properties": {
"text": {
"description": "The LLM answer or JSON-like text to repair (at most 200,000 characters).",
"maxLength": 200000,
"type": "string"
}
},
"required": [
"text"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}