Back to tools
Data Processingpublic tool

JSON Repair

Fixes the malformed JSON that slips through APIs, config files, and copy-paste — trailing commas, single quotes, unquoted keys, comments, and non-JSON literals.

Status
Parses as valid JSON
Fixes applied
5
Before
237 bytes
Local
100% browser

Repairs applied

5 transforms changed the document

  • Removed comments

    1 line comment, 1 block comment

  • Converted single-quoted strings

    2 strings

  • Quoted unquoted keys

    8 keys

  • Replaced non-JSON literals

    2 occurrences → null

  • Removed stray commas

    4 occurrences

Before

The document as it arrived

After

Valid JSON, 2-space indent

{
  "id": 201,
  "name": "ItzDabbzz",
  "handles": [
    "dabz",
    "davin"
  ],
  "stats": {
    "commits": 812,
    "ratio": null,
    "streak": null
  },
  "links": {}
}