Extract Email Addresses from OLM File

Extract email addresses from OLM file. Outlook for Mac contacts export, Terminal command and Corbett Email Address Extractor.

By · Published 9 May 2024 · Updated 10 Oct 2026 · 9 min read

Extract Email Addresses from OLM File

Quick answer

Your old OLM file holds email addresses you need, and you cannot open it. Outlook for Mac only exports OLM archives, and Excel cannot open them. A user on Microsoft Q&A hit that wall when asking for a CSV of contacts. Below are three ways to extract email addresses from OLM file data, from free steps to a batch tool that can extract email addresses from OLM file archives in one run.

What is inside an OLM file when you extract email addresses?

Before you extract email addresses from OLM file data, know what it holds. An OLM file is an Outlook for Mac archive. It stores emails, contacts, calendars, tasks and notes. Addresses sit in three places: contact cards, sender and recipient fields, and message bodies.

Microsoft describes OLM as export of items to an archive file in legacy Outlook for Mac, and it says support for that version ends in October 2026. Format is a zip archive. FileExt notes that most OLM files use zip, and renaming its extension to .zip shows Accounts and Local folders plus a Categories.xml file. Every way below reads those parts differently, so match method to need: contacts, or every address.

How to extract email addresses from OLM file contacts in Outlook for Mac?

Import your OLM file into legacy Outlook for Mac, then export Contacts as tab-delimited text and open it in Excel. It gets contact cards only, not addresses from message headers or bodies.

  1. Open legacy Outlook for Mac. Go to Tools tab and select Import.
  2. Choose Outlook for Mac archive file (.olm) and select Continue.
  3. Locate your OLM file and select Import. Imported items appear under On My Computer.
  4. Open Contacts, then choose File and Export.
  5. Select Contacts to a list (tab-delimited text), name your file with a .txt extension and save it to Desktop.
  6. In Excel, open that text file, choose Delimited in Text Import Wizard and save as Excel Workbook or CSV.

Microsoft documents how to import an OLM file into Outlook for Mac in legacy steps. A volunteer moderator on Microsoft Q&A told one user that OLM is only export option, and another moderator posted tab-delimited route above. That asker reported their OLM file greyed out in Excel and no accepted answer is marked, so treat these steps as a workaround that depends on your version.

Catch: to extract email addresses from OLM file contacts in that way, you need a Mac with Outlook, new Outlook for Mac may differ because Microsoft documents legacy steps only, and you get contact cards, not senders from your mail.

How to extract email addresses from OLM file with Terminal?

Unzip your OLM file and run grep over extracted files to extract email addresses from OLM file contents. It is free and covers headers and bodies, but it also pulls noise.

  1. Copy your OLM file to Desktop and rename archive.olm to match your file name in commands below.
  2. Open Terminal and unzip: unzip -q ~/Desktop/archive.olm -d ~/Desktop/olm_out.
  3. Run grep command below. It writes unique lowercase addresses to emails.txt.
  4. Open emails.txt in TextEdit and delete addresses you do not want from your OLM email addresses list.
grep -rhoE "[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}" ~/Desktop/olm_out | tr 'A-Z' 'a-z' | grep -vE "\.(png|jpe?g|gif|svg)$" | sort -u > ~/Desktop/emails.txt

Our team ran that pipeline on a small test archive built to mimic OLM layout, and it returned sender, recipient and body addresses one time. It is not tested on a real Outlook export, so try it on a copy first. Output may include system addresses, image names such as logo@2x.png (command removes common ones) and addresses from newsletters.

Catch: that way to extract email addresses from OLM file data needs Terminal comfort, it does not read addresses inside PDF or Word attachments and it returns no sender or date, only addresses.

Bulk method with free demo

How to extract email addresses from OLM file in bulk?

A Mac OLM archive opens fine on Windows in Corbett Email Address Extractor. Input list also covers PST, OST, MBOX, EML, MSG, DBX and Maildir. Tool scans From, To, Cc, subject, message body, message header and attachments, counts addresses and writes a TXT list for Notepad. Date, sender, recipient, subject, file type and size filters narrow your search. Windows only; free demo extracts 10 items.

Download Now Purchase Now

Steps to extract email addresses from OLM file with software

  1. Copy your OLM file to a Windows PC. Install Corbett Email Address Extractor and open it.
  2. Add your OLM file as source. Tool lists your OLM folders. Folders load on left, messages on right.
  3. Preview items, then tick search fields: From, To, Cc, Subject, Message Body or Message Header.
  4. Untick folders you do not need, such as Junk. Add filters if you want fewer addresses.
  5. Select Extract and review addresses and total count in results pane.
  6. Save TXT list to a folder, then open it in Notepad.
