Repair

JSON repair.

Paste messy JSON and Pandia fixes it — trailing commas, single quotes, unquoted keys, comments, NaN/Infinity, BOM/CRLF, JSONP wrappers and missing brackets.

Local · Offline · Free · Apache-2.0

Pandia’s parser is strict by design. When input arrives broken, Repair coerces it into valid JSON so you can open it normally — no manual hunting for the stray comma.

Example

Before — a comment, a single-quoted string, an unquoted key and a trailing comma:

{
  // user record
  name: 'Ada',
  "score": NaN,
}

After — clean, valid JSON:

{
  "name": "Ada",
  "score": null
}

What it fixes

  • Trailing commas and unquoted keys.
  • Single quotes and comments (// and /* */).
  • NaN, Infinity, undefinednull.
  • BOM/CRLF, JSONP wrappers, missing brackets and bad escapes.

Frequently asked questions

What kinds of broken JSON can Pandia repair?

Trailing commas, unquoted keys, single-quoted strings, // and /* */ comments, NaN/Infinity/undefined, BOM and CRLF, JSONP/parenthesis wrappers, missing brackets, unterminated strings and bad escape sequences.

How does repair work?

Pandia’s parser is strict by design. If your input fails it, run Repair to coerce the text into valid JSON, then open it normally in any of the views.

Does it work offline and on large files?

Yes — repair runs locally with no upload, so it works offline and on large inputs.

Get Pandia

Stop fighting your JSON.

Download the native app, open your biggest file, and get to work. Free, offline, and open source.