Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question
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
the readpst man page doesn't say anything about Maildir, can you give an example or point to one where this is implemented? – Anthon Mar 11 at 7:17

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.