Convert an OST or PST file to MBOX

Convert Outlook OST and PST files to MBOX with the OST Converter in S.A.K. Utility. MBOX is its only output: it does not write PST, MSG, or EML.

To convert an OST, PST, or NST file to MBOX, use the OST Converter in S.A.K. Utility: go to the Email Tools tab, choose the OST Converter sub-tab, press + Add Files, pick a Destination, and press Convert All. MBOX is the only format it writes. Outlook is not needed.

When to use this

Use it to move an Outlook mailbox into a mail program that imports MBOX, a single-file mailbox format many programs understand. An OST is Outlook's local copy of a mailbox held on a mail server, and a PST is an Outlook archive file. You can also use it to try to get back deleted messages.

If you want single messages as EML, HTML, text, PDF, or CSV instead, use Export emails to EML, PDF, HTML, text, or CSV.

What you need

  • The .ost, .pst, or .nst file. Close Outlook if it is using it.
  • Free disk space for the output, which can be as large as the mailbox.
  • No administrator rights and no internet connection.

Steps

  1. Go to the Email Tools tab and choose the OST Converter sub-tab.
  2. Press + Add Files and choose one or more files. They appear in the Source Files queue. Remove and Clear All take them out again.
  3. Under Output Settings, press Browse and choose a Destination folder.
  4. Leave One MBOX file per folder ticked to get one .mbox for each mailbox folder. Clear it to put everything in one file, mailbox.mbox.
  5. Set Threads if you queued several files. It is how many files convert at the same time, from 1 to 8, and starts at 2. It does not speed up a single file.
  6. Press Convert All. Watch Status and Progress in the queue. Cancel stops the run.
  7. Press View Report when it finishes. It opens a summary in your web browser, with any errors.
The OST Converter with a fictional file in the Source Files queue, a Destination folder set, and One MBOX file per folder ticked
A file queued for conversion

Each source file gets its own folder inside the destination, named after the file, so earlier mailboxes are not overwritten. The report is saved in the destination as conversion_report.html.

The OST Converter after a run, with the queue row showing Complete and an item count, and the View Report button available
A finished conversion

Convert only some of the mail

Under Filters (optional), tick Enable filters, then use any of these:

  • Date range: tick it and set the two dates. The range includes both days in full. Items with no date are left out.
  • Sender: keeps mail whose sender name or address contains your text.
  • Recipient: keeps mail whose To, Cc, or Bcc contains your text.

Every folder holding email in the file is converted. There is no way to pick folders.

The OST Converter with Enable filters ticked and a domain in the Sender box, above the start of the Recovery Options group
Filters

Recover deleted emails

Under Recovery Options:

  • Recover deleted items (scan Recoverable Items folder) adds messages from the hidden folder where Outlook keeps recently purged mail.
  • Deep recovery (scan orphaned nodes - slow, thorough) also looks for messages that no longer belong to any folder. It includes the Recover deleted items scan, so you do not need to tick both.

With one file per folder, recovered messages go into their own Recovered Items mailbox. Recovery cannot promise anything: mail that has been overwritten is gone. If a scan could not finish, the report says recovery is incomplete and the recovered count is only a minimum.

How it works

The converter reads the file directly, without Outlook, and rewrites each email as an entry in an MBOX file, attachments included. A picture the message's body shows stays in the body when a mail program opens it, and other attachments stay attachments. An email attached to another email goes in as an attached .eml file. It leaves the source file as it was, and the report shows the start of a checksum (a fingerprint) of the source file.

It looks at every item in every folder and converts the ones that are real email: messages, meeting invitations and replies, posts, and delivery reports. Email in one of Outlook's system folders is converted, and a contact filed in Deleted Items is not. Search folders are skipped, because they only list mail filed elsewhere. A real 1.1 GB PST with about 16,000 emails took about 30 seconds and about 130 MB of memory, on an external SSD.

Good to know

What it does not do:

  • It does not write PST, MSG, DBX, EML, HTML, or PDF files.
  • It does not upload mail to Microsoft 365, Gmail, Yahoo, or any other server. There is no IMAP option.
  • It does not split a PST into smaller files.
  • It does not take an MBOX file as input.

About NST files, Outlook's local copy of Microsoft 365 group mail: they convert the same way as an OST. Converting mail from one has been tested on a generated file, because the one real NST available held no messages. A file with no messages finishes as Complete and says No messages in this file.

What it leaves out:

MBOX holds mail, so contacts, calendar items, tasks, notes, journal entries, and Outlook's own settings and rule records are not converted, wherever they are filed. They do not count as failed. The Progress column and the status bar say how many messages were converted and how many items were left out (not mail), and the report gives the total and a Left Out, by Message Class table: each class name and how many items had it, for each file, and nothing from the items themselves. The app's log file has the same counts. So every item is either converted, left out, or failed. To save contacts and calendars, use Export contacts and calendar from a PST file. Tasks and notes are exported from their folders in Email Inspector, as described in Open a PST or OST file without Outlook.

What happens with unusual mail:

  • An unsent draft has no sender and may have no send time. It is still converted. It gets no From or Date header, because S.A.K. Utility does not make those details up. The line that separates messages in the MBOX file uses - as the sender and, if the draft was never sent, the time Outlook last saved it.
  • A message whose only body is in Outlook's older RTF format is converted to text.

Why items can fail:

  • An attachment that cannot be read, or a body in RTF format that is damaged. That message is not written, so you do not get a copy with part of it missing.
  • One failed item does not stop the run. The rest still convert, the row reads Failed, Progress shows how many failed, and View Report names them.