Convert VCF to XML
Turn VCF files into XML. Objects become elements inside one root element and every value becomes text, with characters a tag name cannot hold turned into underscores.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop VCF files on the dialor turn it to pick what to do
Contacts as one XML file.Your vCard data comes out as XML elements inside a single root element.
What you get
One XML file. Objects become elements inside one root element, and every value becomes text.
Characters that a tag name cannot hold are turned into underscores in the element names. Escapes in the values are resolved.
How lists and attributes work
Keys starting with @ become attributes. When the value of such a key is a list or an object, it is written as JSON text. A key named #text becomes the element's own text.
A list repeats its element, once for each item. An empty list therefore disappears from the output, and a list of lists is flattened into one run of repeated elements.
When it stops
The conversion stops with
input_corruptedwhen the file could not be parsed.
VCF and XML.What each format is.
The formats
vCard
vCard contacts.
- Extensions
- .vcf .vcard
- MIME type
- text
/vcard - Kind
- Text and data
XML
XML documents and data.
- Extensions
- .xml
- MIME type
- application
/xml - Kind
- Text and data
In your code.The same VCF to XML conversion through the API, for your app or your agent.
$ cv convert report.vcf report.xml$ cv convert report.vcf report.xmlQuestions.What people ask about VCF to XML.
No. Every value becomes text in the XML.
It disappears. A list repeats its element once per item, so an empty list leaves no element.
No. This conversion has no options.
The VCF file could not be parsed, so no XML is made. For other routes from vCard, see every VCF conversion.