# Turns messy LLM output into valid JSON: strips Markdown code fences and surrounding prose, fixes trailing commas, single quotes, unquoted keys, comments, Python True/None, cut-off brackets, and stringified JSON. Optionally validates the result against a JSON Schema (draft 4 to 2020-12) and lists each error with its location. Returns the parsed data, the JSON text, and what was changed. Not charged if no JSON can be recovered or the input is invalid.

Verified by [Verified x402](https://verifiedx402.com).

- URL: https://verifylite.hydratinghealingtouch.workers.dev/sanitize-json
- Category: inference
- Network: eip155:8453
- Advertised price: 0.0039
- Last checked: 2026-11-25T07:08:58.016Z
- Score: 90.5

This listing passed a recent check: the endpoint is live and the advertised price and terms match. Check before paying, then pay the API yourself.

- HTML: https://verifiedx402.com/v/34df732c8ab455c5ccaa487a0b4732fa
- Badge: https://verifiedx402.com/badge.svg?url=https%3A%2F%2Fverifylite.hydratinghealingtouch.workers.dev%2Fsanitize-json
- Independent check: [vet402](https://vet402.com/api/v1/check?url=https%3A%2F%2Fverifylite.hydratinghealingtouch.workers.dev%2Fsanitize-json)

```json
{
  "checkedAt": null,
  "httpStatus": null,
  "latencyMs": null,
  "priceMatches": null,
  "payToMatches": null
}
```
