Fix CSV for Excel

Excel shows “ä” instead of “ä” or puts a CSV in one column? Detect encoding and separator, repair garbled text and save a CSV Excel opens right.

About this tool

Fix a CSV that Excel opens wrong

Excel opens a CSV by double-click with two settings it takes from Windows, not from the file: it reads text without a byte-order mark in the Windows code page (so UTF-8 “Müller” turns into “Müller”), and it splits columns at the list separator of your regional settings (a semicolon in Germany, a comma in the US) — which is why a file from somewhere else lands in one column. Drop the file here: its encoding, separator, decimal style and date format are detected, characters that were already garbled by an earlier round trip are repaired, and you see what Excel shows now next to what it will show after the fix. Then save it for German or English Excel, as .xlsx, or the other way round: an Excel export in Windows-1252 with semicolons turned into the UTF-8, comma-separated file that shop, CRM and newsletter imports expect.

Any encoding in, the right one out

UTF-8 with or without BOM, Windows-1252, ISO-8859-15, DOS code page 850 and UTF-16 are detected; a UTF-8 file with a few Windows-1252 lines is read correctly line by line.

Broken characters repaired

Text already garbled once or twice — “Müller”, “€”, “Müller”, “M├╝ller” — is turned back into “Müller” and “€”. Characters already lost as “�” are counted, not guessed.

Numbers and dates for the target

1.234,56 becomes 1234.56 for an import (or the reverse for German Excel), dates follow the target, and codes with leading zeros are flagged before Excel drops the zeros.

Big files streamed

The file is read and written piece by piece, so exports of hundreds of MB work, and the data never leaves your browser.

How the encoding is worked out

A CSV file doesn't say which character set it uses, so the tool reads the bytes and decides in a fixed order:

Byte-order mark and UTF-16

A byte-order mark settles it at once; UTF-16 files, which some Windows programs export, are recognised by their byte pattern.

UTF-8, also mixed

Valid UTF-8 is read as UTF-8. When a UTF-8 file contains stray Windows-1252 bytes — typically lines added later on a Windows machine — each invalid byte is read as Windows-1252 instead of becoming “�”, so those lines keep their umlauts too.

Old Windows and DOS exports

Files without any UTF-8 are Windows-1252 or DOS code page 850, whichever reads as more plausible text; Hungarian ő and ű point to Central European Windows-1250. You can override the choice if a file is unusual.

Repairing text that is already garbled

Often the damage happened earlier: someone opened a UTF-8 file in Excel, saw “Müller” and saved it again. The garbling is now part of the file.

Undone up to three layers

UTF-8 read as Windows-1252 or as code page 850 is reversed field by field, even when it happened two or three times (“Müller”).

Real text left alone

Only complete, valid UTF-8 sequences are converted, so genuine words such as the Portuguese “PÃO” or “façade” are not touched.

Lost characters are reported

Once a character has become “�”, the original is gone. Those are counted and shown instead of guessed.

The targets, and the “Excel now” preview

Before anything is written, the preview shows the file the way Excel reads it on double-click — UTF-8 only with a byte-order mark, otherwise Windows-1252, split at your list separator unless a “sep=” line says otherwise — next to the fixed version.

Excel (German) and Excel (English)

UTF-8 with byte-order mark, Windows line endings; semicolon, decimal comma and dates as 31.12.2024 for German Excel, comma, decimal point and ISO dates for English Excel.

Import

UTF-8 without byte-order mark, comma-separated, decimal point, ISO dates and no currency signs — what shop, CRM and newsletter importers expect.

Only what is clearly a number or date changes

Numbers and dates are rewritten only in columns typed as such from the first 2 MB; their digits stay as written, thousands separators are dropped, and any value that doesn't fit the column's type is written exactly as it was.

Codes Excel would mangle

Codes with leading zeros and numbers of 12 or more digits can be written as ="0123", which Excel shows unchanged; or choose .xlsx, which keeps them as text.

How to use it

  1. Drop the CSV (or TSV/TXT) file on the page.
  2. Check what was detected and the before/after preview.
  3. Choose what it's for: Excel with German or English settings, an import, or .xlsx.
  4. Download the fixed file — your original stays as it is.

Frequently asked questions

Why does Excel show “ä” or “ü” instead of umlauts?

The file is UTF-8, but Excel read it as Windows-1252 because it has no byte-order mark (BOM). Each umlaut is two bytes in UTF-8, and Excel shows them as two characters. Saving as UTF-8 with BOM fixes it for Excel.

Why is everything in column A?

Excel splits a CSV at the list separator from your Windows regional settings. German Windows uses a semicolon, so a comma-separated file stays in one column — and an English Excel does the same with semicolon files. The fix writes the separator your Excel expects.

Which format do shop and newsletter imports want?

Almost all expect UTF-8, comma-separated, with a decimal point and ISO dates (2024-12-31) — the “Import” target. Some importers read the byte-order mark into the first column name, so that target writes none.

Can I fix the file in Excel itself?

In Excel you can import it via Data → From Text/CSV and choose the encoding and separator each time. A fixed file opens correctly by double-click, also for colleagues.

Will Excel still drop leading zeros?

When Excel opens a CSV it turns 01067 into 1067 and long numbers into 4.00638E+12. Save as .xlsx to keep them as text, or tick “Keep leading zeros” to write them so Excel shows them unchanged.

Are my files uploaded?

No. Everything runs in your browser tab; the files are never sent to a server, so customer lists, orders and payroll exports stay on your device.

How do I convert a CSV to UTF-8?

Drop it here and choose “Import” for plain UTF-8 without a byte-order mark, or one of the Excel targets for UTF-8 with a byte-order mark. Windows-1252, code page 850 and UTF-16 sources are converted, garbled characters repaired on the way.

What is the “sep=” line?

A first line such as sep=; tells Excel which separator to use, whatever the regional settings. Only Excel understands it — other programs read it as data — so it is an option for files meant for Excel only.