vCard generator
Create a vCard (.vcf) contact file, version 3.0 or 4.0, with fields properly escaped and long lines folded.
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/vcard \
-H 'Content-Type: application/json' \
-d '{"input":{"first_name":"Sam","last_name":"Rivera","organisation":"Example Ltd","phone":"+44 20 7946 0123","email":"[email protected]"}}'
import json, urllib.request
body = {'input': {'first_name': 'Sam', 'last_name': 'Rivera', 'organisation': 'Example Ltd', 'phone': '+44 20 7946 0123', 'email': '[email protected]'}}
request = urllib.request.Request("https://setget.net/v1/tools/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/vcard", {
method: "POST",
headers: {"Content-Type": "application/json"},
body: JSON.stringify({"input":{"first_name":"Sam","last_name":"Rivera","organisation":"Example Ltd","phone":"+44 20 7946 0123","email":"[email protected]"}}),
});
console.log((await response.json()).result);
Tool: run_tool
Arguments:
{
"slug": "vcard",
"input": {
"first_name": "Sam",
"last_name": "Rivera",
"organisation": "Example Ltd",
"phone": "+44 20 7946 0123",
"email": "[email protected]"
}
}
{
"input": {
"first_name": "Sam",
"last_name": "Rivera",
"organisation": "Example Ltd",
"phone": "+44 20 7946 0123",
"email": "[email protected]"
}
}
Endpoint: POST /v1/tools/vcard. Over MCP: run_tool with slug: "vcard".
Machine-readable: input schema, Markdown. Connect an agent.
Inputs
| Name | Type | Required | What it does |
|---|---|---|---|
first_name |
string | no | Given name. |
last_name |
string | no | Family name. |
organisation |
string | no | Company or organisation. |
job_title |
string | no | Job title or role. |
phone |
string | no | Phone number, ideally in international form. |
phone_type |
string | no | Kind of phone number. One of: cell, work, home. Default: "cell". |
email |
string | no | Email address. |
url |
string | no | Website address, including https://. |
street |
string | no | Street address. |
city |
string | no | Town or city. |
region |
string | no | County, state or province. |
postcode |
string | no | Postcode or ZIP code. |
country |
string | no | Country. |
note |
string | no | Free-text note. Line breaks are kept. |
version |
string | no | vCard version. 3.0 is the most widely supported. One of: 3.0, 4.0. Default: "3.0". |
Examples
Input
{
"first_name": "Sam",
"last_name": "Rivera",
"organisation": "Example Ltd",
"phone": "+44 20 7946 0123",
"email": "[email protected]"
}Result
{
"text": "BEGIN:VCARD\r\nVERSION:3.0\r\nN:Rivera;Sam;;;\r\nFN:Sam Rivera\r\nORG:Example Ltd\r\nTEL;TYPE=CELL:+44 20 7946 0123\r\nEMAIL;TYPE=INTERNET:[email protected]\r\nEND:VCARD\r\n",
"filename": "sam-rivera.vcf"
}Version 4.0 with escaped punctuation
Input
{
"first_name": "Alex",
"organisation": "Smith, Jones; Partners",
"city": "Leeds",
"country": "United Kingdom",
"version": "4.0"
}Result
{
"text": "BEGIN:VCARD\r\nVERSION:4.0\r\nN:;Alex;;;\r\nFN:Alex\r\nORG:Smith\\, Jones\\; Partners\r\nADR:;;;Leeds;;;United Kingdom\r\nEND:VCARD\r\n",
"filename": "alex.vcf"
}Questions
- How do I use the result?
- Save the text as a file ending in .vcf and open it on a phone or in a mail program to add the contact.
- Which version should I choose?
- Use 3.0 unless you know the receiving system wants 4.0. Every common address book reads 3.0.
Related tools
- Contact (vCard) QR code generatorMake a QR code that adds a contact to a phone when scanned: name, phone, email, organisation and website.
qr-vcard - Calendar event (.ics) generatorCreate a valid iCalendar (.ics) file for one event, with optional reminder and repeat rule, ready to import.
ics-event - .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 - Background pattern generatorMake seamless SVG background patterns (dots, grid, stripes, checker or waves) with your colours and scale.
pattern-image