JSON Repair

Repair common JSONC issues and review a change log before trusting the result.

All processing on this page runs locally in your browser unless noted otherwise.

Input
Result
Local offline processing — data is never uploaded

How to use

  1. Paste messy JSON/JSONC on the left.
  2. Run repair and read the change log.
  3. Manually verify semantics, then copy the cleaned JSON.

Example

{
  // demo comment
  name: 'JSON Workbox',
  tags: ['a', 'b',],
  offline: true,
}

FAQ

Is repair guaranteed?

No. It is best-effort. Always review the log and output.

Are comments kept?

Comments are stripped so the result is strict JSON.

Related tools