Sample vCard QR Codes: Test Contact Formats

Author

QRScannerAI

Three sample vCard QR codes — one per vCard version — plus five deliberately awkward field probes tell you in about fifteen minutes how any reader treats contact data: which versions it parses, which fields survive the trip, and where it silently drops information. Encode each payload below exactly as written, scan it with the reader you are evaluating, then open the saved contact and compare it against what you encoded.

Contact codes fail differently from every other QR payload. A URL either opens or it doesn't; a contact card can half-work — the name saves, the phone number vanishes, the accented characters arrive as garbage. Half-failures never show up in a casual scan, which is why vCard codes deserve a deliberate pass. This page is the vCard slice of our sample QR codes for testing library, built to run alongside the URL test codes and WiFi test codes.

What a vCard Code Stresses

A vCard code exercises three layers, and each one can fail while the others work. First, decoding: the scanner reads the raw bytes out of the pattern — that part is standardized by ISO/IEC 18004 and is rarely where trouble starts. Second, parsing: the decoded string gets cut into fields under the vCard grammar, whose rules come from RFC 6350 for version 4.0 and from the older 2.1 and 3.0 conventions for legacy cards. Third, handling: the platform's contacts app decides which fields to show, which to drop, and how to label them.

Layer three is the least standardized and the most likely to surprise you. The same card can save perfectly on one phone and lose the job title on another, because "what to do with an ORG field" is a design decision each platform made independently. Every test below aims at that seam: the payloads are valid, the bytes are clean, and the only variable is how the reader treats them.

The Three Version Test Codes

vCard has three versions you will actually meet in the wild, and each exposes a different era of reader support. Encode each payload exactly as written — line breaks included — and keep the three codes separate so a failure points at one version.

Test Code 1: vCard 2.1 (Legacy)

BEGIN:VCARD
VERSION:2.1
N:Doe;Jane
FN:Jane Doe
TEL:+1 555 010 1999
END:VCARD

Version 2.1 dates from the 1990s and still circulates because older generators keep producing it. A careful reader parses it without complaint; a strict one shows the raw text instead. Scanning this code answers a simple question: does the reader you rely on still speak the oldest dialect? If it dumps the payload as plain text, the answer is no — useful to know before you print a batch of cards from an old template.

Test Code 2: vCard 3.0 (The Workhorse)

BEGIN:VCARD
VERSION:3.0
N:Garcia;Maria;;;
FN:Maria Garcia
ORG:Example Studios
TITLE:Events Lead
TEL;TYPE=CELL:+1 555 010 2024
EMAIL:maria@example.com
URL:https://example.com
END:VCARD

Version 3.0 is the version nearly everything supports, and this payload is the one you should judge a reader by. It covers the fields a professional card actually carries: structured name, organization, title, a mobile number, an email, and a URL. If a reader mishandles this card, it will mishandle yours — fix the payload before printing, not the reader after the fact.

Test Code 3: vCard 4.0 (Current Standard)

BEGIN:VCARD
VERSION:4.0
FN:Maria Garcia
TEL;TYPE=cell:+1 555 010 2024
EMAIL:maria@example.com
URL:https://example.com
END:VCARD

Version 4.0 is the current RFC 6350 grammar. Its core fields look familiar, so most modern readers accept it immediately — but readers written strictly against 3.0 can stumble on details like the lowercase cell type value. This code tells you how current your reader's parser is, which matters if your audience skews toward newer devices.

Fields That Break Scanners

The version codes test whether a reader parses vCard at all. These five probes test how much of the card survives. Add each field to the 3.0 payload above, re-encode, and scan — every probe is valid vCard, so any failure belongs to the reader, not the code.

  • Accented characters. Change the name to José García. Version 2.1 predates the UTF-8-only rule, so accented text in legacy cards depends on the reader's byte-decoding choice — many readers assume UTF-8 regardless and things work, but some show mojibake or drop the field. Version 3.0 and 4.0 cards carry UTF-8 cleanly.
  • Escaped punctuation. Set the organization to ORG:Example\, Inc.;Design Team. The backslash-comma is the grammar's escape for a literal comma, and the semicolon separates components. Readers that skip unescaping save the card with visible backslashes — a small flaw that looks unprofessional on a real card.
  • A second phone number. Add TEL;TYPE=HOME:+1 555 010 2001 alongside the mobile line. Multi-value handling is where thin parsers stop: some readers save both numbers, some keep only the first. If a reader drops numbers, you know to keep your real card single-line.
  • A long NOTE field. Add a 200-character note. Length does not change the grammar, but it changes the grid: more data means more modules, smaller dots, and a tighter scan margin. If the long card scans fine, your print size has headroom; if it struggles, shorten the note or print larger.
  • A PHOTO field. Embedding a photo means hundreds of base64 characters inside the payload. Some readers ignore the image and save the rest; some choke on the whole card. Treat this probe as an expected-fail: it shows you why real business cards should not embed photos in the QR code — the avatar belongs in the card design, not the payload.

