Home
Watchdroid
Mail Blackhole
JSON Formatter
JSON Viewer
JSON Compare
JSON Repair
JSON Escape & Unescape
JSONPath Tester
JSON Converter
JSON to JSON Schema
JSON to Code
JSON to TypeScript
JSON to Zod Schema
JSON Schema to Code
JSON Flatten & Unflatten
OpenAPI & Swagger Validator
blackdroid.dev

JSON Repair

Fix broken JSON online for free. Repairs comments, single quotes, unquoted keys, trailing commas and JS/Python literals automatically.

Repaired output
10 fixes applied
  • Removed // and /* */ comments
  • Converted single-quoted strings to double quotes
  • Quoted unquoted key "name"
  • Quoted unquoted key "version"
  • Quoted unquoted key "features"
  • Replaced undefined with null
  • Converted None to null
  • Quoted unquoted key "deprecated"
  • Quoted unquoted key "retries"
  • Removed trailing commas
{
    "name": "service-api",
  "version": "1.2.0",
  "features": ["auth", "cache"],
  "deprecated": null,
  "retries": null
}

About JSON Repair

Paste malformed JSON to automatically repair common syntax errors: comments, single-quoted strings, unquoted keys, trailing commas, and literals like undefined, NaN, True or None.

Every applied fix is listed so you can see exactly what was changed. String contents are never touched, and everything runs locally in your browser.