Clean CSV
Clean a CSV file: trim spaces, remove duplicate and empty rows, fix column names and more.
Your file never leaves your device.
How it works
Choose a CSV or Excel file, or paste your table. The cleaner reads it in your browser, works out the separator and the text encoding, and lists what looks wrong. Each problem has a button to fix it, and the column tools change one column at a time. The preview shows the result as you go; nothing is uploaded.
What it can fix
- Extra spaces: spaces at the start and end of cells, and doubled spaces inside them.
- Empty and duplicate rows: rows with nothing in them, and rows the same as an earlier one, or repeating a value in one column.
- Empty columns and column names: columns with no values, and names that are blank or used twice.
- One column at a time: change case, find and replace, fill blank cells, rename, move or remove the column.
- Dates and numbers: write every date the same way, and take currency signs and thousands separators out of numbers.
- Split, join, sort and filter: split a column at a separator, join two columns, sort the rows, and keep or remove rows that match.
Frequently asked questions
How do I clean a CSV file?
Choose your CSV or paste the table. The cleaner lists what looks wrong, such as extra spaces, empty rows, duplicate rows, empty columns and blank column names, with a button to fix each. Then use the column tools for anything else, check the preview, and click Download CSV.
Can it remove duplicate rows?
Yes. Rows that are exactly the same as an earlier one are found and removed, keeping the first. You can also remove rows that repeat a value in one column, such as the same email address; rows with that cell blank are kept.
Does it change anything I didn't choose?
No. Only the fixes you click are made, and the preview shows the result as you go. Undo takes the last fix back, and Start over goes back to the file as it was.
Is my CSV uploaded to your server?
No. Your CSV is read and cleaned in your browser, so it never leaves your device. Only a count of how many files you cleaned today is sent to our server.
How big a CSV can I clean?
One file at a time, up to 50 MB and 200,000 rows. For bigger files, split them first with Split CSV.
Does it work with semicolon or tab-separated files?
Yes. Commas, semicolons, tabs and pipes are found automatically, and you can choose the separator yourself. You can also save the clean file with a different separator.
Will Excel open the clean file correctly?
Yes. The file is saved as UTF-8, and "Open correctly in Excel" adds the small mark Excel needs to show accented letters right. Untick it if the file is going to a program that doesn't expect it.
Can I clean an Excel file?
Yes. Choose an .xlsx file and pick the sheet if it has more than one. Cells come in as Excel shows them, dates and percentages included, and the clean table is saved as CSV. Old .xls files and workbooks with a password have to be saved as .xlsx or CSV first.
Can it fix dates and numbers?
Yes. Dates can be rewritten in one format, such as 2026-01-31 or 31/01/2026, and it works out whether the day or the month comes first. Numbers lose their currency signs and thousands separators, and you choose the decimal mark. Cells it can't read stay as they are, and it says how many.
Can I split, join, sort or filter?
Yes. Split a column into several at a comma, space or any other character, or join two columns into one. Sort rows by a column (numbers by value, dates by date), and keep or remove rows where a column contains, is, or is more or less than a value.