How to Extract Email Addresses From OST File
In short: To extract email addresses from OST file, remember every sender and recipient sits in each message’s From, To and Cc headers, but Outlook has no way to export just the addresses in bulk. The clean route is a tool that reads the OST, orphaned files included, then writes a deduplicated TXT or CSV list. Free but longer: convert the OST to MBOX, then sweep the addresses out with a command. Either way, clean the list and only email people who agreed to hear from you.
Where the addresses live, plus why there is no native export
This is the detail that decides your method. Every email in the OST carries its addresses in the message headers, in the From, To, Cc and Bcc fields. So the addresses you want are already in the file, spread across every message. The problem is that Outlook has no feature to sweep them out. Its Import and Export handles your saved Contacts, which is a different thing, not the sender and recipient addresses from your mail. And if the OST is orphaned, Outlook cannot even open it. So pulling every address out means reading the file with a tool. You can also convert it first and sweep it with a command.
Senior Analyst, Corbett Software
“People confuse this with exporting contacts, but you want every From and To address, not just the saved ones. Outlook will not do that, nor will it open an orphaned OST. A tool reads the file and writes a deduplicated list. If you prefer free, convert to MBOX and sweep it with a command.”
Extract every address with a tool
The quickest and cleanest way, the one that also works on an orphaned OST, is a tool that reads the file and lists the addresses.
The Corbett Email Address Extractor opens an OST with no Outlook or Exchange, reads the From, To, Cc and Bcc fields of every message, then writes one deduplicated list as TXT or CSV. It handles orphaned and inaccessible OST files, so a filter lets you limit the sweep to a date range or folder. A free demo edition lets you preview first and runs on every edition of Windows.
- Install and open the tool, click Open, choose Email Data Files, then OST Files, then select your OST.
- Let it scan and preview the folders and messages.
- Click Extract, choose Email Address, apply any date filter, then Save the TXT or CSV list.
The free workaround: OST to MBOX, then a command
If you would rather not use a paid tool, get the mail into MBOX first, then sweep the plain text.
- Convert the OST to MBOX, for example with a free OST viewer that exports. A converter demo works too.
- On Mac, Linux or Windows through WSL, run this in the file’s folder:
grep -rhoiE ‘[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+’ mailbox.mbox | sort -u > addresses.txt
On Windows PowerShell, run this instead:
Select-String -Path mailbox.mbox -Pattern ‘[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+’ -AllMatches | ForEach-Object { $_.Matches.Value } | Sort-Object -Unique > addresses.txt
Both write a sorted, de-duplicated list to addresses.txt. It is free and scales, but it grabs addresses from bodies and signatures too, so it needs a cleanup.
Clean the list and use it responsibly
However you pull the addresses, finish by cleaning the list. Open the TXT or CSV in Excel or Google Sheets, remove any leftover duplicates and delete entries that are not real addresses. One point matters if the goal is a mailing list: only email people who have agreed to hear from you, then stay within the anti-spam rules where you operate. A clean, consented list protects your sender reputation and keeps your messages out of the spam folder.
Frequently asked questions
How do I extract email addresses from an OST file?
Use a tool that reads the OST and writes the From, To and Cc addresses to a deduplicated TXT or CSV. For free, convert the OST to MBOX, then sweep the addresses with a grep or PowerShell command.
Can I extract addresses from an orphaned OST?
Yes, with a tool. It reads the OST directly, without the account or Exchange, so an orphaned or inaccessible file is not a blocker. Outlook cannot open an orphaned OST.
Does exporting contacts give me all the addresses?
No. Contacts are only your saved entries. To capture every sender and recipient, you extract the addresses from the message headers, which contacts export does not do.
Is there a free way to do this?
Yes. Convert the OST to MBOX, then run a grep or PowerShell command that writes a sorted, de-duplicated list. It scales well but the output needs a quick clean.
What format is the address list saved in?
A tool writes a TXT or CSV list, while the command writes a plain text file. Both open in Excel or a contact importer for the next step.
Does extracting change the OST file?
No. Reading the OST or converting it only copies data out. The original file stays as it is, so the addresses go to a separate list.