vCard Parser Builder VCF to JSON CSV API
Free tier included · DataContact data arrives as `.vcf` files exported from Android, Outlook, iCloud or an old CRM — and every one of them is a little different. Line folding, `TYPE` parameters, group prefixes like `item1.TEL`, escaped semicolons and commas inside `ORG`, and vCard 2.1 `QUOTED-PRINTABLE` values in `windows-1251` or `ISO-8859-1` are exactly the cases that break naive regex parsing. This API handles them and returns plain JSON: `N`, `FN`, `TEL`, `EMAIL`, `ORG`, `TITLE`, `ADR`, `URL`, `BDAY`, `NOTE`, each phone and email carrying its `type` (home/work/cell) and `pref` flag.
Who needs it: - **CRM and address-book imports** — normalize an uploaded `.vcf` into JSON records before writing them to your database. - **Migration and ETL jobs** — convert a multi-contact export into CSV in one `POST /to-csv` call. - **Signature and onboarding pipelines** — generate a standards-compliant vCard 3.0 from a few form fields with `POST /build`. - **Backend teams without a vCard library** — one HTTP call instead of pinning `ez-vcard` or `vobject`.
Why this one: it is stdlib-only, fully offline and stateless — nothing is stored, no request logs, no external lookups. It was diff-checked against `vobject` 0.9.9 on real-client samples and 500 serialized random cards. Input up to 5 MB per request.
Honest limits: `/parse` returns the first contact of a multi-contact file (use `/to-csv` to walk them all). Photos, GEO and `X-` extension fields are ignored. Single-valued fields keep the first occurrence, matching `ez-vcard`/`vobject` behaviour.
Endpoints
| Method | Path | What it does |
|---|---|---|
POST | /parse | Parse vCard 2.1/3.0/4.0 text into a JSON contact. Accepts application/json with a vcard string or multipart/form-data with file=<vcf>. |
POST | /build | Build a vCard 3.0 card from fields. first and last are required; org, url, phones and emails are optional (each list up to 20 items, as a string or a {"value","type"} object). |
POST | /to-csv | Convert a vCard file containing one or more contacts into CSV rows. Accepts application/json with a vcard string or multipart/form-data with file=<vcf>. Input limited to 5 MB. |
Quick start
curl -X POST "https://vcard.p.rapidapi.com/parse" \
-H "X-RapidAPI-Key: YOUR_RAPIDAPI_KEY" \
-H "X-RapidAPI-Host: vcard.p.rapidapi.com" \
-H "Content-Type: application/json" \
-d '{"vcard":"BEGIN:VCARD\r\nVERSION:3.0\r\nN:Doe;John;;;\r\nFN:John Doe\r\nORG:Acme Inc\r\nTITLE:Engineer\r\nTEL;TYPE=CELL:+15551234567\r\nEMAIL;TYPE=WORK:john@example.com\r\nADR:;;123 Main St;Springfield;IL;62704;USA\r\nURL:https://example.com\r\nBDAY:1990-05-17\r\nEND:VCARD\r\n"}'
FAQ
Can I upload a whole .vcf file with hundreds of contacts?
Yes, via `multipart/form-data` on `/parse` and `/to-csv`, up to 5 MB per request. Note that `/parse` returns the first contact only — use `/to-csv` to get every contact in the file as CSV rows.
Are my contacts stored or logged?
No. The service is stateless and offline: no database, no request logs, no external network calls. The card is parsed in memory and the response is the only output.
Will it read old Android or Outlook exports with Cyrillic names?
Yes. vCard 2.1 `QUOTED-PRINTABLE` values and `CHARSET` parameters are decoded (`windows-1251` and other 8-bit charsets included); otherwise UTF-8 is assumed, falling back to `windows-1252`. Parsing was diff-checked against `vobject` 0.9.9.
Which fields are supported, and what about photos or GEO?
`N`, `FN`, `TEL`, `EMAIL`, `ORG`, `TITLE`, `ADR`, `URL`, `BDAY`, `NOTE`, with `type` and `pref` on phones and emails. Photos, `GEO` and `X-` extension fields are ignored, and for single-valued fields the first occurrence wins.
Try vCard Parser Builder VCF to JSON CSV free
Free tier on every plan. Get an API key and start calling in under a minute.
Open on RapidAPI