Get started

Glossary · AI and digital

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.

Updated on 27 November 2026

Lines of text with semicolons on the left turn into a clean table with columns on the right

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 editorCompanyTownPhone
Company;Town;Phone(header line)
Sample AG;Bern;031 000 00 00Sample AGBern031 000 00 00
"Example; Partner GmbH";Basel;061 000 00 00Example; Partner GmbHBasel061 000 00 00
Fiktiv Bau AG;Zug;Fiktiv Bau AGZug(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
ColumnSample valueNote
Date03.11.2026Agree the format with your fiduciary
Receipt numberA-2026-0412Unique, refers to the PDF
Amount1250.50No apostrophe, full stop as decimal separator
VAT rate8.1A separate column, not in the text
Account6200According to the Swiss SME chart of accounts (Kontenrahmen KMU)
TextDiesel for delivery vanShort 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

yes

VoxCRM 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.

FAQ

Frequently asked questions

Can’t find your question? Write to us at hello@voxcrm.ch.

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 and date

Sources

  1. Schutzmassnahmen umsetzen (opens in a new window), Federal Office for Cybersecurity NCSC. Version: Online edition, retrieved on 3 November 2026, retrieved on 3 November 2026.
  2. Open Government Data: Formate und Empfehlungen (opens in a new window), Federal Statistical Office FSO, OGD office. Version: Online edition, retrieved on 3 November 2026, retrieved on 3 November 2026.

Last updated:

Free handbook as a PDF

The VoxCRM Handbook for SMEs

Everything VoxCRM can do at a glance, plus exactly the areas you are interested in, in depth. Compiled for you and sent by email straight away.

  • Product, workflow, security and prices
  • Your modules with real screenshots from the app
  • With an industry part for trades, services, hospitality and retail
Free, no account needed
Cover of the VoxCRM Handbook for SMEs as a book

Try it free for 14 days.

Every feature, 60 minutes of Vox, no credit card. Then you choose a plan. Without a plan the account is paused, and you can export your data until it is deleted on day 60.

Go to the plan finder: which plan fits and what it costsBook a demoDemo