Outlook .pst data files · folder tree, messages, attachments, .eml export

PST File Viewer

Open an Outlook .pst, browse its folders, read messages and save attachments, then export a folder as .eml files with a CSV index. The file is read into memory, so it needs room for its own size.

Choose a .pst file

Drop a .pst file here

Up to 1024 MB. ANSI and Unicode files with default or no encryption.

Single messages are better in the Outlook MSG viewer; Gmail and Thunderbird archives in the MBOX viewer.

PST File Viewer

Operator: Abdulla Al Fahad. How tools are built and checked

A .pst file is an Outlook mailbox saved as one file: folders, messages and attachments in a database format that only Outlook and a few libraries read. When an old backup or a departing colleague's archive lands on your desk without Outlook, this viewer lets you see which folders it holds and take out what you need.

Key features

  • Folder tree with a message count for each folder, and a message list per folder with date, sender, subject, size, an attachment marker and the message class for anything that is not a plain mail
  • Message view shared with the Outlook MSG tool: plain, HTML and RTF bodies, attachments with downloads, and embedded messages
  • Export of the open folder as a ZIP of .eml files plus a CSV index of date, sender, recipients, subject, attachment count and file name

What a .pst file holds and which variants open

A PST has three layers. The node database (NDB) stores blocks and two B-trees; the lists, tables and properties layer (LTP) stores each folder and message as property sets; the messaging layer gives them meaning. The file header says which variant it is: ANSI (versions 14 and 15, Outlook 97 to 2002), Unicode (version 23, Outlook 2003 and later) or the Outlook 2013 Unicode layout (version 36, which compresses blocks with zlib). It also names the block encoding: none, or 'compressible', a fixed byte substitution table.

The whole file is read into memory (up to 1 GB) before the folder tree is built, because the PST reader works on a buffer rather than a stream. The reader is the MIT-licensed pst-extractor package, itself a port of java-libpst; its licence text ships with the page.

Files that use Outlook's high encryption (the cyclic mode) are refused with a message before anything is read in full.

How it works

Opening checks the first 1,024 bytes for the !BDN signature, the version and the encryption byte, reads the file, wraps it as a Buffer without copying, and walks the folder hierarchy to count messages. Listing a folder moves its cursor to the start and reads each message's subject, sender, date, size and class; opening a message reads its recipients, bodies and attachments and converts them to the model the other mail tools use.

When this helps

  • A solicitor receives a former employee's 2 GB .pst on a USB stick and needs the 340 messages in one folder as .eml files to forward to counsel.
  • A user restoring an old laptop wants the three attachments from a message in a 40 MB PST without reinstalling Outlook.
  • An IT administrator is asked to confirm whether a leaver's archive still holds a particular supplier thread: she opens the PST, scans the sender column of the likely folder, reads the three messages that match, and exports only that folder rather than the whole mailbox.

Opening a file

  1. Drop the .pst file and wait for the folder tree; the first folder that holds mail opens by itself.
  2. Click a folder to list its messages, then a subject to read it and download attachments.
  3. Press Export folder as .eml ZIP and CSV to save the open folder; Cancel stops a long export.

Example

enron.pst, a 13.98 MB mailbox from the Enron email dataset (the open-source pst-extractor project keeps a copy in its test data on GitHub, epfromer/pst-extractor); the folder named Personal is selected

The file header declares a Unicode PST with compressible block encoding. The folders are Outlook's usual top-level set plus Personal, which holds the messages we export.

What the page shows and exports

Unicode file with compressible encryption, 11 folders and 71 messages in total, 47 of them in Personal. The first attachment is TAHOE INFORMATOIN.doc, 21.0 KB. Exporting the folder writes a ZIP of 47 .eml files (about 11 MB) and a CSV whose second row is the 2001-02-07 message 'TRIP INFO' with 2 attachments.

Tips for best results

  • A folder that shows a count but an empty list usually holds non-mail items such as contacts; the message class column names them.
  • Export folder by folder: one ZIP holds at most 20,000 messages and 400 MB of .eml data.
  • Sent Items and Deleted Items are separate folders from the Inbox, so a thread you cannot find in one may be in another; check the counts beside the folder names before concluding anything is missing.

Limits

Loading the file needs memory for its whole size, so a 900 MB PST can fail on a phone or a tablet even though it is under the limit. A desktop browser with a few free gigabytes is the safe choice.

Only the default 'compressible' and the unencrypted modes are read; a file protected by Outlook's high encryption must be exported from Outlook first.

ANSI files go through the same reader, but very old or partly damaged files can hold a folder it cannot parse; the page then lists what it could read and names the folder it could not.

Calendar items, contacts and tasks are listed as messages with their class and whatever text they carry; they are not converted to .ics or .vcf.

Common errors and how to fix them

"This is not an Outlook data file: it does not start with the !BDN signature."
The file is not a PST or OST, or it is a compressed copy. Unzip it first, and check it is the .pst and not an Outlook rule or profile file.
"This file uses Outlook's high encryption (cyclic)."
Open it in Outlook with its password and use File, Open and Export, Import/Export to write a new PST, which uses the default encoding.

Best practices

  • Keep the original .pst untouched and work from the export: the page only reads the file, but an Outlook that has the same file open can still be writing to it, so copy it first.
  • Export the .eml ZIP and the CSV index together. The index is what lets you find one message among thousands without opening each .eml.

A PST password is a gate in Outlook, not encryption

Outlook lets you set a password on a data file under Data File Settings. That password is stored in the file as a checksum, and only Outlook checks it when it opens the file. The messages themselves are not scrambled by it, so this viewer opens such a file without asking. If you are protecting a mailbox, treat that password as a courtesy lock and not as security.

Encryption is a separate setting. A file created with Outlook's 'compressible' encryption, the default, is read normally because the byte substitution is fixed and public. A file created with 'high' encryption really is scrambled and is refused; export it from Outlook first.

Where messages hide in an unfamiliar mailbox

A PST built by years of use has more than an Inbox. Archived folders, a separate Sent Items, Deleted Items and Outlook's own search folders each carry their own message counts, and search-view folders such as Reminders list no messages of their own. When the folder tree shows a large total but your folder looks small, open its siblings before assuming something was lost.

Contacts, calendar entries and tasks live in the same file and appear in the list with their message class, for example IPM.Contact or IPM.Appointment. They carry whatever text Outlook saved with them and are not turned into vCard or iCalendar files here.

Frequently asked questions

Can I open an .ost offline cache?

Often, yes. An offline cache in the Outlook 2013 layout opens through the same reader and shows the account's folders, but search-view folders such as Reminders list no messages, and a cache that has never synced a folder shows it empty.

Where do single messages and Gmail archives go?

A single saved message goes to the Outlook MSG Viewer and an .mbox archive to the MBOX Viewer and Converter; both use the same message pane as this page.

My PST has a password; will the page ask for it?

No. The password Outlook sets on a data file is checked only by Outlook and does not encrypt the content, so the file opens here directly. A file saved with high encryption is the exception and is refused.