Your CSV opens all in one column

The file is not broken: its delimiter does not match the one your Excel expects. It can be fixed without changing a single setting on your computer.

Drop your file here

or

CSV, TSV, TXT, JSON, XLSX, XLS · up to 200 MB

Processed locally in your browser: no data is uploaded.

No file at hand? Try a broken sample file:

What changes in your file

Four real examples. Red is how it is now, green is how you download it.

  • Broken accents

    CittàCittà
  • Leading zero dropped by Excel

    804482905589808044829055898
  • US date format

    03/15/202415/03/2024
  • Decimal separator

    1.234,561234.56

CSVMend works out what needs fixing on its own: load a file and you get the list, with the number of cells it corrected.

You open the CSV and instead of columns you get every row squeezed into column A, with visible semicolons or commas between the values. Nothing is wrong with the file: the very same file opens correctly on a colleague’s computer. What decides is a local setting, and below you will find why, why the most recommended fix is not the right one, and how to get out of it in a way that still works next time.

Why everything ends up in column A

A CSV never declares which character separates its values: whoever writes the file decides, and whoever reads it has to guess. Excel does not guess — it uses the list separator set in the operating system. On an Italian or German Windows that character is the semicolon, because the comma is already taken by decimals; on an English one it is the comma.

When the two do not match, Excel finds no separator in the line and concludes that each row is a single value. Hence the full column A and the empty ones beside it. It is also why the same file opens properly on a colleague’s machine and badly on yours: the file is identical, what differs is the setting of whoever opens it.

Why “Text to Columns” is not the fix it looks like

It is the most recommended answer: select column A, Data › Text to Columns, pick the right delimiter and the columns appear. It works, and for looking at one file once it is perfectly fine.

It has two costs that arrive later. The first is that it applies to that file, that once: the next file opens in one column again and the procedure has to be repeated. The second is sneakier — in the third step of the wizard the default column format is “General”, and General turns anything that looks like a number into a number. Postcodes lose their leading zero, EAN codes become scientific notation. You solved one problem and created another, and the second one shows up much later.

The other circulating routes have comparable costs. Changing the list separator in Windows fixes this file and changes the behaviour of every other one, including the files that used to work. Re-importing through Data › From Text/CSV is correct, but it is a procedure to repeat every time.

The fix you do not have to redo

If the reason you are opening the file is to look at it or work on it in Excel, the right format is not CSV: it is .xlsx. An Excel sheet has no delimiter to match, because the columns are already described inside the file. It opens in columns on any machine, under any system setting, and there is nothing to set up again next time.

That is what this page does: you load the CSV, CSVMend works out its delimiter by reading the data rather than the settings, and hands it back as .xlsx. Code columns are written as text, so the leading zeros that “Text to Columns” would have eaten stay where they are.

If the file has to stay a CSV

This happens often: you do not need to look at the file, you need to upload it somewhere that wants a CSV with a particular delimiter. Then an .xlsx is no use — you need the same file with the other delimiter, and that is a conversion, not a repair.

Worth knowing before you choose: Shopify, Mailchimp, Klaviyo and most international services want the comma; PrestaShop uses the semicolon; Amazon and Google Merchant want neither, but a tab.

Convert a CSV from semicolon to comma →

The sep= line, and why it is a trap

A third remedy circulates: open the file in a text editor and add a line at the top saying “sep=;”. It is a convention Excel recognises, and the file does open in columns without touching any setting.

The catch is that the line is only true for Excel. To anyone else — an importer, a script, a back office — it is simply the first line of the file, and it will be read as the header row: the real headers slide down among the data and the import fails without explaining why. If you use this trick, remember to strip the line before handing the file to somebody else.

CSVMend recognises that line and removes it, so a file carrying it is read with the right headers and the right delimiter. We mention it because it is exactly the kind of detail that costs an afternoon.

How to clean a CSV file in 3 steps

  1. 1

    Load the file

    Drop a CSV, TSV or Excel file. Encoding and delimiter are detected automatically.

  2. 2

    Check the preview

    Toggle rules on and off and see exactly what changes, cell by cell, in real time.

  3. 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 a colleague open the same file and see columns?

Because the delimiter is not written in the file: Excel uses the one set in the operating system. If your Windows is Italian it expects a semicolon, if theirs is English it expects a comma. Same file, two different readings.

Does “Text to Columns” ruin codes?

It can, which is why we do not recommend it as a routine fix. In the third step the column format is “General”, which turns anything that looks like a number into a number: postcodes lose their leading zero and EAN codes become scientific notation. You avoid it by setting the code columns to Text by hand, column by column, every time.

What is the sep=; line people recommend?

It is a convention Excel recognises: a first line reading “sep=;” tells it which delimiter to use. It works in Excel, but to any other program it is the header row, so the import elsewhere fails. CSVMend recognises it and strips it, so the file is read correctly anyway.

Why hand me an .xlsx instead of a fixed CSV?

Because a “fixed” CSV is only fixed for someone with your settings: change machine and the problem is back. An .xlsx describes its columns inside the file and opens the same way everywhere. If instead you need the file to upload somewhere, that calls for a CSV with the right delimiter, and that is a separate conversion.

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.