Introduction
vCard is the standard text format for contact details: names, phone numbers, email
addresses, postal addresses and photos. Version 2.1 came from the versit Consortium in
the 1990s; version 3.0 is RFC 2426 and version 4.0 is RFC 6350, from 2011. Address
books on phones and computers export and import contacts as .vcf files,
and one file can hold a single contact or a whole address book.
Genetics software uses .vcf for a different format, the Variant Call
Format, which lists differences in DNA sequences.
Structure
A vCard uses the same content lines as iCalendar:
NAME;PARAMETER=value:value, with long lines folded onto lines that start
with a space. Each contact sits between BEGIN:VCARD and
END:VCARD, and the first line inside gives the version, such as
VERSION:4.0.
Common properties are FN (the full name to display), N (the
name in parts: family, given, middle, prefixes, suffixes), TEL,
EMAIL, ADR, ORG, BDAY and
PHOTO. Parameters such as TYPE=work or
TYPE=cell label each one. Version 2.1 files often use quoted-printable
encoding and a CHARSET parameter; later versions are UTF-8. The
properties and versions page lists every
property and parameter.
Not described
The pages follow vCard 4.0 (RFC 6350), 3.0 (RFC 2426), 2.1 (Versit 1996) and RFCs 6473, 6474, 6715, 6869 and 8605. The syntax page adds the exact 4.0 value syntax and parameters of every property, RFC 6474, 6715, 7852, 9554 and 9555, and the elements in IANA's vCard registry (as of 2026-01-13). The XML and JSON forms, xCard (RFC 6351) and jCard (RFC 7095), have pages of their own.
Known, not yet covered
- Viewer: vCard 2.1, 3.0 and 4.0 are read per card: the properties legal in
each version, bare and named parameters, the encodings (QUOTED-PRINTABLE and BASE64 in 2.1,
bin 3.0, data: URIs in 4.0), the structured values (N, ADR, ORG, GENDER, GEO, dates) and PHOTO, LOGO, SOUND and KEY as files. The file is read in windows, a card at a time (a card is checked as it ends and read again from its offsets when shown), so a file of any size opens. Also checked: PID (its syntax, its place, and a CLIENTPIDMAP for every source identifier it names), ALTID (instances that share one count as one toward cardinality, RFC 6350 section 5.4), CLIENTPIDMAP values, and the TYPE values of each property in each version (RFC 6350 section 5.6 with the IANA vCard Elements registry of parameter values, RFC 2426, vCard 2.1; the image, audio and key types of PHOTO, LOGO, SOUND and KEY are not checked, and an IANA-registered token the registry has gained since 2026-01-13 would be reported as a Warning). xCard (RFC 6351) and jCard (RFC 7095) are not variants of this format: they are the same data in XML and JSON, with their own media types (application/vcard+xml, application/vcard+json) and files, so under the site’s rule that different formats are separate formats (CONVENTIONS item 2) each has its own pages and viewer, and each of those viewers converts the file to vCard 4.0 text and shows it in this viewer’s tabs. Not covered: the VALUE types of the properties that have no special reading, the properties of RFC 6473 and RFC 9555 beyond their names, the matching of a card with another by PID for synchronisation (RFC 6350 section 7), and a file that mixes 2.1 with 3.0 or 4.0 (it is read with the folding rule of its first card, and a card of the other kind is said so).
Unknown
- Reference: the property-by-property mapping to JSContact (RFC 9555 sections 2 and 3, RFC 9553) belongs to that JSON format and is not described.
Links
Software
- Google Contacts – imports and exports contacts as vCards (web, Android)
- Apple Contacts – the built-in address book on Apple devices (macOS, iOS)
- Microsoft Outlook – email program whose contacts import and export vCards (Windows, macOS, web)
- Mozilla Thunderbird – free email program with an address book (Windows, macOS, Linux)
Developers
- ez-vcard – reads and writes versions 2.1, 3.0 and 4.0 (Java)