How to compare two CSV files
CSV files look simple, but small differences in delimiters, encodings, spaces, and data types can affect a comparison. A clean key and consistent headers make the result reliable.
Prepare the files
- Use the first row for unique, non-empty column names.
- Keep a stable identifier such as an order ID or account number in both files.
- Check that identifiers with leading zeroes have not been converted to numbers.
- Remove accidental spaces from key values if they are not meaningful.
Compare row by row
- Add the older CSV as File A and the newer CSV as File B.
- Select one or more matching key columns. Column order does not need to be the same.
- Exclude columns that change routinely but are irrelevant to this review.
- Run the comparison, then review Changed, New, Missing, and Duplicate rows.
- Filter or search the results before exporting the full result or only the filtered rows.
CSV or Excel export?
A CSV export is useful when the result will be loaded into another system or processed as plain text. It includes the row status and changed-column labels, but CSV cannot store colors. Choose the Excel export when reviewers benefit from yellow-highlighted changed cells and highlighted new or missing records.
Exact comparison matters
“ACTIVE” and “Active” are different values. So are a number and text containing the same digits. Rowwise also respects spaces. This precision helps catch real source-data inconsistencies, but it means you should standardize data when those differences are unimportant.
Spreadsheet contents stay on your device: the browser reads and compares the CSV files locally, then builds the download locally.