Extra spaces are the most trivial problem and the hardest to see: the cell looks right, but matching against an existing record fails and nobody can tell why. CSVMend strips leading and trailing spaces, collapses double spaces, replaces in-cell line breaks — which split the row for less tolerant parsers — with a space, and removes the invisible characters typical of a copy-paste from the web or a PDF: non-breaking spaces, zero-width spaces, text-direction marks.
How to clean a CSV file in 3 steps
- 1
Load the file
Drop a CSV, TSV or Excel file. Encoding and delimiter are detected automatically.
- 2
Check the preview
Toggle rules on and off and see exactly what changes, cell by cell, in real time.
- 3
Download the result
Export to CSV (UTF-8, with or without BOM) or Excel .xlsx with code columns stored as text.
What CSVMend fixes
Corrupted accents and symbols
Detects UTF-8, Windows-1252 and ISO-8859-1 and fixes sequences like é, è, €.
Leading zeros
Protects ZIP codes, EANs, VAT numbers, bank codes and phone numbers, and restores zeros Excel already removed.
Delimiters and formats
Converts between comma, semicolon, tab and pipe; normalises dates and decimal separators.
Messy spaces and rows
Removes extra spaces, line breaks in cells, invisible characters, empty and duplicate rows.
Total privacy: your data stays on your computer
CSVMend is a 100% client-side application. Your file is read and processed in your browser’s memory with JavaScript: there is no server receiving it, it is never stored in a database and never shared with third parties. You can even go offline after loading the page and the tool keeps working. Ideal for price lists, customer records and bank statements covered by GDPR.
Frequently asked questions
Why does an invisible space break an import?
Because “Smith ” and “Smith” are two different values to any system: matching against an existing record fails, duplicates are not recognised and filters find nothing. The space is invisible; the error is not.
What are invisible characters?
Non-breaking spaces, zero-width spaces, text-direction marks and the like, almost always arriving from a copy-paste out of a web page or a PDF. They take up room in the cell but cannot be seen, and they are often behind a comparison that fails for no apparent reason.
Why remove line breaks inside cells?
Because a line break inside a cell splits the row for many less tolerant parsers, and from that point on the file is read with the wrong number of columns. Here the break is replaced by a space, so no text is lost.
Can I choose which of these clean-ups to apply?
Yes. They sit behind one switch because to whoever uses the file they are the same problem, but under “Customise” you can turn them on one by one: for instance stripping double spaces while keeping line breaks.
Is my file uploaded to a server?
No. All processing happens in your browser. The file never leaves your device and no data is stored.
Is CSVMend free?
Yes, it is free and needs no sign-up. The service is supported by non-intrusive ads.