How to Fix vCard QR Codes Not Working in Word Mail Merge
Question details
Users are experiencing issues where vCard QR codes generated via mail merge are recognized by smartphone scanners but fail to successfully add or import the contact details.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- Generating scannable contact QR codes for business cards, badges, or directories using mail merge data.
- Observed behavior
- The generated QR code scans and is recognized as a contact, but the Add to Contacts function fails to import the data on various mobile devices.
Ensure you have a smartphone with a reliable QR code scanner app ready for testing, and keep a backup of your original mail merge document and data source before making syntax changes.
Verify and Adjust vCard Syntax and Line Breaks
Use this solution to ensure your mail merge is generating perfectly formatted vCard data, which is required for smartphones to parse the contact correctly.
Smartphones are highly strict about vCard syntax. If the mail merge process strips out necessary line breaks or leaves out mandatory tags, the scanner will recognize the data type but fail to execute the contact import.
Open your mail merge document and ensure your barcode field starts exactly with 'BEGIN:VCARD' and 'VERSION:3.0', and ends with 'END:VCARD'.
Ensure that each vCard property (e.g., N, FN, ORG, TEL) is on its own separate line. Mail merge fields can sometimes collapse lines; use manual line breaks (Shift + Enter) inside the barcode field code if necessary.
Generate a single test document. Scan the resulting QR code using the native iOS Camera app and at least two different Android QR scanner apps to verify cross-platform compatibility.

Encode Contact Information as Plain Text
If automated 'Add to Contacts' functionality is not strictly essential, formatting the QR code as plain text guarantees that anyone can read the contact details regardless of their scanning app.
Handle Mail Merge Documents Seamlessly with WPS Office
If you are tired of wrestling with complex field codes and formatting quirks in Microsoft Word, WPS Office provides a free, highly compatible, and intuitive alternative for all your document processing and mail merge needs.
- 1. Download and Install: Download WPS Office for free from the official website and install it on your device.
- 2. Open your Document: Launch WPS Writer and open your existing .docx mail merge main document.
- 3. Access Mail Merge: Navigate to the 'References' or 'Mailings' tab to connect your data source and easily generate your merged documents.

Frequently Asked Questions
Why does my generated QR code scan but fail to save the contact?
This happens when the vCard syntax is slightly off. Smartphone apps are very strict; if your mail merge removes necessary line breaks or misses mandatory tags like 'FN' (Formatted Name), the phone's address book will reject the data even though the scanner recognizes it as a vCard.
Can I make a QR code in mail merge without using the vCard format?
Yes. You can encode the merge fields as plain text. Simply remove all vCard-specific tags (like BEGIN:VCARD) and replace them with standard text labels such as 'Name:' and 'Phone:'. When scanned, the phone will display the text on the screen instead of trying to save a contact.
Are vCard QR codes generated in Word compatible with all smartphones?
The QR code image itself is fully compatible, but the text data encoded inside it is interpreted differently by various apps. Native iOS scanners and different Android apps have varying levels of tolerance for vCard formatting, which is why testing across multiple devices is highly recommended.




