Guide · VCF viewer & converter

The vCard format, line by line

A vCard (.vcf) file is plain text, one property per line. Three versions are in use, and they differ mostly in how they write parameters, character sets and photos.

Free, runs in your browser, nothing uploaded, no account.

Open the VCF viewer & converter
One phone line in vCard 2.1, 3.0 and 4.0One mobile number, three versions2.1TEL;CELL;VOICE:+1 555 555 0142versit spec, 1996 · bare type names3.0TEL;TYPE=CELL:+1 555 555 0142RFC 2426, 1998 · TYPE= named4.0TEL;TYPE=cell;VALUE=uri:tel:+1-555-555-0142RFC 6350, 2011 · UTF-8 only · tel: link

vCard 2.1, 3.0 and 4.0 compared

2.13.04.0
Standardversit Consortium specification (not an RFC)RFC 2426RFC 6350
Published199619982011
Required linesVERSION; N in practiceVERSION, N, FNVERSION, FN
A mobile number is writtenTEL;CELL:TEL;TYPE=CELL:TEL;TYPE=cell:
Character setCHARSET= on each line, often a local code pagenot stated in the file; UTF-8 in practiceUTF-8, always
Accented textmay be quoted-printableplain textplain text
PhotosENCODING=BASE64ENCODING=b (base64)a URI, often a data: URI
Who writes itolder phones, classic OutlookiPhone, iCloud, Google Contactsfewer apps so far

To see which one you have, open the file in a text editor and read the second line. VERSION:3.0 is the one you will meet most.

The properties you'll see

PropertyWhat it holdsExample
FNThe name as it should be shownFN:Amélie Lefèvre
NThe name in five parts: family; given; additional; prefixes; suffixesN:Lefèvre;Amélie;;;
ORGCompany, then any departmentORG:Northfield Tools;Sales
TITLEJob titleTITLE:Sales Director
TEL;TYPE=…A phone number; types include CELL, WORK, HOME, FAX and VOICETEL;TYPE=WORK,VOICE:+1 555 555 0100
EMAILAn email address, with an optional typeEMAIL;TYPE=WORK:[email protected]
ADRA postal address in seven parts: PO box; extended; street; city; region; postal code; countryADR;TYPE=WORK:;;12 Main St;Springfield;IL;62701;USA
URLA websiteURL:https://example.com
NOTEFree textNOTE:Met at booth 14\, spring show
PHOTOA picture, encoded in the file or linkedPHOTO;ENCODING=b;TYPE=JPEG:/9j/4AAQ…

Property names are not case-sensitive, so tel and TEL mean the same. Lines that start with X- are a vendor’s own additions, such as X-SOCIALPROFILE. Apple and Google also group a value with a custom label by putting the same prefix on both lines: item1.EMAIL:[email protected] and item1.X-ABLabel:Billing belong together. A reader that ignores the prefix still gets the email, only without its label.

The same contact in each version

vCard 2.1, with the accented name in quoted-printable:

BEGIN:VCARD
VERSION:2.1
N;CHARSET=UTF-8;ENCODING=QUOTED-PRINTABLE:Lef=C3=A8vre;Am=C3=A9lie;;;
FN;CHARSET=UTF-8;ENCODING=QUOTED-PRINTABLE:Am=C3=A9lie Lef=C3=A8vre
TEL;CELL;VOICE:+1 555 555 0142
END:VCARD

vCard 3.0:

BEGIN:VCARD
VERSION:3.0
N:Lefèvre;Amélie;;;
FN:Amélie Lefèvre
TEL;TYPE=CELL:+1 555 555 0142
END:VCARD

vCard 4.0, with the number as a tel: link:

BEGIN:VCARD
VERSION:4.0
FN:Amélie Lefèvre
N:Lefèvre;Amélie;;;
TEL;TYPE=cell;VALUE=uri:tel:+1-555-555-0142
END:VCARD

Line folding and quoted-printable

