JSON Repair

Repair a narrow set of recoverable JSON syntax mistakes without executing input.

JSON Repair workspace

Up to 200,000 input characters, depth 40 and 20,000 JSON nodes. Processing stays on this device; no input is stored. Use an example to inspect the accepted input structure.

Enter input or use the example.

How to use JSON Repair

Paste JSON containing bare ASCII keys, single quoted strings or trailing commas. Review the resulting JSON before using it.

Supported workflow and acceptance requirements

Repair only explicitly documented recoverable syntax errors (trailing commas, bare keys and single quotes), show modifications; reject ambiguous and unsafe input. No eval.

Limits and local processing

Unclosed strings, comments and expressions are rejected. Applied syntax changes are listed by zero-based input offset. Review repaired values before use. Input is processed on this device without uploads. Browser workers and Web Crypto are required for the applicable tools; clipboard access depends on browser support.

Related tools