Every system that exports CSV exports its mistakes too. A customer record leaves the database with no email address. A row loses its last field on the way out. One stray value shifts everything after it one column sideways. None of this is visible in the raw text, where a missing value is just two commas in a row and a short row looks like every other line.
Checking an export means finding those gaps and broken rows before the file is imported, mailed or uploaded somewhere that will reject it, or worse, accept it quietly. This guide walks through a manual check using the free CSV Viewer and Editor on Ovatly: open the file as a grid, sort key columns so gaps group together, filter for rows that must exist, and scan for rows that are short or shifted.
Contents
- Quick answer
- Why exports arrive with gaps and broken rows
- The honest limit: nothing is flagged for you
- The check, step by step
- Worked example: one empty cell and one short row
- Fixing what you find
- Limitations and honest tradeoffs
- Common mistakes
- FAQs
- Conclusion
- References
Quick answer
Open the export in the CSV Viewer and Editor so you see it as a grid instead of raw text. Sort each key column: empty cells collect together, which turns a file-wide hunt into a short list of suspect rows. Filter for a value you know should be present, such as a product code, and confirm the expected rows are there. Then scroll the grid looking for rows that end early or whose values sit under the wrong headings. Fix cells in place, delete rows that should not ship, and download the cleaned CSV. One warning: the viewer flags nothing automatically, so the method below is the check.
Why exports arrive with gaps and broken rows
Missing values usually start as optional fields. Someone registered without a phone number, a product was never given a weight, a sensor skipped a reading. The export faithfully writes nothing between the commas, and the gap only becomes a problem later, when an import demands the field or a report quietly averages over fewer rows than you think.
Broken rows have mechanical causes. A field is dropped during export, a line is truncated, or a value containing the separator is written without protection, so one record ends up with fewer or more fields than the header promises. In raw text these rows hide in plain sight. In a grid they cannot: a short row ends early, and a shifted row puts a name where a number belongs.
The honest limit: nothing is flagged for you
The CSV Viewer and Editor does not validate your file. It will not highlight a missing value, warn about a short row or score the export's health. The check described here is a human scan from start to finish.
What the grid gives you is speed. Sorting gathers every blank in a column into one block you can read in seconds. Filtering pulls the rows containing a known value out of thousands. Fixed headers stay on screen while you scroll, so you always know which column you are looking at. The judgement stays yours; the tool just makes sure you are judging the whole file, not the first screen of it.
The check, step by step
- Open the CSV Viewer and Editor and load your export. The first row is always treated as the header, so confirm the headings sit over the right columns.
- Pick the columns that must never be empty: identifiers, names, amounts, dates, contact fields. Sort the first one by clicking its header. Numbers sort numerically and everything else alphabetically, and the empty cells collect at one end.
- Read the blank block. Each row there is missing that value. Decide whether the gap is legitimate (an optional field left empty on purpose) or a defect to fix or send back.
- Clear the sort and use the filter to search for a value you know should exist: a specific order number, a flagship product, your own test record. If the filter finds nothing, the export itself is incomplete.
- Scroll the full grid slowly and look at the right edge. Rows that end before the last column, or whose final values sit under implausible headings, are your broken rows.
- Repeat the sort for each remaining key column. A file can be clean on email and broken on postcode, and one pass only checks one column at a time.
Worked example: one empty cell and one short row
Here is a tiny export with both defects planted in it:
name,age,city
Ana,31,Lisbon
Ben,28,Porto
Cleo,,Madrid
Dan,35
Sorting by age groups the rows by their age values, and Cleo's row, with nothing between its commas, lands with the blanks. Her name and city are present; only the age is missing. Whether that matters depends on what the file feeds, but now it is a decision instead of a surprise.
Dan's row is the broken one. It carries three fields against a four-column header, so in the grid it ends one cell early: 35 sits under age and the city cell is simply absent. In raw text the line looks unremarkable. In the grid, the short right edge gives it away at a glance.
Fixing what you find
Small defects can be repaired on the spot. Click a cell and type the correct value, delete a row that should never have been exported, or add a row that is missing. When the grid matches what the export should have been, download it as a clean CSV and send that copy onward.
Keep one discipline: edits live only in the page, so download before you reload or close the tab, or every fix is discarded.
Limitations and honest tradeoffs
On very large files the grid shows only the first 500 rows that match your current filter. Sorting, filtering, editing and downloading still work on the full data, but what you see is a slice, so work through a big export filter by filter rather than trusting one long scroll.
The first row is always the header. An export without a header row will have its first record treated as headings, which makes the scan confusing until you account for it. And the scan is only as thorough as the columns you choose to sort: a column you never sort is a column you never really checked.
Common mistakes
- Checking only the first screen. Errors distribute through the whole file. Sort and filter exist precisely so you do not have to read every row.
- Sorting one column and declaring the file clean. Each sort checks one column. Work through every key column in turn.
- Assuming a blank is always a defect. Some fields are legitimately optional. The check surfaces blanks; you decide which ones are wrong.
- Fixing cells and forgetting to download. Edits live only in the page. A reload wipes them, so download the cleaned copy before anything else.
- Skipping the known-value filter. A missing row leaves no trace in the grid. Only searching for something that must be there can reveal an incomplete export.
FAQs
Does the CSV viewer find errors automatically? No. The viewer shows your file as an editable grid and never flags missing values or broken rows for you. The check is a scan you do yourself; sorting and filtering simply make that scan much faster than reading raw text.
How does sorting help find missing values? Sorting a column groups identical values together, and empty cells collect at one end of the sort. Instead of hunting through the whole file, you look at the block of rows where that column is blank and decide which blanks are genuine problems.
What does a broken row look like in the grid? A row with fewer fields than the header shows up short, with its last cells empty and the values it does have sitting under the wrong headings. A row with extra fields can push values one column over, so a name appears where a number belongs.
Can I fix problems in the viewer, or only look at them? You can fix them. Cells edit in place, rows can be added or deleted, and you download the result as a clean CSV. Remember that edits live only in the page, so download before you close or reload the tab.
What happens with a very large export? On very large files the grid shows the first 500 rows that match your current filter. Sorting, filtering, editing and downloading still work on the full data, so use the filter to work through a big export in slices.
Conclusion
A CSV check is a scan, not a verdict a tool hands you. Sort the columns that matter so the blanks gather where you can see them, filter for rows that must exist, and watch the right edge of the grid for rows that end early. The CSV Viewer and Editor makes that scan fast and lets you repair small defects before downloading a clean copy. If you are deciding between tools for this kind of job, our comparison of CSV viewer vs spreadsheet app covers which one wins a quick check. For more guides in this series, see our Data and JSON Tools guides.
References
- RFC 4180, the common format and MIME type for CSV files: https://www.rfc-editor.org/rfc/rfc4180