Convert VCF to YAML
Turn VCF files into YAML. An array with one object per contact, keyed by property name with its parameters, such as TEL;TYPE=CELL, so each kind of phone or address gets its own key and a repeated one becomes a list.
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 a YAML list.Each contact becomes one entry, with its properties as keys.
What you get
One YAML file with an array. Each contact in the VCF is one object in that array, and each property is a key named after the vCard property.
Parameters stay in the key. A cell phone is stored under a key such as TEL;TYPE=CELL, so each kind of phone or address gets its own key. If a contact has the same property more than once, the values become a list.
How values are written
Escapes in the vCard text are resolved, so you read the plain text and not the escaped form.
Names, organizations and addresses keep their semicolon-separated parts. They are not split into separate fields.
When it fails
A file that cannot be parsed stops with
input_corrupted. The conversion produces one file and has no options to set.To go the other way, use YAML to VCF.
VCF and YAML.What each format is.
The formats
vCard
vCard contacts.
- Extensions
- .vcf .vcard
- MIME type
- text
/vcard - Kind
- Text and data
YAML
YAML configuration and data files.
- Extensions
- .yaml .yml
- MIME type
- application
/yaml - Kind
- Text and data
In your code.The same VCF to YAML conversion through the API, for your app or your agent.
$ cv convert report.vcf report.yaml$ cv convert report.vcf report.yamlQuestions.What people ask about VCF to YAML.
As one object in an array. The keys are the vCard property names, with their parameters when there are any.
Each kind of phone gets its own key, such as TEL;TYPE=CELL. A property that repeats under the same key becomes a list.
No. Names, organizations and addresses keep their semicolon-separated parts as they are in the vCard.
The file could not be parsed. The conversion stops with input_corrupted in that case.