Skip to content
hateitall

CSV Cleaner

Build a repeatable list of cleaning steps and download a tidy CSV, without opening a spreadsheet.

Processed locallyIn: CSV, TSV, TextOut: CSV, TSV

Loading tool…

How to use csv cleaner

  1. Drop a CSV or TSV file, or paste the text.

  2. Keep the two starting steps (trim spaces, remove empty rows) or press Quick clean.

  3. Add more steps, such as Remove duplicate rows, Convert dates to YYYY-MM-DD or Find and replace.

  4. Watch the counts next to each step and the preview below to see what changed.

  5. Choose the delimiter and quoting, then download the cleaned file.

What this tool does

  • Thirteen steps: trim, empty rows, empty columns, duplicates, rename, delete, split, letter case, numbers, dates, find and replace, fill missing and remove rows with gaps.
  • Steps run from top to bottom and can be moved, changed or removed with the preview updating each time.
  • Number clean-up turns values like $1,234.50 or 1.234,50 into plain 1234.5.
  • Date conversion reads day-first, month-first or year-first dates and writes ISO dates.

How the result is verified

Each step reports how many cells, rows or columns it changed. The cleaned file is read back with the CSV reader and compared with the preview table cell for cell before download.

Frequently asked questions

Which copy is kept when duplicate rows are removed?

The first copy by default. You can switch the step to keep the last copy, compare on chosen columns only, and ignore case or extra spaces.

Can I undo a step?

Yes. Remove the step and the preview goes back to how it was. Your original file is never changed.

Is my data uploaded to a server?

No. Everything you drop, paste or type is processed by code running in this browser tab. You can check it yourself: open your browser's developer tools, watch the Network panel, and use the tool. No request carries your data.

Explore, profile, clean, chart and export a CSV in one place

CSV · TSV · Text→ CSVModerate on device

Split one column into several by a separator or pattern

CSV · TSV · Text→ CSVLight on device

Find empty cells per column, then fill or remove them

CSV · TSV · Text→ CSVLight on device

Normalise quoting, trim cells and fix line endings

CSV · TSV · Text→ CSVLight on device