Convert html to vcf

Convert HTML to VCF

Explains how to turn HTML contact data into VCF using desktop, online, or script-based methods.

Convert HTML files online

We don’t have a dedicated online converter for HTML to VCF yet, but you can convert HTML files online to these and more formats:

How to convert html to vcf file

Source format: HTML

HTML (HyperText Markup Language) is a web page markup format, not a contact format. An HTML file can contain contact details in a table, list, or page layout, but it does not have a built-in mapping to vCard fields unless the data is structured clearly.

If your HTML file is just a web page with names, phone numbers, email addresses, and addresses, you usually need to extract and clean the contact data before creating a VCF file.

Target format: VCF

VCF (vCard) is a standard file format for storing contact information. It is widely supported by email clients, smartphones, address books, and CRM tools. A VCF file can include fields such as FN (full name), N (name parts), TEL, EMAIL, ADR, ORG, and NOTE.

VCF is commonly used to import or transfer contacts between systems such as Outlook, Apple Contacts, Google Contacts, Android, and iPhone.

Can html be converted directly to vcf?

Not usually. There is no universal one-click converter for arbitrary HTML to VCF because HTML is too flexible. Conversion is only practical when the HTML contains contact data in a predictable structure, such as a table, repeated contact blocks, or exported address-book markup.

How to convert html to vcf

Best desktop workflow

  1. Open the HTML file in a browser or editor and identify the contact fields you need.
  2. If the data is in a table, copy it into Microsoft Excel or LibreOffice Calc.
  3. Arrange the data so each contact field is in its own column, such as name, email, phone, company, and address.
  4. Import the cleaned data into a contact app or converter that can export vCard files.
  5. In Microsoft Outlook, use File → Open & Export → Import/Export to import the data, then export contacts as .vcf if your workflow supports it.
  6. In Apple Contacts, import the contacts and then use File → Export → Export vCard.

Best online options

  • AnyConv and Convertio may help with simple, well-structured files, but results depend on the HTML layout.
  • CSV-to-vCard converters are often more reliable if you first extract the HTML data into CSV.

Best technical workflow

  1. Parse the HTML with a tool such as Python and Beautiful Soup.
  2. Extract each contact record from the table or repeated block.
  3. Map the values to vCard fields such as FN, TEL, EMAIL, and ADR.
  4. Write the output as one .vcf file containing one or more vCard entries.

Important limitations

  • HTML is not a contact exchange format, so conversion quality depends on how well the source data is structured.
  • If the HTML contains mixed content, images, or multiple unrelated tables, manual cleanup is usually required.
  • Some apps expect one contact per .vcf file, while others can import a single file with multiple vCard entries.
  • VCF supports many contact fields, but not every HTML element has a direct equivalent.
  • Be careful with online converters if the file contains personal or business contact data.

Bottom line: if your HTML file contains contact data, extract it into a clean table or CSV first, then export or generate a VCF file from that structured data.

HTML vs VCF: format comparison

How the HTML and VCF formats compare on the properties that matter most for this conversion.

Comparison of the HTML and VCF file formats
Property .HTML HyperText Markup Language .VCF vCard
Open standard Yes Yes
Compression Uncompressed Uncompressed
Typical file size Small Small
Opens in a web browser Yes, natively No
Further editing Easy Limited
Metadata support Basic Extensive
Plain-text readable Yes Yes
Best used for Web publishing Sharing and distribution
Introduced 1993 1996
Developer W3C / WHATWG IETF
MIME type text/html text/vcard