Find Incomplete CSV Records
Detect CSV rows with missing or extra fields compared to the header. Highlights problematic rows. 100% client-side.
Spot CSV rows with missing or extra columns by checking every line against your header's field count. Broken rows show up with their row number, expected vs. actual column count, and the raw content so you can fix them fast. And everything runs in your browser. Nothing gets uploaded.
How It Works
The parser reads your first row as the header and counts how many fields it contains. Then it walks through every remaining row and checks whether the field count matches. Quoted fields with commas inside them are handled correctly (RFC 4180 compliant), so "New York, NY" counts as one field, not two.
Examples
Missing Email in a Contact List
Someone accidentally deleted the email field on row 3 during a manual edit.
name,email,phone
Alice,[email protected],555-0101
Bob,555-0102
Carol,[email protected],555-0103
Row 3 [MISSING FIELDS]
Expected: 3 | Actual: 2
Content: Bob,555-0102
Extra Comma in Product Data
An unquoted description contains a comma, creating a phantom extra column.
sku,name,price
A001,Widget,9.99
A002,Gadget, small,14.50
A003,Doohickey,7.25
Row 3 [EXTRA FIELDS]
Expected: 3 | Actual: 4
Content: A002,Gadget, small,14.50
Multiple Issues in a Survey Export
A Google Sheets export where two respondents had blank answers that collapsed the field count, and one had a stray pipe character that got interpreted as a comma after conversion.
id,q1,q2,q3,q4
1,Yes,No,Maybe,Yes
2,Yes,No
3,No,Yes,Yes,No
4,Yes,No,Probably,Yes,Extra
5,Yes,No,No,Yes
Row 3 [MISSING FIELDS]
Expected: 5 | Actual: 3
Content: 2,Yes,No
Row 5 [EXTRA FIELDS]
Expected: 5 | Actual: 6
Content: 4,Yes,No,Probably,Yes,Extra
Who Uses This
Quick sanity check before importing CSV into a database or API pipeline.
Catch broken rows in exports from CRMs, dashboards, or ETL jobs before running queries.
Validate test data fixtures and spot malformed records that would cause silent failures.
Verify client-submitted CSV files are clean before handing them to the dev team.
Common Mistakes
A value like Gadget, small gets split into two fields unless you wrap it in double quotes: "Gadget, small". This is the single most common reason for "extra fields" errors.
A trailing comma creates an empty extra field. If row 5 ends with value, while the header doesn't, that row will show one extra field. Remove the trailing comma or add one to every row (including the header) to stay consistent.
If your file uses tabs instead of commas, the parser sees each full line as a single field. The header will show 1 column, and every row will match — hiding the real problem. Convert tabs to commas first, or use a TSV-specific tool.
Technical Details
- Processing: 100% client-side — no server uploads
- Browser Support: Chrome, Firefox, Safari, Edge
- CSV Parsing: RFC 4180 compliant (handles quoted fields, escaped quotes, embedded newlines)
- Max Size: Limited only by your browser's available memory
Frequently Asked Questions
How do I find rows with missing data in a CSV file?
Paste your CSV into this tool and click Analyze. It compares every row's field count against the header. Any row with fewer fields than expected gets flagged with the row number and a count of how many fields are missing — so you can go fix them directly.
Does this tool work with semicolons or tabs as delimiters?
It's built for comma-delimited CSV files specifically. If your file uses semicolons or tabs, you'd need to replace those with commas first. A quick find-and-replace in any text editor handles that in seconds.
Can I fix incomplete CSV records automatically?
This tool detects and reports problems — it doesn't modify your data. For automatic fixes, use the Fill Incomplete CSV Records tool, which pads short rows with a fill value you choose (like an empty string or "N/A").
Is my CSV data safe when using this tool?
Yes. Everything happens in your browser with JavaScript. Your data is never sent to any server. Close the tab, and it's gone — nothing gets stored or logged.
Why does my CSV show extra fields when the data looks correct?
Almost always, it is an unquoted comma inside a field value. Something like Portland, OR gets read as two separate fields. Wrap values that contain commas in double quotes: "Portland, OR". That fixes it every time.