Corbett Email Address Extractor screenshot 1: open the software Corbett Email Address Extractor screenshot 2: load the files Corbett Email Address Extractor screenshot 3: preview the mailbox Corbett Email Address Extractor screenshot 4: choose the export option Corbett Email Address Extractor screenshot 5: set the save location

Software helps you extract email addresses from OLM file data on your PC, and Corbett never sees mail data. Your OLM file is read, not changed. Clean your list next with Corbett Email Address Validator. Need files, not addresses? See how to extract attachments from OLM file.

Which way to extract email addresses from OLM file is best?

To extract email addresses from OLM file contacts only, use Outlook for Mac. For free full search on a Mac, use Terminal. For attachments, filters and Windows, use software.

Way to extract email addresses from OLM fileNeedsCoversOutputCost
Outlook for Mac import and exportMac, legacy OutlookContact cardsTab-delimited textFree
Terminal unzip and grepMac, TerminalFields and bodiesPlain textFree
Corbett Email Address ExtractorWindows PCFields, bodies, headers, attachmentsTXTFree demo, then from $99

Other sources work in same way. See how to extract email addresses from OST file or extract email addresses from MBOX file.

Why does OLM email address extraction fail?

Excel cannot open your OLM file when you extract email addresses

OLM is an archive, not a spreadsheet, so you cannot extract email addresses from OLM file data inside Excel. Export contacts as tab-delimited text from Outlook for Mac, or extract addresses with Terminal or software.

On My Computer folder is missing after import

In legacy Outlook for Mac, open Outlook, then Settings, select General and clear Hide On My Computer folders.

Terminal returns zero addresses when you extract email addresses from OLM file data

Check that unzip finished and that your OLM file really is a zip archive. A small share of OLM files use another structure, per FileExt, so try software on those.

Email addresses from OLM file output hold duplicates or junk

Terminal command removes exact duplicates, not newsletters or system mail. Software lets you skip folders and filter by sender before you extract email addresses from OLM file data.

Software does not load your OLM file

Copy file to a local Windows drive, check that it is not corrupt and run tool as administrator. Try free demo on one folder first.

What to do after you extract email addresses from OLM file data?

After you extract email addresses from OLM file archives, remove duplicates and test addresses before any mailing. Keep a copy of your OLM file until you check your list. Need mail on Windows after you extract email addresses from OLM file archives? See how to import OLM file to Outlook.

Our view

Contacts live in Outlook for Mac, so export them there first. For addresses buried in mail, Windows software or a Terminal search both work. We keep both and tell you where either fails.

Key takeaways

Questions about extract email addresses from OLM file

How do I extract email addresses from OLM file?

Import it into legacy Outlook for Mac and export contacts, unzip it and search with Terminal, or use Corbett Email Address Extractor on Windows.

What is an OLM file?

An OLM file is an Outlook for Mac archive that stores emails, contacts, calendars, tasks and notes. Most are zip archives.

Can Outlook for Mac export contacts to CSV?

Its main export is OLM. A Microsoft moderator posted a route that exports contacts to tab-delimited text, which Excel can save as CSV.

Can Excel open an OLM file?

No. OLM is an archive, so convert contacts to text first or extract addresses with another method.

Can I extract email addresses from OLM file without Outlook?

Yes. Terminal can unzip OLM and list addresses, and Corbett Email Address Extractor reads OLM files on Windows with no Outlook install.

Does Corbett Email Address Extractor support OLM files?

Yes. Its page lists Mac OLM files among supported inputs, with PST, OST, MBOX, EML, MSG, DBX and Maildir.

Which fields does Corbett Email Address Extractor search?

From, To, Cc, subject, message body, message header and attachments. Tick boxes turn every field on or off.

What output format does it use?

A TXT file that opens in Notepad and most other tools. It shows every address and a total count before you save.

Is there a free trial?

Yes. Demo extracts 10 items, so you can check your TXT list before buying.

Is there a Mac version of Corbett Email Address Extractor?

No. It is a Windows program. Copy your OLM file to a Windows PC to run it.

Free demo

Ready to Extract Email Addresses from OLM File?

Try Corbett Email Address Extractor on one folder first. Demo extracts 10 items, purchase when your TXT list looks right.

Download Now Purchase Now

Shaks George

Shaks George is a senior analyst at Corbett Software.

Last checked 10 Oct 2026 against Microsoft docs and Terminal steps.