Free tool
Trim whitespace from every cell in a CSV.
Extra spaces cause silent joins, deduplication misses, and ugly exports. CSVTidy trims every cell and collapses internal double-spaces in one click.
Everything runs in your browser. Nothing is uploaded.
Drop a CSV or Excel file here
Or choose a file — nothing leaves your browser.
After you drop a file, you'll see the Trim whitespace action highlighted for you.
Common questions
Does it also remove empty rows?
The CSV parser already skips fully empty rows on load. To remove rows where a specific column is empty, use the full cleaner.
Does it change tabs, newlines, non-breaking spaces?
Yes — all whitespace runs (regular spaces, tabs, and non-breaking spaces) are collapsed to a single space, then trimmed at the ends.