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
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
| Name | Type | Required | What 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.
Related tools
- vCard generatorCreate a vCard (.vcf) contact file, version 3.0 or 4.0, with fields properly escaped and long lines folded.
vcard - QR code generatorMake a scannable QR code as SVG from any text or link, with a choice of size, colours and error correction.
qr-generate - WiFi QR code generatorMake a QR code that joins a WiFi network when scanned, with the network name and password escaped correctly.
qr-wifi - .gitignore generatorBuild a .gitignore for the languages, editors and operating systems you use, merged without duplicates.
gitignore-generate - ASCII banner text generatorTurn short text into large five-line banner letters for terminals, READMEs, logs and code comments.
ascii-banner - ASCII table generatorRender headers and rows as a box-drawing or plain ASCII table for terminals, logs and code comments.
ascii-table