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
Add the CSV
Choose the file, paste the text or try the sample.
- 2
Choose the clean-ups
Trim spaces, collapse repeated spaces, drop empty rows and columns, remove duplicates.
- 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.
Related tools
- Merge CSV filesCombine monthly exports, survey batches or parts of a split file into one table. Columns are matched by their names, so files with a different column order still line up. Everything runs in your browser and stays on your device.
- Split a CSV fileImport limits, e-mail size caps or a slow spreadsheet — sometimes a CSV is simply too big. Cut it into parts with the same header. The file is split in your browser and never leaves your device.
- Convert CSV to ExcelTurn a CSV export from a shop, bank or database into a proper Excel workbook with real number cells. Paste the text or choose the file; it is converted in your browser and never leaves your device.
- Convert CSV to JSONFeed a spreadsheet export into a web app, an API or a script by turning it into JSON. Each row becomes an object keyed by the column names. The conversion runs in your browser, so the data stays on your device.