Blog & Guide » Extract » How to Extract Phone Numbers from vCard (VCF) Files

How to Extract Phone Numbers from vCard (VCF) Files

  author
Leena Taylor Paul   
Updated: Extract • 6 Min Read

Extract phone numbers from vCard (VCF) files in bulk to a clean CSV or TXT

Summary: You can extract phone numbers from vCard (VCF) files in three ways. First, run a PowerShell regex script that scans every VCF and pulls the TEL field into a clean text file. Second, import the VCF files into Google Contacts or Windows Contacts and export the result as CSV. Third, use a dedicated VCF phone number extractor that processes thousands of VCF files in one batch. The PowerShell route is free. The dedicated tool is the fastest and also pairs names with numbers.

Why Extracting Phone Numbers from VCF Files Is Tricky

vCard (.vcf) is the standard format for storing contacts. Phones, mail clients, and CRM apps all export contacts as VCF.

However, VCF is a text format that mixes names, email addresses, photos, and notes alongside the phone field. As a result, you cannot just open one file and copy a clean number list.

The job gets harder with thousands of small VCF files. For example, an iPhone export often creates one VCF per contact. Therefore, you need a method that scans the whole folder and pulls only the TEL field into a clean list.

What You Need Before You Start

First, gather the basics. Then pick the method that matches your skill level.

  • Your VCF files in a single folder.
  • PowerShell access on Windows, if you want Method 1.
  • A Google or Windows Contacts account, if you want Method 2.
  • A target CSV or TXT file location.
  • A backup of the original VCF folder.

Method 1: Run a PowerShell Regex Script on the VCF Folder

PowerShell handles bulk VCF files in seconds. It works because VCF is plain text with predictable field names.

Why PowerShell works on VCF

Each VCF file contains lines like TEL;TYPE=CELL:+1-555-123-4567. A short regex pulls every number out of those lines.

Sample script and how to run it

First, open PowerShell in the folder that holds your VCF files. Next, run:

Get-ChildItem -Filter *.vcf -Recurse | Select-String -Pattern 'TEL.*:(.+)' | ForEach-Object { $_.Matches.Groups[1].Value.Trim() } | Sort-Object -Unique | Out-File phone-numbers.txt

Then open phone-numbers.txt to see the clean, deduplicated list. As a result, even ten thousand VCF files finish in under a minute.

Why this works: The regex captures every TEL line regardless of type (CELL, HOME, WORK, FAX). Therefore, you get every number with one pass.

Method 2: Import VCF into Google Contacts or Windows Contacts and Export to CSV

This route uses free, mainstream apps. It works well when you want names paired with numbers in one CSV.

Import the VCF files

For Google Contacts, open contacts.google.com and click Import > vCard (VCF). Then select your VCF files.

For Windows Contacts, type wab.exe in the Run box and choose Import > vCard (VCF file). Next, select your VCF files.

Export contacts to CSV

Next, open the imported group and choose Export > Google CSV or Comma Separated Values. Then save the file.

Finally, open the CSV in Excel and keep only the Name and Phone columns. As a result, you have a clean number list with names attached.

Tip: Google Contacts merges duplicates automatically. For a deduplicated number list, this is the easiest manual route.

Method 3: Use a Dedicated VCF Phone Number Extractor Tool

Sometimes the VCF files contain quirky formatting, photos, or extra properties. In that case, a dedicated extractor is the safest path.

When to choose this method

Choose this route when you have many VCF files with mixed content, when you want a single CSV with names paired to numbers, or when you must filter only certain phone types (cell, home, work). Additionally, it helps when the VCF was exported from a phone with non-standard line endings.

Steps

First, download the VCF phone number extractor on your PC. Then install and launch the tool.

Download the VCF phone number extractor

Next, click the Open tab on the application screen.

Launch the VCF phone number extractor

Then go to Email Data Files and choose vCard Files.

Select vCard files in the phone number extractor

Next, browse to the VCF folder. The tool loads every file and shows a preview on the left panel.

Preview vCard files before extracting phone numbers

Then click the Extract tab and pick Phone Numbers from the drop-down.

Choose Phone Numbers option for VCF extraction

Next, apply filters if needed. For example, pick only cell numbers or skip work and fax lines.

Filter VCF phone numbers by type

Finally, browse to the destination folder and click Save. The tool writes a deduplicated CSV or TXT with every unique number.

Note: The tool processes thousands of VCF files in one run. As a result, you can merge numbers from an entire phone export in a single batch.

Which Method Should You Choose?

Use Method 1 (PowerShell) when you want a free, scriptable option. It also fits scheduled tasks and large folders.

Use Method 2 (Google or Windows Contacts) when you only have a few hundred contacts and want names paired with numbers in a clean CSV.

Use Method 3 (dedicated tool) when you have many files, mixed formats, or need filtering by phone type. It is the fastest end-to-end option.

Frequently Asked Questions

Can I extract phone numbers from vCard files without any software?

Yes. A PowerShell one-liner works on any Windows PC. Therefore, no extra software is required.

Will the extracted list include duplicates?

No, if you use PowerShell with Sort-Object -Unique, Google Contacts merge, or a dedicated extractor. All three deduplicate automatically.

Can I extract names along with phone numbers?

Yes. Methods 2 and 3 both export a CSV with FN (formatted name) and TEL paired together. PowerShell can also do this with a slightly longer script.

Are vCard files modified during extraction?

No. All three methods are read-only. The original VCF files stay untouched.

Can I filter by phone type (cell, home, work)?

Yes. The dedicated tool offers a type filter. For PowerShell, change the regex to TEL;TYPE=CELL:(.+) to capture only mobile numbers.

What VCF versions are supported?

All three methods work on vCard 2.1, 3.0, and 4.0. The dedicated tool also handles non-standard line endings from older phones.

Related Guides

Continue with these sibling extraction workflows: