
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.
| 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.
- Export
Export the contacts from the old program as CSV, with UTF-8 if possible.
- Tidy up
Delete empty rows in the table, make the column names unambiguous and merge obvious duplicates.
- 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”.
- Test with a few rows
Import ten records first and check that umlauts, postcodes and phone numbers are correct.
- 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.
| 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.
A practical example
Example: a painting firm in Frauenfeld moves 1'200 contacts
For years, the fictitious Malerei Muster GmbH in Frauenfeld kept its customers in an Excel spreadsheet. When switching to the CRM, the owner saves the spreadsheet as “CSV UTF-8” and imports it.
The test with ten rows shows that postcodes such as 8500 are correct, but phone numbers arrive without their leading zero because the column was formatted as a number in Excel. He changes the column to text, exports again and maps “Natel” to the mobile phone field during the import. The duplicate check that follows finds 37 duplicate entries, which he merges.
Made-up example for illustration.
How VoxCRM helps
yesVoxCRM reads CSV files with semicolons, commas or tabs and detects the delimiter by itself. When importing contacts, you map the columns, and the duplicate check helps afterwards. VoxCRM writes exports with semicolons for Excel in Switzerland and makes sure that no injected formulas run when they are opened in Excel, for example for contacts, expenses and statistics. More under Contacts and Expenses.
