Maaz Zindani

Loading the index…

↑↓ move↵ openesc close4791 pages

Free tool · PDF tools

CSV to VCF converter

Paste a CSV or choose a file, and this CSV to VCF converter builds a vCard for every row. Columns are matched by their header names, and you download one .vcf file that address books can import.

  • Free
  • No sign-up
  • Runs in your browser

By Maaz Zindani · Updated

vCard version
VCF file

3 contactsColumns matched by header name

BEGIN:VCARD VERSION:3.0 N:García;Ana;;; FN:Ana García ORG:Casa Verde TEL;TYPE=CELL:+34 612 345 678 EMAIL:ana@example.com END:VCARD BEGIN:VCARD VERSION:3.0 N:Wei\, Jr;Liu;;; FN:Liu Wei\, Jr TEL;TYPE=CELL:+86 138 0013 8000 EMAIL:liu@example.org END:VCARD BEGIN:VCARD VERSION:3.0 N:Mensah;Kofi;;; FN:Kofi Mensah ORG:Accra Labs TEL;TYPE=CELL:+233 24 123 4567 END:VCARD
  • First Name to first
  • Last Name to last
  • Mobile to phone
  • Email to email
  • Company to org
Contacts found
NamePhoneEmail
Ana García+34 612 345 678ana@example.com
Liu Wei, Jr+86 138 0013 8000liu@example.org
Kofi Mensah+233 24 123 4567
Contacts
3
Rows read
3
File size
389 bytes

How to use the CSV to VCF Converter

  1. Put your contacts in the box with a header row on top, for example First Name, Last Name, Mobile and Email, or pick a file from your device.
  2. Look at the gray chips under the file. Each one shows which of your columns was understood and what it became.
  3. Choose 3.0 for the widest support or 4.0 for the newer format.
  4. Press Download .vcf, or Copy to paste the text elsewhere.

How does a CSV to VCF converter read my columns?

A vCard is a plain text card with one line per fact, and a CSV is a table with one row per person. The converter reads the header of each column, ignores capital letters, spaces and punctuation, and decides which vCard line the column belongs to. "E-mail", "email" and "Email Address" all become an EMAIL line, and a header with "mobile" or "cell" in it becomes a TEL line marked as a cell phone. A column it does not know, such as shoe size, is left out and listed in the note under the answer, so you can see what was left out.

If your sheet has First Name and Last Name, the name is stored in the structured N line, with the family name first, and FN holds the display name. If it has a single Name column, the last word is taken as the family name. A row with no name still becomes a contact when it has a phone or an email, using that number or address as the display name, because the format requires a display name on every card. A row with none of the three is skipped and counted.

Example headers and where the converter puts them
Header in your CSVvCard linePhone type
First NameN and FNnone
SurnameN and FNnone
Full nameN and FNnone
MobileTELCELL
Work PhoneTELWORK
E-mailEMAILnone
CompanyORGnone
Job titleTITLEnone
Zip codeADRnone
NotesNOTEnone

What does the VCF file look like for one CSV row?

The second row of the example sheet is Liu, with the last name typed as "Wei, Jr", a phone number and an email. In version 3.0 the converter writes this card:

BEGIN:VCARD
VERSION:3.0
N:Wei\, Jr;Liu;;;
FN:Liu Wei\, Jr
TEL;TYPE=CELL:+86 138 0013 8000
EMAIL:liu@example.org
END:VCARD

The comma inside "Wei, Jr" is written with a backslash, because both versions of the format use commas and semicolons as separators and require them to be escaped inside a value. Backslashes are doubled, and a line break inside a cell becomes the two characters \n. Every line ends with a carriage return and a line feed, and the file ends with one.

Lines longer than 75 octets are folded: the line is cut and the next line starts with one space. A test note of 100 letters x becomes 2 lines here, and the cut never lands inside a character, so names with accents or non-Latin letters stay whole. The example sheet of three rows makes 3 cards and 389 bytes.

Should I pick vCard 3.0 or 4.0 for my CSV?

Version 3.0 is defined in RFC 2426 and version 4.0 in RFC 6350. Both start with BEGIN:VCARD and a VERSION line, and both require the display name. The differences show up in small details: 3.0 writes phone types in capitals (TYPE=CELL), 4.0 writes them as in the newer text (TYPE=cell). Older phones, desktop mail programs and some online address books read 3.0 without trouble, which is why it is the default here. Pick 4.0 when a program asks for it.

If an import shows garbled letters, the usual cause is the CSV file itself, saved in a legacy encoding. This page reads files as UTF-8 and writes UTF-8. Open the sheet in a spreadsheet program and save it as CSV UTF-8 before you convert. If a phone number loses its leading zero, the spreadsheet removed it before export. Format that column as text, or type the number with its country code, such as +34 612 345 678, before saving.

Is it safe to convert my contacts here?

The CSV is read and turned into text by script on this page. There is no upload step and no account, so the names and numbers are never posted to a server. Closing the tab removes the text. Limits: a file up to 5 MB is accepted, and the preview shows the first 8 contacts while the download carries all of them. Photos, birthdays and custom labels are not converted, and each row yields one card, so duplicates in the sheet stay duplicates. Another useful tool for checking the sheet first is the CSV to JSON converter, which shows how a file is split into fields.

Use it with

Questions

How do I convert a CSV file to VCF?

Paste the CSV or choose the file, make sure the first row holds headers such as First Name and Phone, check the chips, and press Download .vcf. One card is made per row.

Which column names does the converter understand?

Names (first, last or full), phone columns including mobile, work and home, email, company, job title, street, city, state, zip, country, website and notes. Case, spaces and punctuation in the header do not matter.

Why was a row skipped?

A row is skipped only when it has no name, no phone and no email. The note under the answer lists the line numbers of skipped rows.

Can one VCF file hold many contacts?

Yes. Each contact is a block from BEGIN:VCARD to END:VCARD, and blocks follow each other in one file, so a single download imports the whole list.

Why do accented letters look wrong after importing?

The CSV was probably saved in a legacy encoding. Save it as CSV UTF-8 from your spreadsheet program and convert it again.

Does the converter upload my contacts?

No. The conversion runs on this page, and the text is gone when you close the tab.

The tool's results are computed in your browser by the code on this page, using the sources listed above; the explanations are checked against the tool's own output.