Repair malformed JSON text into valid parsed JSON
Repair malformed JSON text into valid parsed JSON: markdown code fences, single quotes, smart quotes, unquoted keys, trailing commas, comments, Python literals (True/None), raw newlines in strings, and truncated output (auto-closes strings, arrays and objects). Returns the parsed value plus a log of every repair applied. Built for LLM output that almost parses. POST a JSON body like: {"text":"```json\n{name: 'Ada', age: 36, tags: ['x',], active: True"}
Answeringour last check, 2026-09-24
1 of 1checks answered this week
390 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
POST https://keyronne.com/api/json-repair
| Category | Code and developer |
|---|---|
| Provider host | keyronne.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 12 from 10 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-09-24 | valid payment request | 402 | $0.001 | 390 ms |
Example input (from the provider)
{
"body": {
"text": "```json\n{name: 'Ada', age: 36, tags: ['x',], active: True"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"properties": {
"body": {
"properties": {
"text": {
"description": "The malformed JSON text to repair.",
"type": "string"
}
},
"required": [
"text"
],
"type": "object"
},
"bodyType": {
"enum": [
"json"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"type": "object"
},
"output": {
"properties": {
"repairs": {
"description": "Human-readable list of repairs applied (empty if input was valid).",
"items": {
"type": "string"
},
"type": "array"
},
"value": {
"description": "The repaired, parsed JSON value."
}
},
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}