Clean CSV files step by step
- Free
- No sign-up
- No upload
- Works offline
Tool facts
- Opens
CSVTSVTXT- Saves as
CSVTSVTXT- Price
- Free, no sign-up, no watermark
- Are files uploaded?
- No. Everything is processed in this browser, on your device.
- Batch processing
- One file at a time
- Offline use
- Works without a connection once this page has loaded
- Built with
- Papa Parse
- Browser
- A recent Chrome, Edge, Firefox or Safari, on computer or phone.
- Limits
- Files larger than 100 MB are refused; the preview shows the first 200 rows.
Check it yourself: press F12, open the Network tab, then use the tool. No request carries your data.
About CSV Cleaner
CSV Cleaner fixes a CSV or TSV file by running an ordered list of steps on it and lets you download the cleaned table. The steps are: trim whitespace, remove empty rows, remove empty columns, remove duplicate rows (by the whole row or by chosen columns, keeping the first or last copy, optionally ignoring case), filter rows, sort by one or more columns, delete, rename or reorder columns, find and replace within a column, and change letter case. Each step shows the row and column count after it ran, so you see exactly how many rows the duplicate check or a filter removed.
The preview shows the first 200 rows of the result and marks every cell a step changed in yellow; hover a marked cell to see its original value. Sorting detects whether a column holds numbers (including 1,520.00, $12 and 45%), dates (2026-11-28, 28/11/2026, 11/28/2026, 28.11.2026, Nov 28, 2026, 2026年11月28日) or text. Download the result as comma, semicolon or tab separated text, optionally with a BOM so Excel opens UTF-8 correctly, and save the recipe as a text file to run the same steps on next month's export. Files up to 100 MB are read on your device and never uploaded.
CSV Cleaner runs entirely in your browser. Your data is processed on your device and is never uploaded to Qiyi or anyone else.
How to use CSV Cleaner
- Drop a CSV, TSV or TXT file, or open Paste CSV text instead. Check the Delimiter, Encoding and First row is header settings under Read.
- Click a step under Add step, for example Duplicates or Filter. It is added to the end of the list and opens for editing.
- Set the step's columns and options, and watch the row and column count next to it. Drag the ⋮⋮ handle to change the order, or ✕ to remove a step.
- Check the preview: yellow cells were changed by a step.
- Choose the output delimiter and BOM, then click Download CSV. Click Export recipe to keep the steps, and Import recipe to run them on another file.
Frequently asked questions
How does it decide whether a column is a number, a date or text when sorting?
With the type set to Auto, it looks at the filled cells of the column: if at least 90% of them read as numbers it sorts numerically, if at least 90% read as dates it sorts by date, otherwise it sorts text in natural order (A2 before A10, upper and lower case treated alike). Numbers may use thousands commas, a currency sign in front or a % after. For dates like 03/04/2026 it looks for a day above 12 in the column to tell day-first from month-first; you can also pick Date (day first) or Date (month first) yourself. Empty cells always go last, and rows that tie keep their original order.
Which copy does Remove duplicate rows keep?
Keep first keeps the earliest row of each group of duplicates and Keep last keeps the latest one, in its original position. Choose columns to compare only those, for example Email, or choose none to compare whole rows. Ignore case makes ZhaoLei@Example.com and zhaolei@example.com count as the same value; spaces are not ignored, so put a Trim whitespace step before it if the data has stray spaces.
How do I reuse the same cleaning steps on another file?
Click Export recipe. The text file lists the steps in plain words and ends with one line that holds them in machine-readable form. Next time, load the new file and click Import recipe. Steps refer to columns by header name, so a step whose column is missing in the new file shows a red warning and is skipped instead of guessing.
What are the limits, and is my file uploaded?
Files larger than 100 MB are refused. In our test in desktop Chrome, a 200,000-row, 7-column file (14.5 MB) loaded in about 0.2 seconds and the five sample steps ran in about 0.2 seconds; a 1,000,000-row file (74 MB) took under a second for each. Slower phones take longer. Everything happens in your browser tab: the file is not uploaded and nothing is kept after you close the page.
Why do accents or Chinese characters look wrong, and what does the BOM option do?
When reading, the tool checks for a byte order mark, then for valid UTF-8, and otherwise guesses between Windows-1252, Shift_JIS, EUC-KR, GBK and Big5 from the bytes. If the guess is wrong, pick the encoding by hand under Read. The download is always UTF-8; turning on Add BOM puts the three-byte UTF-8 marker at the start so Excel on Windows shows non-English text correctly when you double-click the file.