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
Enter a name and optionally phone, email, organization, title, website and address.
Adjust output settings, download PNG or SVG, and test with a phone contact app.
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:
| Field | Entered | Line written |
|---|---|---|
| Name | Ada Lovelace | N:;Ada Lovelace;;; · FN:Ada Lovelace |
| Organization | Analytical Engines Ltd | ORG:Analytical Engines Ltd |
| Job title | Head of Research | TITLE:Head of Research |
| Phone | +44 20 7946 0000 | TEL;TYPE=CELL:+44 20 7946 0000 |
| ada@example.co.uk | EMAIL:ada@example.co.uk | |
| Website | https://example.co.uk | URL:https://example.co.uk |
| Address | 12 St James’s Square, London SW1Y 4LB | ADR;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:
| Character | Written 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):
| Line | Text | Bytes |
|---|---|---|
| 1 | ADR;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:
| Content | Bytes | L | M | Q | H |
|---|---|---|---|---|---|
| English name only | 72 bytes | 4 · 33×33 | 5 · 37×37 | 6 · 41×41 | 8 · 49×49 |
| English name + phone | 104 bytes | 5 · 37×37 | 6 · 41×41 | 8 · 49×49 | 10 · 57×57 |
| Chinese name + phone | 93 bytes | 5 · 37×37 | 6 · 41×41 | 8 · 49×49 | 9 · 53×53 |
| Chinese name + phone + long address | 193 bytes | 9 · 53×53 | 10 · 57×57 | 12 · 65×65 | 14 · 73×73 |
| Chinese contact, 7 fields | 262 bytes | 10 · 57×57 | 12 · 65×65 | 15 · 77×77 | 17 · 85×85 |
| Japanese contact, 7 fields | 264 bytes | 10 · 57×57 | 12 · 65×65 | 15 · 77×77 | 17 · 85×85 |
| French contact, 7 fields | 258 bytes | 10 · 57×57 | 12 · 65×65 | 14 · 73×73 | 17 · 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
| Input | Result |
|---|---|
| “Name” empty or only spaces | No code; the preview shows “Enter content to generate a QR code”, even if other boxes are filled |
| Name only | Code 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.
Suggest an improvement to this tool
Missing an option, something awkward to use, or a wrong result? Let us know.