How to Convert Multiple .Eml Email Into Text Files?

Image of email converted to text file.

Transforming .eml formatted email messages into text format can be useful for archiving or performing fast searches with a text indexing program. It also makes it easy to access the message contents even if an email client is not installed, since any simple text editor will do the job.  While many email clients make it simple to convert a single email into a text file, they often fall short when it’s necessary to batch convert hundreds or thousands of emails.

This article looks at the .eml to .txt conversion capabilities included in Eml Viewer Pro, a Windows application that makes bulk management and conversion of email content easier. It will explain how to perform a conversion, setup a custom file naming scheme, and choose how the software should process email file attachments.  To follow along with this tutorial, download a free 15 day trial of Eml Viewer Pro.

Converting .Eml To Text

To begin, start Eml Viewer Pro, and using the folder list on the left side of the screen, choose the Windows folder that contains your .eml files.  Note that Eml Viewer Pro can also open .msg and .mht files, and convert them to text as well as .eml files.

Image shows Eml Viewer Pro software main screen with emails in the file list.
Eml Viewer Pro email viewing software

Next, select the emails from the mail list that you want to convert into .txt text files.  You can select a single .eml file by clicking on it.  Hold down your Windows Shift key to select a range of files. To choose all of the .eml files in the list, type Ctrol-A to select all. When an .eml file is selected, it will be highlighted in the list.

Image shows 3 emails highlighted in the Eml Viewer Pro mail list.
.eml files selected in the mail list.
Now that our .eml files have been selected, the final step is to tell Eml Viewer Pro to convert them into text files.
Locate the Eml Viewer Pro main toolbar, and select “Text” from the Export Profile list.
Choose Txt from EML Viewer Pro export profile list.
Eml Viewer Pro export profile drop down list. Choose Text.
To begin the export process, click the Start button.
Start the eml to txt conversion process by clicking Eml Viewer Pro's Start Export button.
Eml Viewer Pro will go to work processing the selected .eml files into text files. Below is an image of a convert .eml file displayed in the Notepad text viewer.
The text file is formatted with the subject/from/to/sent time/attachments items listed in the header.
Text formatted email document.
An .eml file converted into a text file
Html emails that do not have a text component will be shown with their html formatting.
An email that has been saved as a text .txt file.
Html .eml file converted to text
Converted .eml files will reside in a text file that given the name of the email subject line. You can change this if you like, since Eml Viewer Pro provides great flexibility in naming the text files it creates.

Naming Export Text Files

To add a custom naming plan to the saved text files, click the “Edit” button next to the Text export profile.
The Edit button in EmlViewer Pro.
Edit the eml-to-text export profile.
This will bring up the Edit Profile window.
EmlViewer Pro's Edit Profile window is displayed with File Naming options highlighted.
Edit text file naming structure

From the file naming drop down list, choose “Custom Naming Schema.”

EmlViewer Pro's file naming scheme editor
Specify how exported text files are to be named.

Using the Custom Naming Schema editor, you can drag and drop the components to create the exact naming structure that your project requires.

Managing .EML File Attachments

When you export .eml files into text files, some of the emails will contain file attachments.  With Eml Viewer Pro, you can specify how those file attachments should be processed.  From the Export Editor, go to Target > Attachments, and select the option that best meets you need from the drop down list.

Edit email profile export settings.
Manage how .eml file attachments are processed

Currently, Eml Viewer Pro gives you three options:  ignore the file attachments, save them in a separate subfolder which will have the same name as the text file, or save the attachments into the same folder as the text file.

Conclusion

Eml Viewer Pro is a powerful tool for managing .eml email content.  Converting .eml files into text file is just one of it’s capabilities.  Eml Viewer Pro can also convert .eml to pdf, jpb, csv, mbox, odt, and many other formats.  The process for converting to these other formats is identical to the text conversion process explained in this article.

Click here for more information on Eml Viewer Pro.

 

Exporting EML Files: Customizing Export Profiles In EML Viewer Pro Software

