Skip to content
barcoder

Standards/vcard-qr

vCard QR

TypeQR Data Format
Completeness72%high

Overview

A vCard QR is a QR Code whose data is a complete vCard contact record: plain text that starts with BEGIN:VCARD, holds one property per line (name, phone, e-mail, address and so on) and ends with END:VCARD. A person points a phone camera or scanner app at it, and the phone offers to save the contact; Macworld described the iPhone camera doing this from iOS 11, and Google's ML Kit scanner parses such a payload into a "business card" object 2022. Printers sell it on business cards, and event platforms print it on badges so that attendees can swap details 2624.

It is not a standard of its own. vCard is an IETF format for contact data (vCard 4.0, RFC 6350), written for e-mail, files and directories. No RFC mentions QR codes, and no QR specification mentions vCard 1. Putting the text into a QR code is a convention. The ZXing project's catalogue of QR payload formats lists it, adding that vCard "proves a bit verbose for use in 2D barcodes" and that "it is not clear whether vCard is or should be used" there. It names NTT DoCoMo's shorter MeCard as the compact alternative 11.

History

versit (1990s). vCard was created by the versit Consortium, which its 2.1 specification describes as "a multivendor development initiative of the communication and computer industries, founded by Apple, AT&T, IBM and Siemens" 4. vCard 2.1, "The Electronic Business Card", is dated 18 September 1996. Its copyright is held by IBM, Lucent Technologies and Siemens, and its trademark notice names "versit", "versitcard", "vCard" and "vCalendar" 4. The same consortium produced vCalendar, the calendar format that led to iCalendar (iCal Event QR) 5.

IMC (from December 1996). The Internet Mail Consortium wrote that "beginning in December, 1996" it "took on responsibility for the development and promotion" of vCard and vCalendar 5.

IETF. vCard 3.0 was published in September 1998 in two RFCs:

  • RFC 2425, a MIME content type for directory information, by T. Howes, M. Smith and F. Dawson 3.
  • RFC 2426, the vCard profile, by Frank Dawson (Lotus) and Tim Howes (Netscape). Both men are also listed among the contributors to vCard 2.1 24.

vCard 4.0 is RFC 6350 (Simon Perreault, August 2011). It replaced RFCs 2425, 2426 and 4770 (IMPP) and updated RFC 2739 1. Later RFCs added to it:

  • RFC 6868 (February 2013) lets parameter values carry line breaks and double quotes 8.
  • RFC 7095 (January 2014) defines jCard, a JSON form of vCard 9.
  • RFC 9554 (May 2024) adds new properties and extends the N and ADR fields so that vCard matches JSContact (RFC 9553), a JSON contact format that RFC 9553 calls "an alternative to the vCard data format" 67.

In QR codes. No source found says when, or by whom, a vCard was first put into a QR code. By 2018 Macworld reported that the iPhone camera, which reads QR codes from iOS 11 on, offers to add contacts it finds in them 20.

Technical specification

The carrier. The QR code holds the vCard text as it is, in byte mode. Nothing marks it as a vCard except its first line. ZXing's parser treats a payload as a vCard only when BEGIN:VCARD (in any letter case) is at the very start, after an optional byte-order mark 1213. It does not insist on END:VCARD: a source comment explains that Android "Eclair" left it out 12.

Versions. Every version uses the same BEGIN:VCARD / VERSION: / END:VCARD frame, but the details differ. RFC 6350 warns that the versions "are similar" but "not strictly compatible", so a reader has to check VERSION 1.

2.1 (versit, 1996) 3.0 (RFC 2426, 1998) 4.0 (RFC 6350, 2011)
Parameters bare names allowed: TEL;WORK;VOICE: 4 TYPE= required ("In [VCARD] this was optional"): TEL;TYPE=work,voice: 2 TYPE= with a value list; preference becomes PREF=1 1
Character set ASCII by default, changed per property with CHARSET= 4 from the MIME charset, not set inside the card 2 UTF-8 only, "no way to override this" 1
Line breaks in a value ENCODING=QUOTED-PRINTABLE (=0D=0A) 4 \n; quoted-printable dropped 2 \n or \N 1
Required properties — VERSION, N, FN 2 VERSION (right after BEGIN:VCARD) and FN; N optional 1
Media type text/x-vCard 4 text/directory 3 text/vcard, .vcf / .vcard 1

Content lines (4.0).

  • Line format. Each line is [group.]NAME *(;param):value, ending in CRLF. Property and parameter names are not case-sensitive, and the RFC recommends upper case 1.
  • Folding. Lines "SHOULD be folded to a maximum width of 75 octets". A fold is a CRLF followed by one space or tab, which a reader removes 1.
  • Escaping. A comma in a value must be written \,. A semicolon must be written \; inside a field of a compound property (N, ADR), and may be escaped elsewhere. A backslash is written \\, and a newline \n. "In all other cases, escaping MUST NOT be used" 1.
  • Value types. URL is a URI value and EMAIL is text. TEL is free text by default, kept for vCard 3 compatibility, but "SHOULD be reset to a URI value", normally tel: 1.

