MailtoPst
MailtoPst Team5 min read

readpst Alternative: Online PST Converter vs CLI Tool

readpst is a powerful Linux CLI tool for PST extraction — but it has limits. Compare readpst vs MailtoPst: when to use each, and how to get the same results online.

What Is readpst?

readpst is a command-line tool that extracts email data from Microsoft PST files. It is part of the libpst package, an open-source library that implements the MS-PST specification. On Linux and macOS, it is the standard way to access PST file contents without Outlook.

Basic usage:

# Install on Debian/Ubuntu
sudo apt install pst-utils

# Install on macOS via Homebrew
brew install libpst

# Extract PST to MBOX files (one per folder)
readpst -o output_folder/ archive.pst

# Extract to individual EML files
readpst -e -o output_folder/ archive.pst

# Preserve original folder structure
readpst -r -o output_folder/ archive.pst

# Combine: individual EML files + folder structure
readpst -e -r -o output_folder/ archive.pst

readpst is fast, free, and runs entirely locally — your data never leaves your machine.

What readpst Does Well

  • Free and open-source — no licensing cost
  • Runs locally — no internet required, ideal for sensitive archives
  • Scriptable — integrates into shell scripts and automation pipelines
  • Handles large files — no size limit beyond available disk space
  • Multiple output formats — MBOX, individual EML files, KMail format
  • Folder preservation — the -r flag recreates the PST folder hierarchy

For Linux system administrators, forensic analysts, or developers processing PST files programmatically, readpst is an excellent tool.

Where readpst Falls Short

Limitation Impact
Linux/macOS only Windows users need WSL — not intuitive for non-technical users
No OST support Cannot open OST files (orphaned Exchange mailboxes)
No GUI Command line only — not accessible to non-technical users
Limited format support Outputs MBOX or EML only — cannot produce PST, MSG, or EMLX
No corruption recovery Fails silently on corrupted PST files
No progress indication Large files process without feedback
Encoding issues Some non-ASCII characters may not render correctly

The biggest gap: readpst cannot open OST files. If you have an orphaned Exchange mailbox (.ost extension), readpst is not the tool for the job.

MailtoPst as a readpst Alternative

MailtoPst is a cloud-based PST and OST converter that fills the gaps where readpst falls short. Here is how they compare:

Feature readpst MailtoPst
PST to MBOX Yes Yes
PST to EML Yes Yes
PST to PST No Yes
PST to MSG No Yes
OST conversion No Yes
GUI / web interface No Yes
Windows support Via WSL only Native
Corrupted file recovery Limited Yes
File size limit None (local) Up to 51 GB
Free tier Free 100 MB free
Local processing Yes No (cloud)

The key differentiator: MailtoPst handles OST files, corrupted PSTs, and runs on any OS through a browser — no installation, no command line.

When to Use readpst

Use readpst when:

  • You are on Linux or macOS and comfortable with the command line
  • You need to process PST files in bulk as part of a script or pipeline
  • Your PST files are healthy (not corrupted)
  • You only need MBOX or EML output
  • You are processing sensitive data that should never leave your machine
  • You want zero cost and zero dependencies
# Bulk processing example: convert all PST files in a directory
for pst in /path/to/archives/*.pst; do
  name=$(basename "$pst" .pst)
  readpst -r -e -o "/output/$name/" "$pst"
  echo "Processed: $name"
done

When to Use MailtoPst Instead

Use MailtoPst when:

  • You have an OST file (orphaned, corrupted, or inaccessible) — readpst cannot handle these
  • You are on Windows and do not want to set up WSL
  • You need output in PST or MSG format — readpst only outputs MBOX/EML
  • Your PST file is corrupted and readpst fails to extract it
  • You want a GUI without command-line knowledge
  • You need to process a file right now on any device

Using Both Together

For power users, readpst and MailtoPst complement each other. A common workflow:

  1. Try readpst first for large, healthy PST files where local processing is preferred
  2. Fall back to MailtoPst if readpst fails (corrupted file, encoding issues, or OST input)
  3. Use MailtoPst for final output in PST or MSG format if needed
# Try readpst first; if it fails, note the file for MailtoPst
for pst in *.pst; do
  if ! readpst -r -e -o "output/$(basename $pst .pst)/" "$pst" 2>/dev/null; then
    echo "Failed: $pst — try MailtoPst"
  fi
done

readpst on Windows (WSL)

If you are on Windows and want to use readpst, Windows Subsystem for Linux (WSL) is the path:

# Install WSL (PowerShell, run as Administrator)
wsl --install

# Once WSL is running, install pst-utils
sudo apt update && sudo apt install pst-utils

# Run readpst on a Windows file path
readpst -r -e -o /mnt/c/output/ /mnt/c/Users/YourName/Documents/archive.pst

The /mnt/c/ prefix maps to the Windows C: drive inside WSL. This works but adds friction for non-developers — in those cases, MailtoPst is simply faster.

Summary

readpst is the best free tool for PST extraction on Linux when you have a healthy PST file and need MBOX or EML output. For anything else — OST files, Windows without WSL, corrupted archives, or output in PST/MSG format — MailtoPst is the practical alternative.

Convert PST or OST files online →

Ready to convert your files?

100 MB free credit. No software to install. Works on any device.

Related articles

Ready to convert your emails?

First conversion free. No credit card required.