Image of PstViewer Pro customization screen.

When it comes to convert .eml files, the EML Viewer Pro email reader provides a tremendous amount of flexibility to it’s users through Export Profiles. It is best to think of export profiles as editable instruction sets that tell EML Viewer Pro how it should perform the conversion and exportation of selected email messages.

EML Viewer Pro ships with more than 25 pre-configured export profiles. Any of these profiles can be edited to your specific needs, or you can build completely new export profiles.

If you don’t yet have EML Viewer Pro installed on your Windows computer, you can download a free trial from the EML Viewer Pro home page  and follow along with this lesson.  Export profiles are easy accessible from the EML Viewer Pro (also known as Pst Viewer Pro) software main toolbar. Individual profiles are selected from the drop down list.

Choose your export profile to convert .eml files.
Export Profile Select List

To use an export profile, first find the messages you want to export in the Mail List, click “Ctrl-A” to select all emails, choose your export profile and then click the start button.

Start .eml file export operation by clicking start button.
The Export Start Button Location Is Shown As Highlighted

 Create a Custom Export Profile

To create a custom export profile, start by clicking the ‘Create New Profile’ button from the EML Viewer Pro toolbar.

How to create a new export profile for converting .eml files in EmlViewer Pro.
New Profile Button

This will run the Export Wizard, which will walk you through the simple steps of creating a basic export profile.

New export profile creation screen is shown.
EML Viewer Pro Export Profile Wizard

In the first step, enter a name for your profile. You may want to give it a name that is meaningful so that you’ll recognize it from the profile drop down list.  In our example today, I’m going to give it the name “My New Profile,” and choose a PDF target format. Click next to advance the wizard.

New email export profile setup screen in EmlViewer Pro email viewer.
Select The Desired Conversion Format

In step 2, you can select a specific folder to export messages to, or you can tell EML Viewer Pro to always put the files it creates into a zip archive. Click the finish button to complete the wizard.

Final step of creating an export profile in EmlViewer Pro software.
Select The Target Destination

When the wizard has completed, look at the export profile drop down list. You should see your new profile listed.

Just for fun, let’s edit this profile and make some deeper changes to it.  First, select your new profile from the drop down list, and then click the “Edit” button. The Edit Button is the icon that looks like a piece of paper with a pencil.

New export profile selection. Eml viewer software export selection window.
Click Edit Button to Edit the New Profile

The Export Profile Editor will launch. Here is where you can change all of the settings for the selected profile, from its name to it’s format.

Export profile editor in EmlViewer Pro software.
EML Viewer Pro Export Profile Editor

Let’s examine some of the options that we can select from.

Page Size
There are about 30 different pre-configured page sizes that you can export to. Page size will impact the page size of printing or PDF exports.  Page sizes can be specific to an export profile. You can also specify a custom page  width and height, as well as the orientation (landscape or portrait).
A setting for ISO 190005-1 PDF/A is also included in this area; use PDF/A when you want to archive .eml files for long term preservation.

Select the page size for your email export operation.
30 different page sizes are available.

 Grouping Exported Files

Eml Viewer Pro provides options for grouping and naming the exported files. While exporting to PDF, you can tell EML Viewer Pro to export emails into one large single pdf file, or into separate pdf files.

Grouping email exported to .pdf files.
Grouping category.

Each exported file that EML Viewer Pro creates may be given a name that is based on your custom scheme.  For example, you can place parts of the email content into the file name, such as the sender, the date received,  or even an incremented number.  To customize file naming, click on the expansion button on the “File naming schema” field to open the editor, and arrange the naming plan in the manner that is best suited to your project.

Naming your .eml files that have been exported to .pdf files.
Exported File Naming Schema Editor

There are many other settings you can use in the Export Profile Editor. We encourage you to experiment with all of the different ways that EML Viewer Pro’s settings can be combined to create flexible and efficient approaches to your project.

EmlViewer Pro costs $69.99 for a perpetual license.