Sign in

File tools that never upload your files

Clean a CSV file

Exports are often messy: stray spaces, empty lines, blank columns and the same row twice. Tidy them in one step and see exactly what was removed. The file is cleaned in your browser and never leaves your device.

5 free data and file results; text tools such as the JSON formatter never count. Paid plans have no usage limits.

How it works

  1. 1

    Add the CSV

    Choose the file, paste the text or try the sample.

  2. 2

    Choose the clean-ups

    Trim spaces, collapse repeated spaces, drop empty rows and columns, remove duplicates.

  3. 3

    Download the clean CSV

    Save the tidied file with -clean in its name.

Why work without uploading

You choose

Turn each clean-up on or off; the preview updates immediately.

Transparent

The tool reports how many rows and columns it removed.

Private

Cleaned on your device.

Good to know

Trimming removes spaces and tabs at the start and end of each cell; collapsing turns runs of spaces, tabs and non-breaking spaces inside a cell into one space. Empty rows are rows where every cell is blank, empty columns are columns without a single value.

Duplicate rows are rows that are identical in every cell after the other clean-ups, so “Anna ” and “Anna” count as the same once trimming is on. The first occurrence is kept.

The header row is never removed. For merging several files before cleaning, use Merge CSV first.

Questions and answers

Which duplicate is kept?

The first occurrence; later identical rows are removed.

Does it change my values?

Only the spaces you choose to trim or collapse.

Is my CSV uploaded?

No. It is cleaned in your browser.

Can I undo a clean-up?

Turn the option off and the preview shows the data without it; your original file is never changed.