Importing vCards from a website into iOS’s Contacts.app [closed]

I expect you found my solution on Stack Overflow but if not you can see the source code and full description at http://www.mobicontact.info or on Stack Overflow

BTW - it involves wrapping the VCARD (.vcf) file inside a Calendar appointment (.ics) which IS handled by mobile Safari. All the required user agent sniffing and PHP to auto create the calendar appointement is included. Feel free to use the code, post a comment or up vote on Stack Overflow to spread the word. Enjoy and good luck.


Please check the manuals from iOS6. This should be possible via Safari. I called Apple Support, but unless there are enough people complaining about this, they won't fix it.

iPad user Guide (page 69):

Import contacts from a vCard: Tap a .vcf attachment in an email or message, or on a webpage.

iPad Gebruikershandleiding (page 75):

Contactgegevens importeren vanaf een vCard: Tik op een .vcf-bijlage in een e-mail of bericht of op een webpagina.


Method 1 Mail the CSV/VCF contacts to your iPhone directly

Among so many methods, email may be the easiest and most convenient method to import contacts from CSV/VCF to iPhone. If the size of the CSV/VCF contacts file is not too big, you can import CSV/VCF file to iPhone by email.

  1. Add the CSV/VCF file as an attachment to your email and mail it to your own email address.

  2. Open the email on your iPhone and click on the attachment.

  3. Then your iPhone will prompt you to add the contacts to your iPhone, just do it following the tips, and soon you’ll have all the contacts on your iPhone Address Book.

Method 2 Import CSV/VCF to Outlook and sync Outlook contacts to iPhone

  1. Open Outlook on your computer (here take Outlook 2010 as an example), from the File menu, select Open > Import > Import from another program or file > Next.

  2. Then you’ll be led to the “Import a File” window, select “Comma Separated Values (Windows)” or VCF file, then click “Next”.

  3. Click “Browse” to import contacts file (in .csv/.vcf format) from your computer, and click “Next”, then click “Finish” to import contacts from computer to Outlook Contacts folder.

  4. Download iTunes (here take iTunes 11.0.4 as an example) and run iTunes on your computer, then connect your iPhone to the computer with a USB cable.

  5. Ensure you use the latest iTunes version by checking Help on the menu bar and then Check for updates from your iTunes program.

  6. In the left sidebar of iTunes, under Devices, click the entry for your device to show the Summary page, and click the Info tab > Contacts > Sync contacts with, choose Outlook and click All contacts, and click Apply on the bottom-right of your iTunes interface, and then start to sync Outlook contacts to iPhone.

Method 3 Import CSV/vCard to Google Gmail and sync Gmail contacts to iPhone

  1. Log into your Gmail account with your Gmail address and password, click “Gmail” button on the left column and choose “Contacts” category. Then click “More” and choose “Import” in its pull-down list.

  2. Then in the pop-up “Import Contacts” window, click “Choose File” to find the contacts backup on your computer (choose the contacts backup in .csv or .vcf format), then click “Import” to start to import VCF/vCard file to Gmail Contacts.

  3. Launch iTunes on your computer and connect your iPhone to the PC using a USB data cable.

  4. Tap on your iPhone under “Devices” entry on the left sidebar of iTunes to show the Summary page.

  5. Click on “Info” tab on the right interface, and click on “Sync Contacts with” checkbox, select “Google Contacts” from the drop-down menu and click “Apply” or “Sync” button on the bottom-right corner.

Method 4 Import CSV/VCF to Windows contacts and sync Windows contacts to iPhone

  1. Press “Windows + R” keys on the keyboard to open “Run” window and type “wab” in “Open” filed and hit OK.

  2. Click on “Import” button to open the “Import Windows Contacts” window, and choose the CSV file or vCard you want to import to iPhone, and click “Import”.

  3. Select contacts to import by browsing your computer, and click “Next” to define the domains for your contacts, and click “Finish”.

  4. Run iTunes on your computer, then connect your iPhone to the computer using a USB data cable.

  5. On the left sidebar of iTunes, you’ll find out your iPhone under “Devices” entry, click your device to show the Summary interface.

  6. Click on “Info” tab on the right interface, and click on “Sync Contacts with” checkbox, select “Windows Contacts” from the drop-down menu and click “Apply” or “Sync” button on the right corner.

Method 5 Import VCF (vCard) contacts to iCloud directly

  1. In order to import VCF to iPhone 5/4S/4/3GS via iCloud, firstly, you should make sure the “Contacts” option of the iCloud on your iPhone is turned on by checking Settings > iCloud > turn “Contacts” on.

  2. Go to www.icloud.com on your computer, and log into your iCloud account with your Apple ID and password.

  3. Click “Setting” button on the left corner and choose “Import vCard”.

  4. Then choose the vCard (.vcf file) from your computer, and click “Open”, then the vCard contacts will be added to your iCloud Contacts automatically. Then you just succeed to import vCard to iPhone, so go to your iPhone Address Book to check the contacts.

Note: You can edit the contacts information, add new contacts to the iCloud, or delete the repeated contacts by left-clicking the contact and tapping on “Delete” from the “Setting” button, all the changes of contacts will be reflected on your iPhone contacts too.