CSV Cleaner

Dedupe, trim, drop empty rows and columns — quotes handled correctly.

A free CSV cleaner: it detects the delimiter (comma, semicolon, tab or pipe), then removes duplicate rows, trims whitespace and drops empty rows and all-empty columns — telling you exactly how much of each it removed. The parser follows the CSV rules for quotes, so commas and newlines inside quotes never break a field — which is precisely where most online tools get it wrong.

How to use

  1. Paste your CSV into the text box.
  2. Tick the cleanups you want — the preview updates live.
  3. Copy the result as either CSV or JSON.

FAQ

My fields contain commas and newlines — will they break?
No. As long as they are quoted per the spec (`"a,b"`, `"line1 line2"`), the parser keeps the whole thing as one field, and a doubled quote `""` becomes a single literal quote. Quoting is re-applied correctly when writing back out.
Can it handle large files, and is anything uploaded?
Everything runs in your browser and nothing is uploaded. Because it works in memory, very large files (tens of MB and up) are limited by your device’s memory — split them first.

Related tools