Clean CSV Data
Tidy up messy exports in one click: trim spaces, delete blank rows and empty columns, remove duplicates and turn "1,234" text into real numbers.
- Trim spaces
- Remove blank rows
- Drop empty columns
- Nothing uploaded
Paste data instead
Options
Your files are processed on your own device. Nothing is uploaded, stored or seen by us.
How it works
How to clean a CSV file
Add your file
Drop a CSV or Excel export from any system.
Pick the fixes
Trimming, blank rows and empty columns are on by default. Tick more if you need them.
Download
Save the clean data as CSV or Excel. A summary shows exactly what changed.
Why this converter
Fix the usual export problems
Invisible spaces gone
Trailing spaces and non-breaking spaces break lookups and imports. They are trimmed from every cell.
No blank rows
Empty lines between blocks of data are removed.
No empty columns
Columns with a header but no data are dropped.
Numbers that work
Amounts like 1,234.50 stored as text become plain numbers that sum.
Clear report
See how many cells, rows and columns were changed.
Private
Nothing is uploaded.
More data tools: Compare two files · VLOOKUP / join · Large CSV viewer · CSV editor · CSV workflow · VCF to CSV · CSV to VCF · Split CSV · Merge CSV · Remove duplicates · Transpose · Excel to JSON · Excel to SQL · CSV to Markdown · HTML table to CSV
Converters: JSON to CSV · CSV to JSON · JSON to Excel · TXT to CSV · XML to CSV · XLSX to CSV · CSV to Excel
FAQ
Questions
How do I remove blank rows from a CSV file?
Drop the file on the tool above with "Remove blank rows" ticked (it is on by default) and click Download CSV. Rows where every cell is empty are removed.
How do I trim spaces in a CSV file?
"Trim spaces" removes spaces, tabs and non-breaking spaces from the start and end of every cell. Tick "Turn double spaces into one" to also tidy spaces inside the text.
How do I do this in Excel?
Excel needs several steps: =TRIM() in a helper column for spaces, then Go To Special › Blanks › Delete for blank rows. This tool does all of it in one pass.
Will cleaning change my numbers or dates?
No. Values are kept exactly as they appear; only the fixes you tick are applied.
Are my files uploaded?
No. Everything runs in your browser, so your data never leaves your computer. It works offline once the page has loaded.