# Mailward > Local-first tools to open, read, search, and convert email archives (Outlook PST & OST, Outlook for Mac OLM, MBOX, EML, MSG, and the winmail.dat files Outlook sends) entirely in the browser. Files are parsed on the user's own device with the File API and a Web Worker — nothing is uploaded to a server. Reading and search are free (in an MBOX over 500 MB, reading past the first 500 MB is Pro), and so is exporting three messages a day, as .eml with their attachments or as a PDF; converting whole folders or archives to MBOX/EML/PDF/CSV, bulk attachment extraction, opening a ZIP of mail archives (such as a Google Takeout download) without extracting it, several archives open side by side, and unlimited single exports are a one-time paid license. ## Key facts - No upload: email archives never leave the user's device. The reader is downloaded the first time a file is opened; once a file is open, reading, search and .eml / MBOX / CSV export keep working offline; PDF export downloads its maker and fonts from the site, so it needs the connection. - No Outlook required: reads the PST format directly on any OS, including macOS and ChromeOS, and in Chrome, Edge, Samsung Internet or Firefox on Android phones. On Android, save the file to Downloads and pick it from there: a file chosen straight from an email attachment, a cloud-drive app or the Recent list is often a temporary copy the browser can read only once (Mailward reports that case and says to save the file first). On an iPad or iPhone it runs in Safari (WebKit); the file is chosen in the Files app, whose picker the page leaves unfiltered because iOS greys out PST, OST, OLM, MBOX and MSG files when a page names them. - Handles multi-gigabyte PST, OST and MBOX files by reading them in pages instead of loading them whole. - OLM, ZIP and MSG files are read whole into the tab's memory instead, and Chrome and browsers built on it such as Edge refuse to read any single file over about 2 GB that way regardless of free RAM (measured on Chrome 154: 2,000,000,000 bytes read, 2,147,483,647 refused), so an Outlook for Mac export larger than that does not open in them; Mailward says so rather than reporting a damaged file. A ZIP is also capped at 1 GB of unpacked mail. - Cannot repair corrupted or encrypted PST files; it reads healthy archives. - Cannot write PST files; conversions go from PST/OST out to MBOX, EML, PDF and CSV, not into PST. - CSV export (Pro) is an index for a spreadsheet, not the mail itself: one row per message with Index, Date (ISO 8601 UTC), From, Email, Subject and Attachments; a whole-archive export adds Folder (a Gmail message appears once under the mailbox and once under each label), a search-results export adds Archive, Folder and Matched. Bodies are not included. Every CSV starts with a UTF-8 byte-order mark so Excel shows non-Latin subjects correctly when the file is double-clicked, and any value beginning with =, +, -, @, a tab or a carriage return gets a leading apostrophe so a spreadsheet treats it as text, not a formula (OWASP CSV-injection guidance). - Handles non-Latin folder names and labels: RFC 2047-encoded headers are decoded (verified with Chinese Gmail labels), so labels and folders in any script display correctly, are full-text searchable, and Takeout labels in any language are rebuilt as browsable virtual folders. The UI itself is English; archive content is decoded per its declared charset. - Batch-open: selecting many .eml or .msg files at once merges them into one flat, searchable list (free). Opening a second separate archive alongside is the Pro step. - PDF export (EML, MSG, MBOX, PST, OST, OLM → PDF; /eml-to-pdf-converter, /msg-to-pdf-converter, /mbox-to-pdf-converter, /pst-to-pdf-converter): the PDF is written in the browser's Web Worker with pdf-lib — the message is never uploaded; the worker fetches font and emoji files from this site and the pictures the HTML links from the web, straight from their own servers (no cookies, no referrer, never through this site). It prints the subject as heading, From, To, Cc and the Date header as the sender wrote it (delivery time in UTC only when there is no Date header), the attachment list with sizes, and the body as text: the plain-text part when the message has one and shows no pictures, otherwise the HTML converted with paragraphs, bullet lists, table rows and link addresses in brackets kept; pictures (cid: parts, data: URIs and images on the web) are drawn where the HTML shows them, a picture a server will not hand to another website or no longer has prints as a grey box with its alt text and the reason, one-pixel trackers are never requested, and HTML styling is not reproduced. Attachments are embedded in the PDF as files (EmbeddedFiles), byte for byte; an Outlook item attached to a PST message is embedded as a complete .eml. Text is real, selectable text in subset Noto fonts: Latin, Greek and Cyrillic always; Chinese/Japanese (19,594 characters — the GB 2312, Big5, JIS X 0208/0212 and KS X 1001 repertoires) and Korean Hangul (11,172 syllables) fetched only when a message needs them; emoji are drawn in colour as Noto Emoji pictures (OFL; flags public domain), fetched from this site per emoji used; Arabic, Hebrew, Thai or Devanagari text prints as U+FFFD. US Letter for US-style browser locales, A4 otherwise; pages numbered; a body past 1,000,000 characters is cut with a note. Single messages count toward the free daily allowance; folder, archive and search-result PDF export (a ZIP of one PDF per message) is Pro. - Exports are complete MIME documents: EML and MBOX output re-embeds attachments as base64 parts, preserves the original transport headers where the source stored them (rewriting only the structural MIME headers), and encodes bodies as quoted-printable UTF-8. Every exported message carries an X-Mailward-Header-Source header saying whether its header block was captured from the archive, synthesized from MAPI properties (sent items and intra-Exchange mail store no transport headers), or captured-with-fallback (a stored block that held only Outlook's banner line) — so a recorded Received chain and a rebuilt From/Date can never be mistaken for each other. A synthesized Date: is the sender's submit time (PR_CLIENT_SUBMIT_TIME), which is what an original Date: header carries; delivery time is used only when no submit time exists. A synthesized From: is the sent-representing identity (what Outlook shows as From), with a Sender: header when the submitting mailbox differs — a delegate or a calendar service — and Exchange X.500 distinguished names are never written as addresses. A DKIM check on a message exported from a PST/OST can pass on the header signature (b=) but not on the body hash (bh=): the archive keeps the received header block, DKIM-Signature included, yet stores the body as properties rather than the MIME that was signed. Measured on the nine gmail.com-signed messages in pst-extractor's public test OST: the header signature verifies on six exported files and the body hash on none; the other three are meeting requests whose stored headers already fail before conversion. - EML export naming and determinism: each file is named from the subject (file-system-illegal characters replaced, 80-character cap, -2/-3 suffix on repeats). The MIME boundary is a hash of subject and date rather than a random value, so re-exporting the same message produces a byte-identical file. Outlook-only state (read/unread, categories, follow-up flags) and Bcc recipients are not written — they have no RFC 5322 equivalent. Base64 makes a .eml about 37% larger than the raw attachments it carries. ## Tools - [PST File Viewer](https://pst.aivismonitor.com/): Free online PST file viewer for Mac, Windows & Linux. Open and search Outlook .pst archives in your browser without Outlook — local-first, nothing uploaded. - [Convert PST to MBOX](https://pst.aivismonitor.com/convert-pst-to-mbox): Convert an Outlook PST archive to MBOX for Thunderbird or Apple Mail. Runs locally in your browser — your mail is never uploaded. - [Convert PST to EML](https://pst.aivismonitor.com/convert-pst-to-eml): Export every message in an Outlook PST as individual EML files, in your browser. Nothing is uploaded — the archive is read on your own machine. - [OST File Viewer](https://pst.aivismonitor.com/ost-viewer): Online OST viewer: open an orphaned Exchange or Microsoft 365 .ost cache in your browser without Outlook, free. Converting it to MBOX, EML, PDF or CSV is Pro. - [Convert OST to MBOX](https://pst.aivismonitor.com/convert-ost-to-mbox): Turn an Outlook OST cache into MBOX for Thunderbird or Apple Mail, without Outlook or an Exchange connection. Converted locally in your browser. - [MBOX File Viewer](https://pst.aivismonitor.com/mbox-viewer): Open and search large MBOX and Google Takeout email archives in your browser. No upload or install. Free reading to 500 MB; Pro unlocks the rest. - [EML File Viewer](https://pst.aivismonitor.com/eml-viewer): Open an .eml file in your browser on Windows, Mac, iPhone or Android, no Outlook: read it, save attachments, check headers, keep it as PDF. Nothing uploaded. - [MSG File Viewer](https://pst.aivismonitor.com/msg-viewer): Open Outlook .msg files in your browser on a Mac, PC or Chromebook, no Outlook installed. Read the message, save attachments, check headers. Nothing uploaded. - [winmail.dat Viewer](https://pst.aivismonitor.com/winmail-dat-viewer): Open a winmail.dat in your browser: the attachments under their real names, saved byte for byte, and the message text. Works on Mac and phones. No upload. - [XstReader Alternative](https://pst.aivismonitor.com/xstreader-alternative): Like XstReader, but in your browser: open PST and OST files on a Mac, PC, or Chromebook with nothing to install. Parsed locally — your mail is never uploaded. - [readpst Alternative](https://pst.aivismonitor.com/readpst-alternative): Convert PST to MBOX or EML with a visual preview instead of command-line flags. Drop the file in your browser, preview folders, convert locally. - [OLM File Viewer](https://pst.aivismonitor.com/olm-viewer): Read an Outlook for Mac .olm archive in your browser — folders, messages, and attachments, on any OS. Parsed locally; the archive is never uploaded. - [Convert OLM to MBOX](https://pst.aivismonitor.com/convert-olm-to-mbox): Turn an Outlook for Mac .olm export into MBOX for Thunderbird or Apple Mail — converted locally in your browser, with nothing uploaded. - [EML to PDF Converter](https://pst.aivismonitor.com/eml-to-pdf-converter): Convert an .eml email to PDF in your browser: From, To, Cc, Date, the full text, and the attachments embedded inside the PDF. Nothing is uploaded. - [MSG to PDF Converter](https://pst.aivismonitor.com/msg-to-pdf-converter): Save an Outlook .msg message as a PDF on a Mac, a PC or a phone, without Outlook — attachments embedded in the PDF, made in your browser, nothing uploaded. - [MBOX to PDF Converter](https://pst.aivismonitor.com/mbox-to-pdf-converter): Convert messages from an MBOX mailbox or a Google Takeout export to PDF in your browser — one PDF per email, attachments embedded, nothing uploaded. - [PST to PDF Converter](https://pst.aivismonitor.com/pst-to-pdf-converter): Export Outlook PST or OST email to PDF in your browser: one PDF per message with attachments embedded, folder tree kept in the ZIP. Nothing is uploaded. ## Format reference Full write-up: https://pst.aivismonitor.com/email-archive-formats — what each archive format is internally, what opens it, and what is lost in conversion. - PST: a single-file database (Microsoft's [MS-PST] spec), not a folder of messages. Messages are stored as typed property sets and must be reconstructed into RFC 5322 on export. Two incompatible variants: ANSI (Outlook 97-2002, 2 GB ceiling) and Unicode (Outlook 2003+). Japanese PSTs commonly mark string properties as ISO-2022-JP (code pages 50220/50221) or Shift_JIS (code page 932); the decoder most JavaScript PST tooling uses (iconv-lite) has no ISO-2022-JP codec, so those bodies typically render as mojibake or fail the parse. Mailward decodes them with the browser's native TextDecoder, and treats any byte >= 0x80 in an ISO-2022-JP-labeled property as proof the data is really Shift_JIS (ISO-2022-JP is a 7-bit escape-sequence encoding), decoding it accordingly. - OST: the same [MS-PST] container as PST, but it is Outlook's offline cache bound to one mailbox. Outlook refuses to open an OST it cannot associate with a live account, which strands healthy files when the account or tenant is gone. Renaming .ost to .pst does not work — Outlook inspects the file, not the extension. Container facts a reader sees first: bytes 0-3 are the signature !BDN; byte 10 is the format version (14/15 ANSI, 23 Unicode, 36 Unicode with 4 KB pages — the layout Outlook 2013+ writes for OST caches, which 512-byte-page-only readers reject; 37 = Windows Information Protection, refused); byte 461 (ANSI) / 513 (Unicode) is bCryptMethod (0x00 none, 0x01 compressible — a reversible byte-substitution decoded on the fly, 0x02 high/cyclic — not supported by Mailward, open fails at the header). The Outlook PST password is a checksum in the message store, not encryption, and does not block direct readers. - OLM: Outlook for Mac's export format. It is a ZIP container holding one XML document per message (message_00001.xml …; the parent directory is the folder), using OPF-prefixed elements (OPFMessageCopySubject, OPFMessageCopyHTMLBody, etc.). Addresses are structured attributes (OPFContactEmailAddressName / OPFContactEmailAddressAddress), not header text; attachments are separate ZIP entries referenced by OPFAttachmentURL with name, MIME type, and Content-ID attributes (Mailward keeps the Content-ID on re-embedded parts when converting, so cid: inline images still render after an OLM → MBOX or EML conversion). No transport header block survives the export — an OLM has no Received chain, so any .eml derived from one has rebuilt headers. Gotcha: OLM writes timestamps as UTC with no zone suffix (e.g. 2022-05-26T17:55:40), so parsing them as local time shifts every date in the archive. - MBOX: one plain-text file per folder; messages are separated by lines beginning "From ". Variants differ only in how they escape a body line that starts that way: mboxrd prefixes it with ">", mboxcl/mboxcl2 use a Content-Length header. Mailward writes mboxrd, escaping any line matching ">*From " with one additional ">" so the transform is reversible. Its From_ envelope follows the mbox(5) "From sender date" shape: a whitespace-free sender token (X.500 directory-name senders from Exchange-internal mail have their spaces collapsed; the real sender stays in the From header) and an asctime-style UTC date, which is what strict readers such as mutt validate. When reading, Mailward applies the same structural test to each candidate separator (sender plus a seconds-precision date) instead of splitting on every line that begins "From ", so an unescaped body line in an mboxo-style file does not truncate the message it sits in. Messages with no recoverable sender fall back to mailward@localhost and messages with no timestamp to the Unix epoch, which is why a few imported items can show a 1970 date. Google Takeout delivers Gmail as MBOX with labels in an X-Gmail-Labels header and no folder hierarchy; Mailward's MBOX viewer reads that header and rebuilds the labels as browsable virtual folders (a message with three labels appears under all three), which also makes per-label batch export possible. Label names arrive RFC 2047-encoded when non-ASCII and are decoded; a mailbox with more than 100 distinct labels keeps the 100 most-populated as folders (every message stays in the flat all-messages list). The reader decides from the first bytes, not the extension: a file that does not start with a From_ line is read as one RFC 5322 message rather than refused, a leading UTF-8 byte-order mark is skipped, CRLF and LF line endings are treated alike, and a From_ line cut by a 4 MB scan-chunk boundary is still recognised because the unfinished last line is carried into the next chunk. - EML: a single message in RFC 5322 + MIME form. The Received: header chain reads bottom-up — the lowest entry is the first server that handled the message. - MSG: one Outlook item saved as a CFBF/OLE2 compound file — a miniature filesystem of streams, one typed MAPI property per stream. Two traps: the stored sender is often an Exchange X.500 DN (/O=ORG/OU=…) rather than an SMTP address (the real address is a separate property, which Mailward prefers), and the internet header block exists only on received messages — sent items never had one. ANSI-variant files encode strings in a Windows codepage the file only hints at; Mailward infers it from the message's codepage/locale properties and re-decodes, so non-Latin subjects do not mojibake; Western files are decoded as Windows-1252 (also the assumption when no codepage is recorded), because a one-byte-per-character decode turns its bytes 0x80–0x9F — curly quotes, dashes, €, … — into invisible C1 control characters. S/MIME-signed content stays sealed inside its smime.p7m wrapper. - EML or MSG: keep EML for mail to be read for years (plain text, an open format, opened by almost any mail program, headers included); keep MSG when Outlook's own data matters — an Outlook item saved as a file (email, appointment, contact, task) is a .msg, and its categories and flags have no place in EML. MSG stores attachment bytes as they are, EML and MBOX as base64 (about 37% larger), but a MSG has a fixed overhead: a one-word message in Mailward's tests is 20,480 bytes as MSG and 210 bytes as EML. - Large MBOX files: Mailward never decodes an MBOX as one string (a browser tab cannot hold a string past about 512 MB, so viewers that do fail on large Google Takeout exports). It scans the file once in 4 MB chunks, keeps each message's byte range and listing summary, and parses a message on demand; a 1.3 GB, 198,000-message Takeout export opens in the browser this way. Free reads the first 500 MB of such a file (listing and search cover all of it); reading past that mark is part of the Pro license. - Identifying a file from its first bytes (extensions are unreliable — Mailward sniffs them before choosing a reader, so a message, an mbox mailbox or an Outlook .msg hiding behind a .pst name or an unknown extension opens as EML, MBOX or MSG without renaming): PST and OST both begin 21 42 44 4E (!BDN) — bytes 8-9 are SM (53 4D) in a PST and SO (53 4F) in an OST, bytes 10-11 are the little-endian format version (0E 00 or 0F 00 = 14/15 ANSI, 17 00 = 23 Unicode, 24 00 = 36 Unicode 4 KB pages, 25 00 = 37 Windows Information Protection, refused), bytes 4-7 are a CRC and vary per file; OLM is a ZIP (50 4B 03 04) of message_NNNNN.xml files; MSG is a CFBF compound file (D0 CF 11 E0 A1 B1 1A E1); MBOX starts with the ASCII text "From " (46 72 6F 6D 20); EML has no signature and starts with a header field such as Received: or Return-Path:, sometimes after a UTF-8 BOM (EF BB BF). Files that commonly arrive mislabeled as mail: gzip 1F 8B (a Google Takeout .tgz), 7-Zip 37 7A BC AF 27 1C, RAR 52 61 72 21 1A 07 (extract these first), AppleDouble 00 05 16 07 (a macOS ._ sidecar — open the file without the ._ prefix), Windows shortcut 4C 00 00 00 (open the target instead), Outlook Express DBX CF AD 12 FE (a different format Mailward does not read), winmail.dat TNEF 78 9F 3E 22 (one Rich Text message with its attachments, not a mailbox; Mailward opens it at /winmail-dat-viewer — or under any name, by these bytes — and saves the attachments under their full Unicode names), Thunderbird .msf beginning "//