Skip to content
Jellykit

CSV Cleaner

Clean up CSV data in one pass: trim values, drop empty and duplicate rows, rename, remove or split columns, fix case and numbers.

  • Runs on your device
Loading tool

About CSV Cleaner

Data from forms, exports and spreadsheets rarely arrives ready to import. Names are in the wrong case, there are spaces around values, empty rows, repeated records, columns you do not need and amounts written as "1,240.50". Choose the steps you want and this tool applies them all at once, with the result updating as you go.

Each step names its columns by their original header or number, and the summary under the result counts what every step changed, so nothing happens without your knowing.

How it works

  1. The CSV is read with its separator detected among comma, semicolon, tab and pipe, and is written back with the same separator and correct quoting.
  2. Steps run in a fixed order: trim and collapse spaces, remove empty rows, then for each value change case, clean numbers, split the chosen column and fill what is empty. Duplicate rows are removed last, so rows that only differed in spacing or case count as the same.
  3. Columns are named by their header or by number, both as they are in the original file, so renaming one column does not change how you refer to it in another step.
  4. Number cleaning removes thousands separators (commas, dots, spaces or apostrophes, in groups of three) and writes a dot as the decimal point. A value that is not a number written that way is left exactly as it was and counted in the summary.

Questions

Will number cleaning ever change a value?

Only its separators. Digits are copied, never rounded. A value whose grouping is ambiguous, such as 1,5 when you have said numbers use a decimal point, is left alone and reported, because it might mean one and a half.

How do I split a full name into first and last name?

Type the column name under "Split column", keep "Space" and two parts. The first word goes into name_1 and everything after it into name_2, so "Mary Ann Smith" becomes "Mary" and "Ann Smith".

Which duplicate is kept?

The first one in the file. For more control, such as comparing only an email column, use the CSV Duplicate Row Finder.

How large a file can it clean?

Up to 10 MB of text. Every step runs in your browser and the data is not uploaded.

Everything you enter here is processed in this browser tab. Nothing is uploaded, logged or shared. How privacy works here.