How to convert .eml files into an Excel spreadsheet

What is a .Eml File?
.EML files are individual email messages (RFC-822) created by Outlook Express, Thunderbird, or other email clients. .EML files contain all of the information in the email, including the sender and recipient email addresses, subject, internet header, message text, and more.

If you have a folder filled with many .EML files, it may be convenient to convert them into an Excel spreadsheet.  Having the contents of the .eml files organized in a spreadsheet grid might make it easier to search the contents for key words, quickly sort them by date, analyze sender and receiver information, and to collect the email addresses for use in marketing campaigns or other purposes.

So how can you convert many .eml files, perhaps thousands of them,  into a single Excel or Calc spreadsheet?  This is not a capability that is natively available in Outlook Express or any other email client that I am aware of.

One way I have found to accomplish this is to use a EML file viewer like PST Viewer Pro that can export the messages to a .csv or comma separated values file.  .CSV files can easily be imported into Microsoft Excel. 

PST Viewer Pro (also marketed as EML Viewer Pro) is a tool for managing .eml formatted emails, as well as .pst, .ost, .msg, .mht and winmail.dat emails. These steps will work to convert any of the aforementioned email content to a .CSV file.

Let’s take a step-by-step look at how to export .eml files to .csv using the PST Viewer Pro email viewer.

First, install a free trial of PST Viewer Pro from the product website, then start the software.

Use the folder navigation in Pst Viewer Pro to select the file folder that contains your .eml files.

Navigation in PST Viewer Pro software for opening Outlook .pst files.
Select folder with .eml files

Next, select the files you want to export to a .csv file.  Hold the ctrl key and click on an email to select individual messages. To select all messages, click ctrl-A.

Selecting .eml file in Eml Viewer Pro.
Select .eml files you want to export to .csv

Now that the messages have been selected, all that remains is to start the export process.  Click on the “Export” button.

Location of the Export button on the software toolbar.
Click the export button

This will bring up Pst Viewer Pro’s Export Manager from which you can select export file type.  Pst Viewer Pro lets you choose from many different target formats.  Let’s select .CSV.

Email export manage with "CSV" format selected.
Email export manager.

Click Start to begin the process.  You will be asked for a target folder. Choose a place where you can easily find the .csv file.  I named my file “Eml-files-converted.csv” and saved it to my Windows desktop. If you have Microsoft Excel on your computer, look on your desktop for a file like this:

Email export manage with "CSV" format selected.
Xls file.

To open this .CSV file in Microsoft Excel, all I have to do is double click on it. If the file doesn’t open for you, you may need to start Excel, and then go to File >Open and select the .csv file manually.
Excel will open the .csv file, and display the .eml file contents in the spreadsheet grid.

Email was exported to .csv and imported to MS Excel using PstViewer Pro.
Email exported to MS Excel spreadsheet.

Now that your .eml files have been converted into an Excel spreadsheet, you have full control over the data. Organizing email messages in this way can allow you to search the text very easily. It can also allow you to gather email addresses in a format that can be exported into other applications for marketing or customer service purposes.

And that’s how you convert .eml into Excel or .csv using Pst Viewer Pro!