CSVLane

Runs in this tab. Nothing is uploaded. Check it yourself

CSV CLEANER

Clean a CSV file

Remove duplicate and empty rows, trim stray spaces and review every change before you download. Free, no account, and your file stays in this browser tab.

Ready

CLEANING PREVIEW

Cleaned data

Example data · replace with your file
8rows kept
3rows removed
3cells trimmed

Removed records are left out of this view and your download.

Download: UTF-8 with BOM, every row.

What this CSV cleaner does

Open a file, or start from the example above: 11 rows become 8, with 3 cells trimmed, 2 empty rows removed and 1 duplicate removed. Review changes lists each one by line, so you can see what was removed and why before you download.

The clean-up steps

Every step can be switched off. To convert a file without changing any values, turn them all off.

Problems it stops at

Rows shorter than the header are filled with empty cells and marked. A row with more filled cells than the header pauses the download, because those values have no column to go in, and so does a broken quote. Ten broken files show what is and is not caught.

Download formats

Save with a comma, semicolon, tab or pipe, or as JSON with one object per row. Changing the separator keeps quoted cells and decimal commas in one column. CSV downloads are UTF-8 with a byte order mark; here is what that means. Starting from a text file? Five TXT layouts, tested.

Values stay as written

Every cell is kept as text: 02134 stays 02134, and long IDs keep every digit. For spreadsheets, “Protect against spreadsheet formulas” adds an apostrophe before cells that could run as formulas, and shows how many it affects. Turn it off for database or API imports.

Limits

CSV, TSV or delimited text up to 15 MB. The table previews the first 400 rows and the download includes every row. Excel workbooks are not read: save the sheet as CSV first.

Cleaned two versions of a file? Compare them by ID.