Contact (vCard) QR code generator

Make a QR code that adds a contact to a phone when scanned: name, phone, email, organisation and website.

Input

Full name of the contact.
Phone number, ideally in international form.
Email address.
Company or organisation.
Website address, including https://.
How much damage the code survives: L about 7%, M 15%, Q 25%, H 30%. Higher levels hold less.
Width of one small square (module) in pixels.
Blank quiet zone around the code, in modules. Scanners expect at least 4.
Colour of the dark squares: hex such as #000000, or a basic colour name.
Colour behind the code: hex, a basic colour name, or "transparent".

Result

Fill in the input and press Run.

Your input is processed in memory and then discarded. It is not stored or logged. Even so, don't paste live passwords or keys into any online tool.

Use it from code or an agent

curl -s https://setget.net/v1/tools/qr-vcard \
  -H 'Content-Type: application/json' \
  -d '{"input":{"name":"Sam Rivera","phone":"+44 20 7946 0123","email":"[email protected]","organisation":"Example Ltd","url":"https://example.com"}}'
import json, urllib.request

body = {'input': {'name': 'Sam Rivera', 'phone': '+44 20 7946 0123', 'email': '[email protected]', 'organisation': 'Example Ltd', 'url': 'https://example.com'}}
request = urllib.request.Request("https://setget.net/v1/tools/qr-vcard", json.dumps(body).encode(),
                                 {"Content-Type": "application/json"})
print(json.load(urllib.request.urlopen(request))["result"])
const response = await fetch("https://setget.net/v1/tools/qr-vcard", {
  method: "POST",
  headers: {"Content-Type": "application/json"},
  body: JSON.stringify({"input":{"name":"Sam Rivera","phone":"+44 20 7946 0123","email":"[email protected]","organisation":"Example Ltd","url":"https://example.com"}}),
});
console.log((await response.json()).result);
Tool: run_tool
Arguments:
{
  "slug": "qr-vcard",
  "input": {
    "name": "Sam Rivera",
    "phone": "+44 20 7946 0123",
    "email": "[email protected]",
    "organisation": "Example Ltd",
    "url": "https://example.com"
  }
}
{
  "input": {
    "name": "Sam Rivera",
    "phone": "+44 20 7946 0123",
    "email": "[email protected]",
    "organisation": "Example Ltd",
    "url": "https://example.com"
  }
}

Endpoint: POST /v1/tools/qr-vcard. Over MCP: run_tool with slug: "qr-vcard". Machine-readable: input schema, Markdown. Connect an agent.

Inputs

NameTypeRequiredWhat it does
name string yes Full name of the contact.
phone string no Phone number, ideally in international form.
email string no Email address.
organisation string no Company or organisation.
url string no Website address, including https://.
error_correction string no How much damage the code survives: L about 7%, M 15%, Q 25%, H 30%. Higher levels hold less. One of: L, M, Q, H. Default: "M".
module_size integer no Width of one small square (module) in pixels. Default: 8. From 1 to 40.
margin integer no Blank quiet zone around the code, in modules. Scanners expect at least 4. Default: 4. From 0 to 20.
foreground string no Colour of the dark squares: hex such as #000000, or a basic colour name. Default: "#000000".
background string no Colour behind the code: hex, a basic colour name, or "transparent". Default: "#ffffff".

Example

Input
{
  "name": "Sam Rivera",
  "phone": "+44 20 7946 0123",
  "email": "[email protected]",
  "organisation": "Example Ltd",
  "url": "https://example.com"
}
Result

Different every time. Press the example button above to see one.

Questions

How is the name split?
The last word is used as the family name and the rest as given names. Use the vCard tool with qr-generate if you need full control.
Why will my code not scan?
Keep strong contrast (dark squares on a light background), leave the margin at 4 or more, and print it large enough: about 2 cm across for a short link. Long text makes dense codes that need more size.