Sales & leads

How do I export my LinkedIn contacts?

TODO for AI · updated

Go to Settings, Data privacy, Get a copy of your data and request the archive with Connections. LinkedIn emails you a download link; the zip contains Connections.csv with first name, last name, profile URL, company, position and connection date. Email addresses are only included when the connection allows it, so most rows have none.

Do this for me Free plan, no card. It asks before sending or posting anything.

How to do it

  1. Request the archive. LinkedIn: Me, Settings and Privacy, Data privacy, Get a copy of your data. Choose the larger data archive, including connections, then Request archive.
  2. Download Connections.csv. LinkedIn emails a download link when the archive is ready, typically within 48 hours. The link expires after 72 hours.
  3. Skip the header notes. The CSV starts with a few lines of notes before the column names. Remove them before importing.
  4. Clean and segment. Normalise company names, group by role or industry, mark people you know well.
  5. Import. Most CRMs (HubSpot, Pipedrive, Salesforce) import CSV directly. Map name, company, title and LinkedIn URL.

Your options

OptionEffortCatch
Official data exportRequest, wait for the emailRaw CSV, few emails
Scraping extensionsInstall, runAgainst LinkedIn's user agreement; accounts get restricted
Sales NavigatorPaid seatLists stay inside LinkedIn
TODO for AIOne messageWorks on the official export only, so no extra emails

Watch the agent do it

A real run on sample files. Yours starts from here.

I attached my LinkedIn Connections.csv export. Clean it up (remove the notes header and duplicates), and tag the decision makers by title so I can import them into my CRM. Give me the cleaned CSV.
Connections.csv
AI
shellBrowse LinkedIn connections export folder
shellAnalyze LinkedIn connections CSV for duplicates
shellClean and tag LinkedIn connections
shellClean LinkedIn connections and verify results
shellShow LinkedIn connections file summary
fileConnections_clean.csv

The cleaned file is ~/work/linkedin/Connections_clean.csv (shown above). It has 57 contacts, and 30 of them are tagged as decision makers.

  • Notes header: I removed LinkedIn's "Notes:" lines from the top, so the file now starts at the column headings.
  • Duplicates: I found none. I checked for repeated rows, profile URLs and emails, and nothing matched, so all 57 contacts are still in the file.
  • Decision-maker tag: a new column, Decision Maker, says Yes or No. It's Yes for C-level titles (CEO, CTO, CFO, COO), Founder or Co-founder, Owner, President, VP, Head of, Director, and Managing Partner.
    • Yes (30): CEO, CTO, Chief Financial Officer, Co-founder & COO, Founder, Owner, Managing Director, Director of Operations, VP Sales, Head of Marketing, Head of Growth.
    • No (27): Account Executive, Sales Development Rep, Recruiter, Product Designer, Software Engineer, Junior Developer, Data Analyst, Marketing Manager, HR Business Partner.

Decision for you: there are two Sarah Miller entries:

  • Managing Director at Oakridge Consulting, profile /in/sarah-miller-601, connected 2024
  • CEO at Brightline Labs, profile /in/sarah-miller-dup, connected 2019

The company, title and date are all different, so I kept both. But the second profile URL ends in "-dup", which suggests it may be a duplicate account. If it is, delete the Brightline row before you import.

The script is clean.py in the same folder, so you can run it again on a future export.

Now yours. Pick a case or write your own:
Runs as your own TODO. Attach your files on the next screen.

FAQ

Why are the email addresses empty?
Members choose whether connections can see their email. LinkedIn only exports addresses for people who allow it.
Can I export someone else's connections?
No. The export only covers your own network.
Is automating LinkedIn allowed?
LinkedIn's user agreement restricts bots and automated access. That is why you request the archive yourself and the agent only works on the downloaded file. It never logs in to LinkedIn, crawls or messages profiles.
Can it keep my CRM in sync?
Attach a fresh export each month and it adds only the new connections, asking before each import.

Related