Properties a QR card usually carries (RFC 6350 order and examples) 1:

Property Content
N 5 fields: family; given; additional; prefixes; suffixes (e.g. N:Public;John;Quinlan;Mr.;Esq.). RFC 9554 adds secondary surname and generation 6
FN the display name (FN:Mr. John Q. Public\, Esq.)
ORG organisation; then units (ORG:ABC\, Inc.;North American Division;Marketing)
TITLE job title
TEL TYPE values text, voice, fax, cell, video, pager, textphone; default voice
EMAIL TYPE=work / home; 3.0 also had internet and x400 2
ADR 7 fields: PO box; extended; street; locality; region; postal code; country. Empty fields still take their ;, and the RFC advises leaving the first two empty. RFC 9554 adds 11 more fields after these 7 6
URL, NOTE, BDAY, GEO, PHOTO web page, free text, birthday, location (a geo URI in 4.0), picture (usually a URI in a QR card)

IANA's vCard registry lists 50 properties, last updated 13 January 2026 10.

Example. This 4.0 card is assembled from RFC 6350's own property examples, so it belongs to nobody 1:

BEGIN:VCARD
VERSION:4.0
FN:Mr. John Q. Public\, Esq.
N:Public;John;Quinlan;Mr.;Esq.
ORG:ABC\, Inc.;North American Division;Marketing
TEL;VALUE=uri;TYPE=home:tel:+33-01-23-45-67
EMAIL;TYPE=work:jqpublic@xyz.example.com
URL:http://example.org/restaurant.french/~chezchic.html
END:VCARD

How readers parse it. ZXing's parser (Barcoder read the source on 6 November 2026) 12:

  • Fields read. It extracts FN (falling back to N), NICKNAME, TEL, EMAIL, NOTE, ADR, ORG, BDAY, TITLE, URL, IMPP and GEO.
  • Line endings. It splits lines on LF, so LF-only payloads work.
  • Folds. It unfolds only a CRLF followed by a space or tab. A payload folded with a bare LF keeps that newline inside the value.
  • Escapes. It undoes \, \; \\ and \n in every property, decodes quoted-printable 2.1 values using their CHARSET (UTF-8 if none), and turns VALUE=uri tel: and mailto: values back into plain numbers and addresses.
  • Labels. It takes the first TYPE= value, or a bare 2.1-style parameter, as the field's label.

Google's ML Kit returns a ContactInfo (name, organisation, title, phones, e-mails, addresses, URLs), "a person's or organization's business card. For example a VCARD" 2221. Apple publishes no description of how the iPhone camera parses contact payloads. Its user guide covers only scanning a code with the Camera app or the Code Scanner control 19.

Size. A vCard is longer than the same contact as a MeCard 11. The Try-it encoder's default card (name, organisation, title, phone, e-mail, website, address) comes to 242 bytes (Barcoder ran it on 6 November 2026). Diobox advises printing badge codes larger because vCard QR codes "hold more information, which makes the pattern denser and harder to scan in low light or with older cameras" 24.

Use cases

  • Business cards. MOO's QR business-card maker can put "a website URL, phone number or vCard" into the code on the front of the card 26.
  • Event badges. Diobox prints a vCard QR (name, title, company, e-mail, phone) on each badge so that attendees can trade contacts. It warns that the vCard is fixed when the badge is printed, so changed details need a reprint 24. ATIV's BadgeScanner lead-retrieval app reads badge codes written as vCard 3.0 (N, TEL, EMAIL, ORG). Its guide says line breaks inside a field "are not supported" 25.
  • Phone to phone. Samsung's Contacts app shows the owner's details as a QR code that "the recipient can scan and add" 23. Samsung does not say whether that code holds a vCard.
  • Apps that scan codes. Android apps built on ML Kit receive a parsed contact without parsing vCard themselves 2122.

Implementations

Project Lang Stars Last commit Role
zxing/zxing Java 34,185 Oct 2026 Reference decoder: VCardResultParser turns a vCard payload into an address-book result 12. Its old Android app also wrote vCard 3.0 codes, with LF line ends and a TYPE="…" value list 1415. The project is "in maintenance mode" 16
heuer/segno Python 820 Jul 2026 QR encoder with a make_vcard helper: vCard 3.0, CRLF line ends, the 7 ADR fields in RFC order, commas and semicolons escaped 1731
mangstadt/ez-vcard Java 436 Nov 2026 vCard parser and writer for 2.1, 3.0 and 4.0. ZXing's wiki points to its notes on how the versions differ 182811
enesser/vCards-js JavaScript 441 Jun 2026 vCard generator "to import contacts into Outlook, iOS, Mac OS, and Android devices" 29
jeroendesloovere/vcard PHP 517 Mar 2026 vCard parser and generator 30

