Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is it possible to dump the entire contents of a PST file to a portable (preferrably text) format like XML?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

XML is unlikely – most programs use mbox, Maildir, vCard, LDIF, iCal – however, these are formats that are far more common and portable than XML for mail, calendars or contacts.

The libpst package comes with a few tools:

  • readpst – messages to mbox or Maildir, contacts to vCard, calendar to vCalendar, journal entries to vJournal.
  • pst2ldif – contacts to LDIF.

Unfortunately, its output is lacking some data (especially in case of journal entries), and it does not extract tasks or notes.

However, Outlook itself can export any folder in the PST as a CSV (comma-separated) file, containing every single field.

share|improve this answer
Outlook doesn't include attachments when exporting to CSV. –  Brian Minton Feb 26 '14 at 21:22

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.