CSV Data Cleaner
Remove blank and duplicate rows, trim stray whitespace, pick columns, find and replace, filter rows, sort, and export Excel-safe CSV.
Cleanup options
Original rows
—
Output rows
—
Rows removed
—
Result preview (first 8 rows)
Result preview (first 8 rows)
Cleaning runs locally in your browser — no file is uploaded.
How to use
- Paste CSV text or choose a local .csv / .txt file — the file is read only inside your browser.
- Pick the input delimiter (auto-detected by default), tick the cleanup options, and fill in column, replace, filter and sort settings as needed.
- Click Clean CSV to see the result, row statistics and a preview of the first 8 rows.
- Copy the result or download a CSV file; tick UTF-8 BOM if Excel needs help displaying non-English characters.
Frequently asked questions
Are quoted commas and line breaks handled correctly?
Yes. The parser follows RFC 4180: commas and line breaks inside quotes belong to the cell, and two consecutive double quotes represent one quote character. Export re-quotes cells only when needed.
Why does Excel show garbled characters in my exported CSV?
On some systems Excel opens CSV files using a local encoding. Ticking "Add UTF-8 BOM" writes a BOM marker at the start of the file so Excel detects UTF-8 correctly.
Is my data uploaded to a server?
No. Pasted text and uploaded files are read with the browser FileReader API. Cleaning and exporting are done entirely by the page JavaScript.
Privacy & data handling
This tool runs entirely in your browser. Text you type and files you choose are never uploaded to a server or saved by ToolNest. Closing the page removes everything.