Most of us have a few Outlook .pst files lying around: archives from an old job, an old laptop, or years of mail that had to be moved out of a mailbox to stay under quota. They are awkward to open without Outlook, and even with it, searching a multi-gigabyte archive or pulling out its attachments is slow work.

So I built a small utility for it and put it on GitHub:

nanusdad/pst-lens

PST Lens opens a PST archive on your own computer, copies it into a SQLite database, and then lets you browse it like a mail client, search all of it, see where the space went, and export the attachments in an organized way.

What it does Link to heading

  • Import: reads PST files of several gigabytes in the background, with progress and a Stop button that keeps everything read so far. Each PST becomes one SQLite file you can keep, back up, or query with any SQLite tool.
  • Browse: folder tree, a fast message list, and a reading pane. HTML mail is shown with scripts blocked and remote images off until you ask for them. Any message can be saved as .eml.
  • Search: full-text search across subject, sender, recipients, body and attachment names, with filters like from:, subject:, has:attachment, ext:pdf, after: and before:.
  • Attachments: a list of every attachment, with export by year/month, by sender, or both. Identical files are fingerprinted (SHA-256) and written to disk only once, and an index CSV records where everything went.
  • Insights: messages per month, top senders, a weekday × hour heatmap, the largest folders and attachment types, and how much space duplicate attachments take. The charts are clickable and jump to the matching mail.

The interface is in English, French and Spanish, with light and dark themes.

Private by design Link to heading

This was the main reason to write it. PST Lens never connects to a mail server, never modifies the PST, makes no network connections of its own, and has no telemetry or accounts. Your mail stays on your machine. It works on archived PST files, not on a live mailbox.

Try it Link to heading

Version 0.1.0 is on the Releases page, with builds for Macs (Apple Silicon and Intel) and Windows (installer or portable). The builds aren’t code-signed yet, so the first launch shows a warning; the README explains how to get past it.

It’s built with Electron, pst-extractor and better-sqlite3 with FTS5, and is MIT licensed. Bug reports and suggestions are welcome on GitHub.