Save email as PDF
EnglishEN
Home › How to save, export and print emails › Winmail.dat: what it is and how to open it

Winmail.dat: what it is and how to open it

A winmail.dat file is Outlook's Rich Text (TNEF) wrapper, and the attachments the sender meant to send are packed inside it. To get them out, drop the file on the SaveMail converter: it opens in your browser tab as a message with the attachments listed for download, and the file is not uploaded. Desktop readers work too: Winmail Opener on Windows or TNEF's Enough on a Mac. The lasting fix is to ask the sender to resend the email in HTML format.

Updated

What winmail.dat is and why you received it

Outlook can write a message in three formats: HTML, plain text and Rich Text. A message sent in Rich Text from Outlook or a Microsoft Exchange server travels as one binary block in TNEF (Transport Neutral Encapsulation Format). That block holds the formatting and every attachment. Outlook on the receiving side unpacks it without you noticing. Most other mail apps see one unknown attachment and call it winmail.dat.

So the PDF, spreadsheet or photo the sender attached is usually inside that file, not lost. Sometimes the file holds only formatting or meeting details and the message body you already see is everything there is. A reader shows you which case you have in a few seconds.

FactDetailSource
Format nameTNEF, Transport Neutral Encapsulation FormatMicrosoft Open Specifications, MS-OXTNEF
MIME typeapplication/ms-tnefMicrosoft Open Specifications, MS-OXTNEF
Who creates itOutlook and Exchange, for messages sent in Rich Text formatMicrosoft Support, Change the message format to HTML, Rich Text Format, or plain text
Who sees itRecipients whose mail app does not decode TNEF (often Apple Mail on older systems, Thunderbird, some phone apps)Common client behavior
Renaming to .pdf or .docxDoes not work: the file is a container, not the attachment itselfFile structure, MS-OXTNEF

Have the email as a file (EML, MSG, MBOX)? Convert it to PDF in your browser: nothing is uploaded.

Open winmail.dat on Windows, Mac and iPhone

Pick the reader for your device. All of them read the file locally on the device.

  1. Windows: Winmail Opener (eolsoft) is a small Windows program. Start it, choose Open, select the saved file and save the files it lists.
  2. Mac: TNEF's Enough from the Mac App Store opens it with a double-click and shows the original file names; drag the files out to a folder.
  3. iPhone and iPad: App Store apps such as Winmail Viewer open the file from Mail through the share sheet. Most of them are paid or have in-app purchases, so check the listing first.
  4. Linux: the tnef command-line package extracts the files: tnef --list winmail.dat shows what is inside; run it without --list to extract.

Most web pages that open the file online upload it to their server. For a contract, a payslip or medical records, use a reader that keeps the file on your device: one of the programs above, or SaveMail, which parses it inside the browser tab.

Where SaveMail fits, and where it does not

SaveMail opens winmail.dat in your browser. Drop the file on the converter and it shows the message packed inside: subject, sender, date and body, with the attachments listed under their real names and sizes. Download them one by one or as a ZIP, and save the message as PDF for the record. The file is read in the tab and is not uploaded.

If the winmail.dat came inside a saved email (.eml, .msg or a Takeout MBOX), drop that file instead. The attachments from the TNEF block then appear in the attachment list in place of winmail.dat. Two limits remain. A calendar invitation sent as TNEF opens as a message with a note, but the meeting time and attendees are not shown, so open it in a calendar app. And a file of a few kilobytes often holds formatting only: when no attachments appear, the body you see is the whole message. More on the email formats themselves: what an EML file is and what an MSG file is.

Ask the sender to stop sending winmail.dat

The lasting fix is on the sending side. Send this to the sender or their IT team:

  1. Classic Outlook for Windows: File, Options, Mail, then set "Compose messages in this format" to HTML. If only one contact keeps getting the TNEF file, open that contact's email address properties. Choose "Let Outlook decide the best sending format" or "Send plain text only".
  2. A single message: in the message window, Format Text, then HTML before pressing Send.
  3. Exchange or Microsoft 365 admin: TNEF for outside domains can be turned off for the whole organization with the remote domain setting Set-RemoteDomain -TNEFEnabled $false in Exchange PowerShell.

After the change, ask for the same email again. It arrives with normal attachments that open in any mail app.

Is a winmail.dat file safe to open?

The file itself is a data container and does not run anything when a reader lists its contents. The attachments inside deserve the same care as any download: an unexpected TNEF attachment from an unknown sender can carry a harmful document or program. If you did not expect an attachment, ask the sender what they meant to send before you open the extracted files.

Frequently asked questions

What is a winmail.dat file?

It is an attachment created by Outlook or Exchange when a message is sent in Rich Text format. It packs the formatting and the real attachments into one TNEF file that only Outlook unpacks automatically.

Can I rename winmail.dat to .pdf?

No. The file is a container that holds the PDF along with other data, so a renamed file will not open. Use a TNEF reader to extract the PDF.

Why does Outlook send winmail.dat instead of a PDF?

The sender's Outlook sent the message in Rich Text format. Switching the message format to HTML, for all mail or for your address, makes Outlook send the PDF as a normal attachment.

Can SaveMail open winmail.dat?

Yes. Drop the winmail.dat file, or the .eml or .msg that carries it, on the converter. The message opens in your browser with its attachments listed for download, and nothing is uploaded. Calendar invitations open without the meeting time.

How do I open winmail.dat on iPhone?

Install a Winmail viewer app from the App Store, then tap the attachment in Mail and send it to that app with the share sheet. Asking the sender to resend in HTML avoids the app entirely.