What Each Device Should Show

Run the three version codes and the probes on at least one iPhone and one Android phone, and log what each device does. Current versions behave roughly like this:

Test codeTypical iOS behaviorTypical Android behavior
vCard 2.1 minimalParses on current versions; older builds may show raw textOpens a contact screen in the Contacts app
vCard 3.0 workhorsePreview sheet with an add-to-contacts actionContact card opens for saving in Contacts
vCard 4.0 standardSame flow as 3.0 on current versionsSame flow as 3.0 on current versions
Accented nameShown correctly when the reader decodes UTF-8Shown correctly when the reader decodes UTF-8
Second phone numberBoth numbers usually land in the card — verify bothBoth numbers usually land in the card — verify both
PHOTO fieldOften silently droppedOften dropped, occasionally an error

Treat the table as a baseline, not a contract — contacts-app behavior shifts with OS updates, which is exactly why the test pass exists. The value is not in matching this table line for line; it is in noticing when your own devices disagree with each other. Disagreement means one of your payloads sits outside the reader's comfort zone, and the probes above tell you which field to simplify.

Frequently Asked Questions

What is a static QR code?

A static QR code encodes its final payload directly — the data lives in the pattern forever and cannot be changed without generating and reprinting the code. Every vCard code in this guide is static in practice: the contact fields are baked into the pattern, so run the test pass before the cards print, not after.

What is a dynamic QR code?

A dynamic QR code encodes a short redirect that the provider can repoint later, so the printed pattern stays the same while the destination changes. Dynamic codes are standard for campaign URLs and rare for contact cards, because contact details change far less often than landing pages do.

Should I use a static or dynamic QR code for a URL?

Use a static code when the destination is permanent — a homepage, a portfolio that never moves. Use a dynamic code when you might repoint the destination: seasonal campaigns, printed menus, event signage. The URL test codes page includes payloads that show how each behaves in a scanner.

Which types of QR codes should I test?

At minimum: URL, WiFi, and vCard payloads, plus a plain-text code as a baseline. Each stresses different handling code — URLs stress the browser handoff, WiFi codes the network-join flow, vCards the contacts app. This page covers the vCard set; the other two follow the same encode-and-compare pattern.

Why is testing QR codes important?

Because the three layers — decode, parse, handle — fail independently. A code can decode perfectly and still lose the phone number during contact parsing, or open a URL with its tracking parameters chopped off. A deliberate test pass isolates the failing layer, so you fix the payload or the print size instead of blaming the wrong thing.

Do QR codes behave differently on Android and iOS?

Yes — at the handling layer. Decoding is standardized, but each platform hands the result to its own contacts app, browser, and WiFi-join flow, so the same vCard can save cleanly on one system and drop a field on the other. That is exactly why the test matrix includes one phone of each platform.

Can screen type and color affect QR code scanning?

Contrast matters more than color. A code with weak contrast against its background — light gray on white, for example — decodes poorly regardless of hue, and dark-mode inversions can break readers that expect dark modules on a light background. Print the test codes in plain black on white to keep the baseline clean.

What is a WiFi QR code used for?

A WiFi code stores the network name, password, and security type, and a matching reader can offer to join the network straight from the scan — the fastest way to hand guests a connection. It has its own escaping edge cases around SSIDs and passwords, which the WiFi test codes page covers payload by payload.

Wrap-Up

Three version codes and five field probes, fifteen minutes, and you know exactly what a reader does with contact data: which vCard dialects it speaks, which fields survive, and which quirks to design around. Run the pass before any print run that carries a contact code, keep the results table next to your sign-off checklist, and when you are ready to build the real card, the vCard contact guide walks through the field choices and placement rules.