Long lines are folded. In 3.0 and 4.0 a writer splits a long line by inserting a line break followed by one space or tab; RFC 6350 asks for lines of no more than 75 octets. A reader joins them by deleting the line break and that one character, and nothing else. A tool that also deletes the next space, or keeps the first one, glues two words together or adds a space in the middle of an email address. A photo in base64 runs to hundreds of folded lines, which is why a .vcf with pictures is many times the size of one without.

Quoted-printable belongs to 2.1. Each byte outside plain ASCII becomes an equals sign and two hex digits, so “é” in UTF-8 is =C3=A9. A line that ends in = is a soft break: the value carries on at the start of the next line.

Character sets and garbled names

  • A 2.1 file with no CHARSET= was usually written in the phone’s or Windows’ local code page. Read as UTF-8, its accents turn into question marks.
  • “é” where “é” should be means the opposite: UTF-8 text read as Windows-1252, often by Excel.
  • A 3.0 file doesn’t state its character set. Today’s exports write UTF-8, and a reader should assume it.
  • A 4.0 file is UTF-8 by definition.
  • In 3.0 and 4.0 a comma, semicolon or backslash inside a value is escaped with a backslash, and a line break inside a note is written \n. A reader that skips this splits one value into two.

Converting between versions and to CSV

The VCF to CSV converter reads all three versions, folded lines, quoted-printable text, item1. labels, and files in UTF-8, UTF-16 or Windows-1252, then writes a CSV with one row per contact. Turned around, it makes one vCard 3.0 file from a CSV. It runs in your browser and nothing is uploaded. Photos are skipped. If you need the basics first, read what a VCF file is.

Krane for iPhone

With Krane: vCards from paper cards

Krane on iPhone, iPhone Duo and iPad works from the other end: it reads a printed business card into a contact, then adds it to Apple Contacts or shares it as a vCard. With Krane Pro it also exports a CSV or sends the contact to HubSpot, Salesforce or Pipedrive. The business card scanner is free for 10 scans a week. It can’t import a .vcf.

A .vcf file of contacts turning into spreadsheet rowscontacts.vcfBEGIN:VCARDFN:Amélie L.END:VCARDBEGIN:VCARDFN:山田 太郎END:VCARDBEGIN:VCARDFN:Sam RiveraEND:VCARDNameCompanyEmailcontacts.csv3 contacts

Free tool

Open a VCF file and convert it to CSV

Open a .vcf (vCard) file to see every contact, download them as a CSV for Excel, Google Sheets or a CRM, or turn a CSV into a .vcf. The file stays in your browser.

FAQ

Questions about the vCard format

Which vCard version should I use?

Write 3.0 unless the system you’re feeding asks for something else. iPhone, iCloud and Google Contacts export it and every contacts app imports it. Use 4.0 when the receiving software asks for it. Write 2.1 only for an old device that reads nothing newer.

Is a VCF file the same as a vCard?

Yes. vCard is the format and .vcf is its usual file extension; some software uses .vcard. The text inside is the same: BEGIN:VCARD, the properties, END:VCARD.

Why do accented names look wrong after import?

The importer read the file in the wrong character set. “é” means UTF-8 text was read as Windows-1252; question marks usually mean a 2.1 file in a local code page was read as UTF-8. Convert it with a tool that detects the encoding, or re-export the contacts as vCard 3.0.

What does "item1." mean in a vCard?

It is a group prefix. Apple and Google put the same prefix on a value and on the line that holds its custom label, such as item1.EMAIL and item1.X-ABLabel:Billing, so the label stays with the right email. Software that doesn’t know groups keeps the email and drops the label.

Can a vCard hold a photo?

Yes. In 2.1 and 3.0 the PHOTO line carries the image itself, encoded as base64 text, which makes the file much larger. In 4.0 PHOTO is a URI: a link to the image, or a data: URI with the image inside.

What is the MIME type of a vCard?

text/vcard. Older software and some mail servers still send text/x-vcard. The file extension is .vcf.

Turn printed cards into vCards with your iPhone.

Free for 10 scans a week. Krane Pro adds unlimited scans, export and CRM sync.

Download on the App Store
QR code: Krane on the App Store

On a computer? Point your iPhone camera at the code, or text me the link.