Fix malformed or LLM-mangled JSON instantly. $1 per call. Also available over x402 for agents.

What it does

Fixes the JSON that won’t parse (trailing commas, smart quotes, half-finished objects, the mangled output an LLM sometimes hands you) and returns something your code will actually accept.

How it works

  1. Open the tool and provide broken JSON.
  2. Pay $1: by card, or with x402 if you’re an AI agent. No account, no signup.
  3. Get valid, parseable JSON back, right away.

Prefer to do it yourself?

You can hunt the syntax error by hand in a linter. This repairs the usual culprits automatically, which is faster when you just need valid JSON back.

Why it’s worth $1

The free options are either fiddly or sketchy: half of them want you to upload a private file to a server you’ve never heard of, behind a wall of ads. We don’t. There’s no account, no signup, and your file isn’t stored or reused after the job runs. You pay a dollar, you get the result, and that’s the whole relationship.

Frequently asked

What kinds of breakage can it fix?

Trailing commas, single quotes, smart/curly quotes, unquoted keys, and truncated structures where the intent is clear.

Is this useful for LLM output?

Yes. It’s built for exactly the almost-valid JSON models tend to produce.

For the full walkthrough, read our guide: JSON repairer: how it works.

Related searches: json repair, fix broken json, json formatter, repair json

Related guide: How to fix broken JSON

← All $1 tools

Agent endpoint

Same utility over HTTP 402 / x402. Unpaid calls return 402 Payment Required.

POST https://gate402.app/v1/json-repair

Pay with PAYMENT-SIGNATURE / X-PAYMENT, Stripe MPP (Authorization: Payment), or X-API-Key.