About the Try-it encoder. Barcoder's playground builds the card from a form. It writes BEGIN:VCARD, VERSION:3.0 or 4.0 directly after it, then always N and FN, and escapes \ , ; in N, FN, ORG and TITLE. That part matches both RFCs 12. Barcoder ran the encoder on 6 November 2026 and found these differences from the RFCs:

  • Address fields out of order. ADR is written as street; region; postal code; city; country. RFC order is street; city; region; postal code; country 12. With the defaults, the code carries ADR;TYPE=WORK:;;1 Example Street;;00000;Anytown;US. A reader that maps fields by position gets the town Anytown as the postal code and 00000 as the region. ZXing only shows the parts as lines, so the mistake is less visible there 12.
  • Address text not escaped. A ; or , typed into the street or city is written as is, and shifts the fields that follow.
  • Line breaks not encoded. A newline in any field is written raw instead of as \n, which starts a new, broken line 12.
  • Phone and e-mail types in 2.1 style. The phone and e-mail type lists write TEL;TYPE=CELL;VOICE: and EMAIL;TYPE=INTERNET;WORK:. The second item has no TYPE=, which 3.0 forbids ("The 'TYPE=' prefix to parameter values is required") and 4.0's grammar does not allow. The forms that follow the RFCs are TYPE=CELL,VOICE or TYPE=cell;TYPE=voice 21. ZXing accepts the 2.1 style 12.
  • 4.0 cards carry a 3.0-only e-mail type. In 4.0 output, TYPE=INTERNET remains. It is a 3.0 e-mail type, and IANA's registry has no internet value for 4.0 210.
  • Website escaped. The website is escaped like text (, becomes \,). URL is a URI value, and RFC 6350 says escaping "MUST NOT be used" outside the cases it lists 1.
  • LF line ends. Lines end in LF where both RFCs require CRLF. ZXing's own Android encoder does the same and ZXing reads it, while segno writes CRLF 141712.
  • No folding. Long lines are not folded at 75 octets. The RFC says only SHOULD, and a URL or e-mail at the form's 128-character limit exceeds 75 octets 1.
  • 4.0 phone as text. In 4.0 the phone is written as text, not as a tel: URI. The RFC allows this, but says the value SHOULD be a tel: URI 1.

Comparison

  • vCard vs MeCard. ZXing calls vCard "a bit verbose" for 2D codes. It shows MeCard, popularised by NTT DoCoMo, carrying a name, address, phone and e-mail on one line (MECARD:N:Owen,Sean;ADR:…;TEL:…;EMAIL:…;;) 11. MeCard gives a smaller, easier-to-scan code. vCard gives structured name and address fields, typed phones and e-mails, many more properties and an IETF specification 111. Choose MeCard when the code must be small; choose vCard when the card needs fields MeCard lacks, or will be saved and edited in an address book.
  • vCard QR vs a URL QR to an online card. A vCard QR saves the contact with no network connection, but its details are fixed at printing; Diobox's reprint rule shows the cost 24. A URL can point to details that change later, but needs a server.
  • 3.0 vs 4.0 inside a QR code. The QR encoders checked here all write 3.0 (ZXing's Android app, segno, ATIV's badge format) 141725. No source measures which scanners read 4.0. 4.0's UTF-8 rule is the one that settles character encoding when, as in a QR code, there is no MIME header to say it 12.

Fun facts

  • vCard 2.1 was written for exchanging cards over the Web, by infrared, and over "simultaneous voice and data (SVD) modems" 4.
  • ZXing's parser contains a deliberate leniency for one Android release: it accepts cards without END:VCARD "because Eclair is doing just that" 12.

Status

Active. vCard 4.0 (RFC 6350) is the current IETF version. CalConnect's developer guide lists 2.1 as "Legacy, still widely used" and 3.0 as "Common in older systems" 127. The IETF extended vCard in May 2024 (RFC 9554), and IANA's vCard registry was last updated on 13 January 2026 610. RFC 9553's JSContact offers a JSON alternative, but a QR code still carries the text form 7.

On the QR side the convention is still supported:

  • ZXing's vCard parser is still in the maintained project 1216.
  • ML Kit parses contact payloads 21.
  • Apple's current iPhone guide (iOS 27) covers scanning QR codes with the camera 19.
  • Diobox documented vCard badges in November 2025 24.

No source gives any figures on how widely vCard QR codes are used.

Sources

Deployments

No country reports mention this standard by name.

Regions / aggregations not mapped to a single country

  • Universal
source · content/standards/vcard-qr/index.md