> guide csv-excel
Excel opens a CSV wrong (characters, columns)
The file is fine. Excel only guesses wrong when you open it with a double click. Three typical mistakes and how to get rid of them.
Last updated: · 4 min read
In short
- Broken characters and everything in one column: load the file in “View and clean up a table (CSV)” and save it again with the delimiter and the character set Excel expects.
- Lost zeros and numbers like 4.9E+12: convert the CSV into a real Excel file.
- The garbled characters are already in the text? The tab “Repair” brings them back.
What causes it
| You see | Cause | Step |
|---|---|---|
| Café | The file is UTF-8, Excel reads it as Windows-1252. | 1 |
| One column | The file separates with commas, Excel set to a European language expects semicolons, or the other way round. | 1 |
| 1067 instead of 01067 | Excel takes zip codes and account numbers for numbers. | 2 |
How to do it
-
View and save again for Excel
Load the CSV. Delimiter and character set are detected and shown above the table. If something is off, switch it until characters and columns are right. For saving, choose the delimiter your Excel expects: “Semicolon ;” if your Excel is set to German or another European language, “Comma ,” for English. As the character set, take “UTF-8 with BOM (Excel)”. The BOM is a marker at the start of the file by which Excel on Windows recognizes UTF-8. The new file opens with a double click with the right characters and clean columns. The tool does not change what is in the cells.
View and clean up a CSV -
Rescue leading zeros and long numbers
No CSV helps against Excel's urge to see numbers, because a CSV cannot say what is text. Choose the direction “CSV → Excel”. The page writes a real .xlsx: numbers and dates become real numbers and dates, so that you can calculate with them. Whatever starts with a zero (01067), has more than 15 digits (account numbers, long article numbers) or looks like a formula stays text on purpose. The header row becomes bold and frozen and gets an autofilter. Set “Read numbers as” to German or English, depending on whether the file says 1.234,56 or 1,234.56.
Convert CSV to Excel -
Repair garbled characters in the text
Sometimes the damage is already done: someone opened the file wrongly and saved it again, and now “Café” is really in it. Paste the text into the tab “Repair” or open the file there. Every broken spot is marked and converted back, even if it broke twice. With “Save as UTF-8 file” and the option “Save with BOM” you get a file that Excel reads correctly.
Fix garbled characters
And the other way round?
A portal asks for a CSV and you have an Excel file: the direction “Excel → CSV” reads .xlsx and .xlsm, lets you pick the sheet and set the delimiter, character encoding, decimal separator and date format. Ask the portal what it expects. Many programs want commas, a period as the decimal sign and UTF-8 without BOM.
Good to know
- Question marks are lost. If there is a “?” or a question mark in a diamond instead of “é”, the character is gone. The tool counts such spots, but it does not guess. Get the file from its source once more.
- Old .xls files from Excel 97 to 2003 and files with a password cannot be read by the page. Save them once as .xlsx in Excel.
- Values only. Colors, borders, charts and formulas are lost when converting. Of a formula, the last saved value remains.
- Limits: CSV up to 20 MB, Excel files up to 50 MB, text files for repairing up to 5 MB. The preview shows the first 200 rows, the whole file is always saved.
- In Excel itself it works too: via “Data” and “From Text/CSV” instead of a double click. There you choose the character set and delimiter by hand.
Tools used in this guide
- View & clean up a CSV tableOpen CSV from a cash register, inventory system or Excel: delimiter and character set detected, blank lines and duplicates removed, columns sorted, totals shown
- Excel ↔ CSVConvert in both directions
- Garbled charactersGarbled umlauts fixed, invisibles cleaned up, characters looked up