Cleaning a CSV: the invisible problems that break an import
Most problems in a CSV file cannot be seen in a spreadsheet. A space after a name looks like nothing, but it makes "Ravi Kumar " a different value from "Ravi Kumar", so a lookup fails and a count shows two customers. A row of empty cells at the end of an export becomes a record with no values. A column with a blank header or a header with a line break in it stops an import tool or produces a column named Unnamed: 7. This tool fixes those problems of shape and spacing, and leaves your values alone.
Cell cleaning has two parts. Trim removes spaces and tabs at the start and end of every cell, which is where stray spaces almost always are. Collapse turns a run of two or more spaces or tabs inside a cell into one space, which fixes names and addresses that were typed or pasted with double spaces. Neither option converts values. A cell holding 01234 is still 01234 afterwards, and a date is still written the way it was, because the cleaner keeps every cell as text.
Structure cleaning removes rows and columns that hold nothing. A row is dropped only when every one of its cells is blank, and a column only when every cell in it is blank. A single value anywhere keeps the row or column. The counts above the preview say how many of each were removed, and the dropped columns are listed by name, so nothing disappears without you seeing it.
Header cleaning matters most when the file goes into code or a database. Pick snake_case and "Order ID", "E-mail Address " and "orderId" become order_id, e_mail_address and order_id. Repeated names get a number, so the second order_id becomes order_id_2 and no column is silently overwritten when the table is read by name. camelCase, Title Case and lower case work the same way, and Keep only tidies the spaces. Every header that changed is listed with its old and new name.
The cleaning runs in a background worker on this device, so files up to 200 MB are handled without being uploaded. The preview shows the first 100 rows of the result and the download has every row. Changing an option re-runs the cleaning from the file you opened, so you can try a setting and turn it off again. The cleaner does not remove duplicate rows or fill blanks. Use the Duplicate Row Finder and the Missing Value Analyzer for those.