Cleaning a spreadsheet does not mean changing everything that looks unusual. The goal is to remove inconsistencies that make later work unreliable while preserving the meaning of the original data.
A good cleaning pass is especially useful before merging exports, comparing versions, importing records into another system or converting a file to another format.
Keep the source file
Before changing important data, keep an untouched copy. If a rule turns out to be wrong, you can return to the source rather than trying to undo several transformations.
This simple habit also makes a workflow easier to reproduce later.
Start with empty rows and obvious noise
Blank rows can create misleading counts and sometimes interfere with imports. Leading or trailing spaces are equally subtle: Paris and Paris may look identical to a person but can be treated as different values by software.
The Excel and CSV Cleaner is designed for these broad preparation steps.
Standardize headers before merging files
Headers define the schema of a table. If three monthly exports use customer_id, Customer ID and id_client, merging them may create separate columns even though the business meaning is the same.
Choose clear, stable names before combining sources. When only header names need to change, Rename CSV columns lets you correct them without altering the rest of the table.
Be careful with identifiers
A value such as 00125 may be an identifier, not the number 125. Converting it to a numeric type would remove the leading zeros and change the business value.
The same caution applies to phone numbers, postal codes, product references and account IDs. Clean based on the semantics of the column, not only on how the values look.
Missing values need context
An empty value can mean “unknown”, “not applicable”, “not collected” or simply “error”. Replacing every blank cell with zero or an empty string may introduce incorrect information.
Decide which columns are required and which may legitimately be empty.
Duplicates require a rule
Two completely identical rows are easy to identify. Real-world duplicates are more complicated: the same customer may appear twice with different capitalization, a changed email address or an updated phone number.
Before deleting anything, decide which columns define uniqueness. CSV Deduplicator is useful when a controlled column-based rule can be applied.
Validate headers and syntax
A CSV can contain useful values and still be structurally invalid because of broken quoting or inconsistent delimiters. Conversely, a syntactically valid CSV may contain poor-quality business data.
Use the CSV Validator for format-level checks, then complement it with content-level review. CSV Statistics can help spot unusual distributions or unexpected counts.
Review after cleaning
After a cleaning pass, verify at least:
- the row count;
- the expected headers;
- key identifier columns;
- a few records from the beginning, middle and end;
- values that must retain leading zeros or special characters.
Cleaning and validation are complementary. One fixes data inconsistencies; the other confirms that the file can still be interpreted correctly.
Clean for the next operation
The right level of preparation depends on what happens next. For a merge, align schemas. For a comparison, stabilize the comparison key. For JSON conversion, ensure that headers will become sensible property names.
A good cleaning step is therefore not an isolated task. It prepares a specific downstream operation and is often the first building block of a reusable data workflow.