A free, native macOS app for browsing Microsoft Outlook data files (.pst and .ost). Built with SwiftUI and PstReader, a pure Swift implementation of the MS-PST specification.
Download
Get the latest release from the Releases page.
First launch (Gatekeeper): The app is not signed with an Apple Developer certificate, so macOS will block it by default. To open it:
- Download and open the
.dmg, then drag Free PST Viewer to your Applications folder - Right-click (or Control-click) the app and choose Open
- Click Open in the security dialog
macOS only asks on first launch.
Requirements
- macOS 14.0 (Sonoma) or later
- Xcode 16.0 or later (for building from source)
Build from source
git clone https://github.com/rlorenzo/Free-PST-Viewer.git
cd Free-PST-Viewer
# Install git hooks (SwiftLint pre-commit)
chmod +x scripts/install-hooks.sh
./scripts/install-hooks.sh
# Open in Xcode
open FreePSTViewer.xcodeproj
SPM dependencies (PstReader and its transitive deps) resolve automatically when Xcode opens the project.
Build and run with Cmd+R, or from the command line:
xcodebuild build -project FreePSTViewer.xcodeproj -scheme FreePSTViewer -destination "platform=macOS"
Architecture
MVVM with a thin service layer wrapping PstReader:
FreePSTViewer/
├── Models/ # App-specific types (PSTViewerError, EmailSortOrder, etc.)
├── Views/ # SwiftUI views (FolderTreeView, EmailListView, etc.)
├── ViewModels/ # Observable view models (PSTViewModel, FolderViewModel, etc.)
└── Services/ # PSTParserService, SearchService, ExportService
PstReader parses the PST binary format, resolves MAPI properties, and loads data lazily through memory-mapped I/O.
Supported file formats
| Format | Extension | Description |
|---|---|---|
| Unicode PST | .pst |
Outlook Personal Storage (Unicode, post-2003) |
| ANSI PST | .pst |
Outlook Personal Storage (ANSI, pre-2003) |
| OST | .ost |
Offline Storage Table (Exchange cached mode) |
Open a file with the Open PST File... button (Cmd+O), or drag a .pst or .ost file onto the window.
Features
- Folder navigation: hierarchical tree with expand/collapse and item counts
- Email viewing: sortable list with HTML rendering, plain text fallback, and inline images
- Search: metadata and optional body search with date range and sender filters
- Export: single or batch export to
.eml(RFC 2822) or.txtwith timestamp preservation - Attachments: save or open attachments with dangerous file type warnings
- Full headers: expandable transport headers or MAPI property fallback with copy-to-clipboard
- Accessibility: VoiceOver labels, keyboard navigation (Cmd+O), drag-and-drop file opening
Testing
xcodebuild test -project FreePSTViewer.xcodeproj -scheme FreePSTViewer -destination "platform=macOS"
Test fixtures for the ANSI, Unicode, and OST formats are in FreePSTViewerTests/Fixtures/.
License
MIT. See LICENSE.