DevTools Logo

vCard Generator

vCard Generator

Build a valid .vcf contact card with proper escaping, typed entries and a scannable QR code.

Runs in your browser
147 bytes · QR payload scan-friendly
Try an example

Contact fields

2 entries
Phones
Emails
Websites
Address

vCard preview

9 lines · 147 chars
BEGIN:VCARD
VERSION:3.0
N:Doe;Jane;;;
FN:Jane Doe
ORG:Acme
TEL;TYPE=CELL,PREF:+1-555-0100
EMAIL;TYPE=WORK,PREF:jane@acme.example
END:VCARD

QR code of the exact card text above — error-correction level M, 4-module quiet zone.

Details

A contact card is structured data, not free text. This generator writes N with family name first, FN for display, ORG, TITLE, typed TEL/EMAIL entries, a seven-component ADR and optional NOTE/BDAY. Commas, semicolons, backslashes and newlines are escaped so address-book importers do not split your values into extra fields. Choose vCard 3.0 for maximum phone compatibility or 4.0 for PREF=1 flags. Download a .vcf named after the contact or copy the text for a QR badge; a size warning appears when the payload is too dense for reliable scanning.

Business card

N:Doe;Jane;;;
FN:Jane Doe
ORG:Acme
TEL;TYPE=CELL,PREF:+1-555-0100
EMAIL;TYPE=WORK:jane@acme.example

Structured names and TYPE parameters import cleanly into phones and address books.

Four-point-zero preferences

Version 4.0 → TEL;TYPE=CELL;PREF=1:+1-555-0100
Version 3.0 → TEL;TYPE=CELL,PREF:+1-555-0100

The preferred-entry syntax changes between versions and the generator handles both.

Escaped note and address

NOTE:Line one\nLine two\; with comma\, and \\ slash
ADR;TYPE=HOME:;;1 Main St;Paris;;75001;France

Escaping keeps multi-line notes as one property and ADR components in their correct slots.

Examples

Business card

Input
Jane Doe · Acme · cell +1-555-0100
Output
N:Doe;Jane;;;
FN:Jane Doe
ORG:Acme
TEL;TYPE=CELL:+1-555-0100

Structured names import into the correct first/last name fields.

Two emails with preferences

Input
jane@acme.example (work), jane@personal.example (home)
Output
EMAIL;TYPE=WORK;PREF=1:jane@acme.example

vCard 4.0 marks the first entry preferred while keeping TYPE parameters for compatibility.

Escaped note

Input
Line one
Line two; with comma, and backslash \
Output
NOTE:Line one\nLine two\; with comma\, and backslash \\

TEXT escaping prevents a note from being parsed as extra properties.

About this tool

The vCard Generator builds contact-correct .vcf cards from a simple form. It writes structured N, FN, ORG, ADR, TEL and EMAIL properties with RFC escaping, uppercase TYPE parameters, and 4.0 PREF flags where appropriate. Download the file or scan a QR payload on another phone.

It deliberately focuses on one artifact: a valid contact card. Arbitrary-text QR encoding belongs to the QR tool, and parsing existing cards belongs to the VCF to CSV converter. Here the value is in structuring the data so address-book importers accept it without manual cleanup.

Names with commas, notes with newlines and backslashes, multiple phone types and a full street address are all escaped and ordered correctly. Pick vCard 3.0 for maximum phone compatibility or 4.0 for newer metadata; oversized payloads get a scanability warning before you print a QR badge.

What this tool does not do

  • Only one contact is emitted at a time; bulk directories are better served by a CSV import workflow.
  • QR rendering is sized for scanability, so very long notes or attached photos are excluded from the payload.
  • Phone number validation is deliberately lenient: international formats vary too much for a strict regex.

How to use this tool

  1. Fill the contact

    Enter first and last name, organization, title, phones, emails and an optional address.

  2. Choose a version

    3.0 is the safest choice for most phones; 4.0 adds preference flags and newer fields.

  3. Review the card

    Check the live vCard text and any warnings about missing names or long QR payloads.

  4. Share it

    Download the .vcf file, copy the text, or use the QR payload for a paper badge.

Use cases

Digital business cards

Produce a .vcf attendees can import straight from a conference badge or email signature.

Test fixtures

Generate deterministic contact cards for address-book importer tests.

Device migration

Type a contact once and move it to another phone by scanning the generated payload.

Generated property shapes

PropertyExample
NDoe;Jane;;;
FNJane Doe
TEL;TYPE=CELL+1-555-0100
EMAIL;TYPE=WORKjane@example.com
ADR;TYPE=HOME;;1 Main St;Paris;;75001;France
BDAY1990-05-04

Backslash, semicolon, comma and newline characters are escaped as \\, \;, \, and \n inside TEXT values.

Common mistakes

Mistake:Writing raw text with unescaped commas.

Fix:Commas and semicolons delimit vCard components. Escape them with a backslash inside values so a parser keeps them as literal characters.

Mistake:Putting the full name only in FN.

Fix:FN is the display name; N holds the structured family and given names. Populate both so imports sort contacts correctly.

Mistake:Embedding large photos in a QR payload.

Fix:Photos belong in the .vcf file only. QR codes degrade quickly past roughly 800 characters and most scanners reject very dense payloads.

Frequently asked questions

What is a vCard?

A vCard (.vcf) is a standard file format for contact information. It stores a display name (FN), a structured name (N), organization, titles, typed phone numbers and emails, addresses and notes in properties that address books understand. This tool writes those properties for you, with the escaping that plain text pastes usually miss.

Should I choose vCard 3.0 or 4.0?

Use 3.0 when compatibility with older phones and email clients matters most; it is the version most devices import reliably. Use 4.0 when you want newer metadata such as PREF=1 flags on preferred numbers and emails. The generator changes the preference syntax accordingly, so the output remains valid in both versions.

Why do commas and semicolons in my note get backslashes?

In vCard TEXT values, commas and semicolons delimit components and properties. A literal character must be escaped with a backslash, otherwise an importer may split one note into several fields. The generator escapes backslashes first, then newlines, semicolons and commas, so a note with all of them round-trips unchanged.

How do I turn the generated card into a scannable contact QR?

Copy the exact text from the preview into any QR encoder and let a phone camera scan it. Most phones offer to save the scanned vCard as a contact. Keep the payload short — roughly 800 characters or less — because dense QR codes fail on small screens; the tool warns you when the card grows past that point.

Does the tool upload my contact details?

No. Every property is assembled in your browser tab and the .vcf download uses a local object URL. No phone number or email address is sent anywhere.

References & standards