Convert PST to EML

Outlook for Microsoft 365, Outlook 2021, Outlook 2019, Outlook 2016, Outlook 2013, Outlook 2010, Outlook 2007

This tool converts emails from Outlook PST data files to EML format. It preserves internet transport headers, attachments, and the original folder structure of PST data file. It can also convert corrupted, orphaned, archive, password-protected, and encrypted Outlook Data Files (.pst and .ost).

Save message as EML file in Outlook

To save an Outlook message as an EML file, follow these steps:

  1. In Outlook, select the message you want to convert.
  2. Click on File > Save As, then select Text Only from the Save as type dropdown list, and click Save.
  3. Open the text file you saved in Notepad, then save a new copy with the .eml extension.

Note: Saving the message as text format does not preserve email headers or attachments, and the resulting output is plain text.

Converting PST to EML allows you to store and back up your emails in a convenient format and easily transfer messages between different email clients and systems.

How to convert PST to EML?

If you're looking for a quick and easy way to convert your entire Outlook data files to EML format, PST to EML Converter offers a simple one-click solution. However, If you need to convert Outlook Data Files (.pst and .ost) to EML using PowerShell or export selected items or search results to EML files, try OST PST Viewer.

Method 1: Using PST to EML Converter

  1. Close Microsoft Outlook and any other mail-enabled applications that use your Outlook mailbox.
  2. Download and run PST to EML Converter.
  3. Browse for the PST file or folder with PST files you want to convert, then click Open.
  4. Choose the target path for converted messages in EML format.
    PST to EML Converter
  5. Set up the export parameters, then click Run
  6. Wait for the export to complete.
    PST to EML Converter Report
  7. Once finished, review the summary and log information for any issues or errors.

Method 2: Using OST PST Viewer

To open and export selected items or search results from Outlook Data Files (.pst and .ost) to EML files, follow these steps:

  1. Close Microsoft Outlook and all other mail-enabled applications that may use your Outlook mailbox.
  2. Download and run PST Walker on your computer.
  3. Browse for the Outlook data file you want to convert and click Open.
  4. Preview all of your items, including email messages, calendar, contact, and task data.
    OST PST Viewer
  5. Search for or select specific items and go to File > Export.
  6. Choose EML as the file format and select Selected items only.
    Convert emails from PST to EML files
  7. Select the destination folder and click Ok.
  8. Wait for the export process to finish, then click Ok.

Custom options when saving PST to EML

The utility provides predefined file naming options for exported EML files:

  • Incremental Numeric ID
  • Item Subject
  • PR_ENTRYID field

There are three options for which items to save:

  • Selected items
  • All Items in this folder
  • All items in this folder and subfolders

When you select the subfolder processing mode, the utility creates the original Outlook folder structure on your local disk or network share. These folders contain emails converted to EML format.

Online services to convert PST to EML

Important: Your PST files contain important and confidential data. If you use an online service to convert emails from PST to EML, all of your sensitive data, including private messages, contacts, tasks, and notes, will be transferred to someone else's server. The data will be processed on an unknown computer, and you will have no control over it until you download the resulting EML files.

Our utility, on the other hand, strictly works on your computer. The information from the PST data file is not uploaded or transferred to any external server. All data processing and conversion take place locally on your computer, providing you complete control and confidentiality over your data.

Are there any limits when converting from PST to EML?

There is no limit on the number and size of the converted PST files and the resulting EML files. You can convert unlimited folders or files as often as you like.

Since EML is a format for storing only email messages, Outlook contacts, calendar and tasks can be exported to .eml as emails.

When converting, the utility saves all available data, such as:

  • message subject
  • send and receive dates
  • sender and recipient addresses
  • message text with HTML and RTF markup
  • attachments and images
  • Internet headers

Bulk PST to EML conversion

The OST PST Viewer can bulk convert PST to EML in batch scripts using PowerShell, Task Scheduler and other automation tools. To do this, use the command line options of the product.

Note: Command line parameters are not available in the Home license.

   [-HardDeleted | -HardDeletedOnly]


The filename parameter specifies the .pst and .ost files to process. A filename mask can be applied, e.g. c:\users\*.pst

The E parameter specifies the file format for the saved messages. Exports to a file of the specified format:
  • msg - .msg file format
  • umsg - unicode .msg file format
  • eml - .eml(rfc 822) file format
  • pst - .pst Outlook Data File
  • mbox - .mbox Mozilla Thunderbird file format
The Name parameter specifies the naming style for the saved messages:
  • Id - incremental Id
  • EntryId - PR_ENTRYID (unique message identifier)
  • Subject - message subject
Specifies search query, see search keywords and boolean search operators

Specifies destination folder for bulk extracted messages

Extensive scan (to recover data from a damaged or a corrupted .pst, .ost files)

Find 'hard deleted' and 'orphaned' items

Export only 'hard deleted' and 'orphaned' items

Create .log file in ExportPath folder


cd "C:\Program Files (x86)\PST Walker\"
$PSTFiles = @("c:\a.pst", "c:\b.pst") foreach ($PST in $PSTFiles){ .\pstwalker-cli.exe "$PST" --% -E:eml -SearchQuery:'from:( OR "bobby moore")'-ExportPath:"D:\PST-Exports\" }

This example searches c:\a.pst and c:\b.pst mailboxes for items in which the e-mail address equals OR sender name contains bobby moore. The search results are exported as .eml files to D:\PST-Exports\.

When running native commands from PowerShell, the arguments are first parsed by PowerShell. Beginning in PowerShell 3.0, you can use the stop-parsing (--%) token to stop PowerShell from interpreting input as PowerShell commands or expressions.

Updated on May 04, 2023

Facebook Email

See Also

OST PST Viewer

PST Walker is a portable viewer for .pst and .ost files. Open, view and convert PST and OST files without Microsoft Outlook. Easily recover deleted items, search content and attachments, and export to various file formats.

PST to MBOX Converter

Convert Outlook PST files to Thunderbird MBOX files. Maintains the original folder structure after the conversion.