Why your CSV opens in one column in German Excel, and how to fix it
You export a CSV, send it to a colleague or accountant in Germany, and they see everything crammed into column A. Or the columns are fine, but Gerüstbau reads Gerüstbau and the amounts look wrong. The file isn’t broken. It was written for one set of conventions and opened with another.
There are three separate causes. A file can have any of them.
| What you see | Cause | Fix |
|---|---|---|
| Everything in column A | Commas between columns; German Excel expects semicolons | Import and pick the delimiter, or save with semicolons |
Umlauts garbled, like Gerüstbau |
UTF-8 without a byte order mark | Save with a BOM, or import as UTF-8 |
| Amounts wrong or not treated as numbers | Decimal point where Excel expects a comma | Save with decimal commas, or import with the right settings |
Try it: two example files
We made two small files from public sample invoices: two demo invoices of ours and an official XRechnung test invoice from KoSIT, whose seller is “Test Gerüstbau GmbH”. They hold the same three invoices:
- invoices-comma.csv: commas, decimal points, UTF-8 without a BOM. The usual default of many tools.
- invoices-germany.csv: semicolons, decimal commas, UTF-8 with a BOM. What German Excel expects.
The first looks like this inside:
invoice,seller,issue_date,net,tax,total,currency
471102,Lieferant GmbH,2026-03-05,473.00,56.87,529.87,EUR
INV-2026-0042,Northwind Trading Ltd,2026-03-01,1436.50,331.25,1767.75,EUR
17794,Test Gerüstbau GmbH,2021-07-14,3508.77,666.67,4175.44,EUR
And the second:
invoice;seller;issue_date;net;tax;total;currency
471102;Lieferant GmbH;2026-03-05;473,00;56,87;529,87;EUR
INV-2026-0042;Northwind Trading Ltd;2026-03-01;1436,50;331,25;1767,75;EUR
17794;Test Gerüstbau GmbH;2021-07-14;3508,77;666,67;4175,44;EUR
Cause 1: the delimiter
“CSV” says comma-separated, but Excel doesn’t always split on commas. It ties the list separator to the decimal separator: where the decimal mark is a comma, the list separator becomes a semicolon. Microsoft’s own instructions for making Excel save CSV files with semicolons are to set its decimal separator to a comma. Germany writes 1.767,75, so German Excel expects ; between columns, finds none in a comma file and puts each whole line in one cell.
On a Mac, the decimal mark comes from the region in System Settings → General → Language & Region (Apple’s guide). Don’t change your region to fix one file: it changes how every app shows numbers and dates.
Cause 2: the encoding
Most tools write CSV as UTF-8, but not all add a byte order mark (BOM), three invisible bytes at the start that say “this is UTF-8”. Microsoft says a UTF-8 CSV with a BOM opens normally in Excel. Without one, Excel can read the file in another encoding, and every umlaut turns into two wrong characters: Gerüstbau becomes Gerüstbau in Windows-1252, or Ger√ºstbau in Mac Roman.
Cause 3: the decimal mark
1767.75 in a comma file uses a decimal point. To a spreadsheet set to German, a point isn’t a decimal mark, so the value may not be read as the number you meant, which matters as soon as anyone sums a column. Check a few totals after opening a file from another region.
Fix it when you open the file
Excel: don’t double-click. Open Excel, then choose Data → Get Data → From File → From Text/CSV, as Microsoft describes, pick the file, and check the delimiter and the encoding (UTF-8) in the preview before loading.
Numbers: open the file, select the table, and in the Format sidebar’s Table tab click Adjust Import Settings. On the Delimited tab, choose the delimiter and the text encoding (Apple’s guide). You can only do this before you edit the table.
Fix it when you make the file
If you write CSV files for people in Germany, write them the way their spreadsheet expects: semicolons, decimal commas, UTF-8 with a BOM.
In Unfela, this happens on its own when your Mac’s region uses a decimal comma. To choose, go to Settings → Export → CSV files and pick “For spreadsheets in my region” or “Standard (, and .)”. Unfela always writes a BOM. Use Standard when the file goes to software rather than a person, since most importers expect commas. Converting e-invoices to CSV shows the columns you get.
For a CSV you already have, this short Python script rewrites it for German Excel. It switches to semicolons, turns decimal points into commas only in plain numbers such as 1767.75, and saves UTF-8 with a BOM. Text containing commas or quotes, dates such as 2026-03-05 and strings such as v1.2 stay as they are. Run on invoices-comma.csv, it produces a file identical, byte for byte, to invoices-germany.csv; we checked on November 7, 2026.
"""Rewrite a comma-separated CSV the way German Excel expects it: semicolons between columns,
decimal commas in plain numbers, and UTF-8 with a byte order mark so umlauts survive.
Usage: python3 csv_for_germany.py invoices.csv invoices-de.csv
"""
import csv
import re
import sys
NUMBER = re.compile(r"-?\d+\.\d+") # 1767.75 or -12.5; dates, IDs and text stay as they are
src, dst = sys.argv[1], sys.argv[2]
with open(src, newline="", encoding="utf-8-sig") as f:
rows = list(csv.reader(f))
with open(dst, "w", newline="", encoding="utf-8-sig") as f:
writer = csv.writer(f, delimiter=";", lineterminator="\r\n")
for row in rows:
writer.writerow([c.replace(".", ",") if NUMBER.fullmatch(c) else c for c in row])
python3 csv_for_germany.py invoices.csv invoices-de.csv
It expects plain numbers like 1767.75. If your file already uses thousands separators, like 1,767.75, remove them first, or the script leaves those cells untouched.
Questions
Should I change my Mac's region to fix it?
No. Your region decides how every app shows numbers and dates. Fix the file or the import instead.
Why do ü and ä turn into strange characters?
The file is UTF-8 without a byte order mark, so Excel guesses another encoding. Gerüstbau then shows as Gerüstbau or similar. Save the file as UTF-8 with a BOM, or import it and choose UTF-8.
What is a byte order mark?
Three invisible bytes at the start of a file that say it's UTF-8. Microsoft says Excel opens a UTF-8 CSV normally when it has one.
Which format should I send to an accountant in Germany?
Semicolons, decimal commas and UTF-8 with a BOM, unless they've asked for something else. That's what our example invoices-germany.csv uses, and what Unfela writes on a Mac set to a German region.