Contact QR code

Enter contact details, preview a vCard QR code and download PNG or SVG.

  • Runs locally
  • Free

Use the tool

Your files are processed in your browser and are not uploaded to a server.

About this tool

Enter a name, phone, email, company, job title, website and address to create a vCard contact QR code. When scanned, phones can save the contact straight to their address book.

Typical uses

  • Print on the back of a business card
  • Swap details quickly at trade shows and events
  • Add to an email signature or résumé

How to use

  1. Enter a name and optionally phone, email, organization, title, website and address.

  2. Adjust output settings, download PNG or SVG, and test with a phone contact app.

Good to know

Uses vCard 3.0 and requires a name. More data increases QR density. Size: 256–2048 px. Reduce data or correction level if capacity is exceeded.

What the contact code contains

A contact QR code holds vCard 3.0 text: it starts with BEGIN:VCARD and ends with END:VCARD, with one property per line and CRLF line breaks. Here is a contact with all seven fields filled; the right column is the exact text written into the code:

FieldEnteredLine written
NameAda LovelaceN:;Ada Lovelace;;; · FN:Ada Lovelace
OrganizationAnalytical Engines LtdORG:Analytical Engines Ltd
Job titleHead of ResearchTITLE:Head of Research
Phone+44 20 7946 0000TEL;TYPE=CELL:+44 20 7946 0000
Emailada@example.co.ukEMAIL:ada@example.co.uk
Websitehttps://example.co.ukURL:https://example.co.uk
Address12 St James’s Square, London SW1Y 4LBADR;TYPE=WORK:;;12 St James’s Square\, London SW1Y 4LB;;;;
  • RFC 2426 defines the N property as family name, given name, additional names, prefixes and suffixes, in that order. The tool has a single “Name” box, so the whole name goes into the given-name slot and the family name stays empty: N:;Ada Lovelace;;;. The display name FN carries the full name.
  • “Phone” is always marked TYPE=CELL (mobile), and “Address” is always TYPE=WORK. The whole address goes into the street part of ADR’s seven components; postcode and city are not split out.
  • Spaces at either end of each box are removed: “ Ada ” and “ +1 555 0100 ” become N:;Ada;;;, FN:Ada, TEL;TYPE=CELL:+1 555 0100. Empty boxes produce no line at all.
  • Phone numbers, email addresses and websites are not checked; they are written exactly as typed, so proofread them before printing.

How commas, semicolons and line breaks are escaped

vCard uses semicolons to separate the parts of a property and commas to separate multiple values, so RFC 2426 requires a backslash before semicolons and commas in text, a line break written as \n, and a backslash written twice. The tool does this for every field:

CharacterWritten as
\\\
;\;
,\,
↵\n
::
  • Colons need no escaping, so https:// in a website is written unchanged. A line break (↵) in the address becomes \n instead of starting a new line, so it cannot be used to inject extra properties.
  • RFC 2426 says lines longer than 75 characters should be folded: a CRLF is inserted and the next line starts with a space. The tool counts UTF-8 bytes, keeps each line to 75 bytes and never splits a character. This long address is folded into 2 lines (␠ marks the leading space):
LineTextBytes
1ADR;TYPE=WORK:;;上海市浦东新区世纪大道100号上海环球金融73
2␠中心25楼2501室;;;;23

A reader removes each line break and leading space to get the original back: ADR;TYPE=WORK:;;上海市浦东新区世纪大道100号上海环球金融中心25楼2501室;;;;. Non-ASCII text is written as UTF-8; a Chinese character takes 3 bytes, an accented letter 2. A QR code has nowhere to declare a character set, and RFC 2426 only says the charset comes from the outer MIME header, with UTF-8 preferred. Whether accented or non-Latin names display correctly therefore depends on the scanning app, so test with real phones.

More fields, denser code

The fixed part of a vCard (BEGIN, VERSION, N, FN, END) already takes dozens of bytes, and every extra field adds a line. “Error correction” under “Export settings” defaults to M:

ContentBytesLMQH
English name only72 bytes4 · 33×335 · 37×376 · 41×418 · 49×49
English name + phone104 bytes5 · 37×376 · 41×418 · 49×4910 · 57×57
Chinese name + phone93 bytes5 · 37×376 · 41×418 · 49×499 · 53×53
Chinese name + phone + long address193 bytes9 · 53×5310 · 57×5712 · 65×6514 · 73×73
Chinese contact, 7 fields262 bytes10 · 57×5712 · 65×6515 · 77×7717 · 85×85
Japanese contact, 7 fields264 bytes10 · 57×5712 · 65×6515 · 77×7717 · 85×85
French contact, 7 fields258 bytes10 · 57×5712 · 65×6514 · 73×7317 · 85×85
  • With only a name and phone the code is 41 × 41 modules at M; a Chinese contact with all seven fields grows to 65 × 65. At the same print size each module is smaller and harder to scan.
  • For the back of a business card, keep only what is essential (name, phone, email) and put the rest on the linked web page.
  • A code holds at most 2331 bytes at M and 2953 at L. Beyond the current level you see “Content exceeds this correction level’s capacity. Shorten it or use a lower level; logos require H.”, and above 2953 bytes “Content exceeds 2953 UTF-8 bytes. Shorten it; nothing was truncated.”. A normal contact is far below either.

No code appears? Checks before you share it

InputResult
“Name” empty or only spacesNo code; the preview shows “Enter content to generate a QR code”, even if other boxes are filled
Name onlyCode generated, 72 bytes
“Download VCF contact”Available once there is a name; saves contact.vcf (UTF-8), which ends with one more line break than the code
“Clear contact”Empties all seven boxes
  • After downloading the PNG, read it with the QR image decoder. You should see the whole BEGIN:VCARD … END:VCARD text; check the phone number and email character by character.
  • Then scan it with the camera or contacts app on both an Android phone and an iPhone and check that name, organisation and address land in the right places.
  • If you need many copies of the same card, the batch QR tool lays them out on A4 label sheets.

Sources

Frequently asked questions

What happens when someone scans it?

Most phones recognize a contact and offer to add it. Presentation varies slightly by device.

Should I include every field?

More data makes the code denser and harder to scan at small print sizes. Include what matters.

Which format is used?

Standard vCard 3.0; a name is required.