Conservative mode fixes comments, simple quotes and keys, BOMs, and trailing commas. Comprehensive mode also attempts missing delimiters, wrappers, dialect literals, escaped or truncated input, and multiple root values.
Your data stays in this browser
Input JSONJSON
UTF-8Ln 1, Col 1
ResultJSON
UTF-8—
Loading…
Browser-only autosaveInputs and settings stay saved only in this browser and return after a reload. Turn on Clear saved data to keep this tool session-only.
Your data stays in this browser
InstantNo server round trips
PrivateBrowser-side processing
AuditableDocumented semantics
PortableCorrectly typed downloads
Category
JSON Repair: How to use this tool
Repair malformed JSON with a non-evaluating parser, then verify and format the result as strict JSON.
Conservative mode fixes comments, simple quotes and keys, BOMs, and trailing commas. Comprehensive mode also attempts missing delimiters, wrappers, dialect literals, escaped or truncated input, and multiple root values.
Open guide and examples
How to use this tool
Paste JSON, upload a local file, or load a CORS-enabled public URL.
Start with Conservative. Choose Comprehensive in Advanced for heuristic recovery, then compare every repaired value with the source.
Review the result, then copy it or download it with the correct file type.
Example to try
Input JSON
{
// Common JSON-like mistakes this tool can repair.
project: 'jsonformatters.org',
settings: { enabled: true, },
tags: ['json', 'repair',],
}
No. The transformation runs in your browser. URL import contacts only the address you explicitly enter.
What happens when the JSON is invalid?
The editor marks the likely location and keeps stale output out of the result pane.
What does JSON Repair produce?
Success means the output is syntactically valid JSON. The final formatter retains duplicate members and numeric lexemes that remain in the repaired serialization; it does not prove inferred values match your intent.
What limitation applies to JSON Repair?
Comprehensive recovery may insert null, quote unsupported tokens, remove placeholders or wrappers, combine root values, reshape malformed arrays, or close truncated strings. No source code is executed.