DATA REPAIR FIELD GUIDE

Fix malformed JSON Lines records

Fix malformed JSON Lines records. Practical steps, common causes and a matching browser-local DataCleaner tool.

Step-by-step approach

  1. Confirm there is one complete JSON value per physical line.
  2. Validate each line independently; JSONL is not one giant JSON array.
  3. Use the JSONL validator to identify invalid line numbers.
  4. Review dropped lines before exporting only valid records to prevent accidental data loss.
  5. Re-run validation on the exported file.
Try the matching tool

Open JSONL Validator to work on a local copy. Review the result before importing it elsewhere.

Open JSONL Validator ↗

What this does not solve

Browser tools can validate known structures and transform available data, but cannot restore deleted or corrupted bytes, infer unknown business facts, or guarantee that a target system will import every field as intended.