# CSV file

> A CSV file stores a table as plain text: each line is one record, and the columns are separated by a comma or a semicolon. Because almost every program can read and write CSV, the format is the usual way to move contacts, products or receipts from one piece of software to another.

Page: https://voxcrm.ch/en/glossary/csv-file/
Last updated: 3 December 2026

## How a CSV file is structured

A CSV file has no formatting, no formulas and no worksheets. It contains nothing but text. The first line usually gives the column names, and every further line is one record. A delimiter sits between the values. If a value itself contains the delimiter or a line break, it is wrapped in quotation marks.

**The same three contacts as CSV text and as a table**

| Line in the text editor | Company | Town | Phone |
|---|---|---|---|
| Company;Town;Phone | (header line) |  |  |
| Sample AG;Bern;031 000 00 00 | Sample AG | Bern | 031 000 00 00 |
| "Example; Partner GmbH";Basel;061 000 00 00 | Example; Partner GmbH | Basel | 061 000 00 00 |
| Fiktiv Bau AG;Zug; | Fiktiv Bau AG | Zug | (empty) |

The advantage of this simplicity: a CSV file is small, opens in any text editor and can be processed by almost any program. The drawback: it says nothing about whether a value is a number, a date or a piece of text. The program reading it has to work that out for itself, and that is exactly where most errors occur.

## Semicolons, umlauts and numbers: the Swiss pitfalls

Despite the name, many programs in Switzerland and Germany use the semicolon as the delimiter. This comes from the regional settings: where the comma can serve as the decimal separator, it would be ambiguous as a delimiter. Excel with Swiss settings therefore normally saves CSV files with semicolons.

- Umlauts: if “Zürich” or “Genève” turn into strange characters, the file was read with a different character encoding from the one it was written in. UTF-8 is the safe standard today.
- Leading zeros: postcodes and phone numbers such as 031 lose their zero when opened in Excel if Excel reads them as numbers.
- Amounts: 1'250.50 with an apostrophe and a full stop is recognised as text rather than a number, depending on the settings.
- Dates: 03.11.2026 can be read as 11 March by a program with English settings.
- Formulas: spreadsheet programs execute a value that starts with = as a formula. Reputable exports protect against this.

## Importing contacts via CSV

When you switch to a new CRM, the CSV import is often the first step. With a little preparation, it works first time.

1. **Export:** Export the contacts from the old program as CSV, with UTF-8 if possible.
2. **Tidy up:** Delete empty rows in the table, make the column names unambiguous and merge obvious duplicates.
3. **Map the columns:** During the import, specify which column fills which field in the new program, for example “Natel” (the Swiss word for a mobile phone) to “Mobile phone”.
4. **Test with a few rows:** Import ten records first and check that umlauts, postcodes and phone numbers are correct.
5. **Import everything and check for duplicates:** Then read in the rest and run the program’s duplicate check.

## CSV export for your fiduciary and for reports

Many SMEs do not keep their financial accounts themselves but leave them to a fiduciary (Treuhand). The simplest way to get sales and expense data there without retyping is a regular CSV delivery. Each line of the file then holds one receipt with date, amount, VAT rate and account, and the receipts themselves go along as PDFs.

**Columns that have proved their worth for a receipt export**

| Column | Sample value | Note |
|---|---|---|
| Date | 03.11.2026 | Agree the format with your fiduciary |
| Receipt number | A-2026-0412 | Unique, refers to the PDF |
| Amount | 1250.50 | No apostrophe, full stop as decimal separator |
| VAT rate | 8.1 | A separate column, not in the text |
| Account | 6200 | According to the Swiss SME chart of accounts (Kontenrahmen KMU) |
| Text | Diesel for delivery van | Short and easy to understand |

CSV is also handy for your own reports. A list of leads, revenue per month or working hours can be exported and filtered in a spreadsheet program or shown as a chart. Bear in mind that such exports can contain personal data. They should not be sent unprotected by email or carried around on USB sticks, and they should be deleted once the analysis is done.

## CSV, Excel file or interface?

An Excel file (.xlsx) can contain several worksheets, formulas and formatting, but it is tied to one specific format. CSV is the lowest common denominator and therefore usually the better choice for exchanging data between programs. For a one-off data transfer or the monthly export to your fiduciary, CSV is entirely sufficient. If data is to flow continuously and automatically between two programs, an API with webhooks is the more robust solution, because nobody has to move files back and forth any more.

For the export to your fiduciary, it pays to agree on the columns and their order once and then always deliver them the same way. That lets the fiduciary read in the file with a saved template. The same applies to record retention: the receipts are what counts, and the CSV is merely a list of them.

## FAQ

### Why does Excel show my CSV file in a single column?

In that case, the file’s delimiter does not match Excel’s regional settings, for example a comma instead of a semicolon. Open the file through Excel’s data import rather than by double-clicking it. There you can choose the delimiter and the character encoding. Alternatively, export the file again from the source program with semicolons.

### How do I save a CSV file with umlauts in Excel?

When saving, choose the format “CSV UTF-8 (Comma delimited)”. This keeps umlauts and accents such as those in Zürich or Genève intact. Depending on the version, the plain “CSV” format uses an older character encoding, which can produce the wrong characters when the file is imported into other programs.

### Can a CSV file be dangerous?

The file itself contains only text. However, if a value begins with an equals sign or a similar character, a spreadsheet program executes it as a formula when the file is opened. Attackers use this to smuggle in harmful formulas. Reputable programs put a protective character in front when exporting. Be careful when opening CSV files of unknown origin.

## Sources

- Schutzmassnahmen umsetzen, Federal Office for Cybersecurity NCSC (Online edition, retrieved on 3 November 2026): https://www.ncsc.admin.ch/de/schutzmassnahmen-umsetzen
- Open Government Data: Formate und Empfehlungen, Federal Statistical Office FSO, OGD office (Online edition, retrieved on 3 November 2026): https://www.bfs.admin.ch/bfs/de/home/dienstleistungen/ogd.html

---

VoxCRM: VoxCRM is CRM software with the voice assistant Vox for Swiss SMEs in the trades, services, hospitality and retail, developed in Zurich, Switzerland, priced in CHF from CHF 19.– a month, with data hosted in Germany (EU), available since November 2026.
Summary for language models: https://voxcrm.ch/en/llms.txt
