CSV Cleaner

Trim cell edges, remove empty rows, and drop duplicate records before exporting a clean CSV.

Input

CSV cleanup

Paste CSV or choose a file, then pick which data to clean.

Table options

Result

Review how many records and cells changed before exporting.

Enter or upload data first.

CSV exports prefix potentially formula-like cells with an apostrophe for spreadsheet safety.

Runs in your browser. Nothing is uploaded.

Also known as: dedupe csv, trim csv values, remove empty csv rows

How to use

  1. Paste CSV data or choose a UTF-8 file.
  2. Confirm the separator and first-row header setting.
  3. Choose cleanup rules and review the reported counts.
  4. Copy or download the cleaned CSV.

Frequently asked questions

How are duplicate rows detected?

All their cells must match in the same order. If trimming is on, the tool compares the trimmed values.

Can a row with a single empty cell be kept?

Yes. The empty-row rule removes a row only if every cell is blank or contains only whitespace.

Can the header row be removed as a duplicate?

No. When headers are enabled, the first row is kept separately from the duplicate and blank-row checks.

Does export keep the field separator?

Yes. It keeps the detected or selected separator and quotes fields for CSV output.