What is winmail.dat, and how to open it

A winmail.dat is the attachments and formatting of an Outlook email, packed in Microsoft's own TNEF format, which most email apps can't read. To open it, drop it on tuul.io/winmail-dat-opener/. The email inside it is shown and the real attachments come out with their own names, one by one or as a ZIP, without uploading anything. To stop getting them, the sender switches Outlook from Rich Text to HTML.

By taser.dev, maker of Tuul.

Why you got a winmail.dat

Outlook for Windows can write an email in three formats: HTML, Plain Text and Rich Text. When the sender uses Rich Text, Outlook packs the formatting and the attachments in TNEF (Transport Neutral Encapsulation Format), a format of Microsoft’s own. Microsoft explains what happens next on its support page about message formats: email systems that aren’t based on Microsoft Exchange might not be able to read TNEF, and then the email arrives as plain text with one attachment named winmail.dat. When the receiving app recognises neither, the file gets a generic name such as ATT00001.DAT instead.

So the photo, PDF or spreadsheet the sender attached hasn’t gone missing: it’s inside the winmail.dat, along with the email’s formatted text. The email app just doesn’t unpack it: Thunderbird, for one, doesn’t recognise the format, Mozilla says.

How to open a winmail.dat on any device

  1. Save the winmail.dat (or ATT00001.DAT) from the email: to Files on an iPhone, to Downloads on Android, or anywhere on a computer.
  2. Open tuul.io/winmail-dat-opener/ and drop the file on it, or choose it. You can also add the whole email, saved as .eml or .msg.
  3. The email’s subject, sender, date and text are shown, with the attachments listed under their real names. Download each one, or all of them as one ZIP.

The winmail.dat is read in your browser, so the email and its files stay on your device. Emails attached inside the winmail.dat come out as .eml files, which EML to PDF turns into PDFs. To keep the email itself, choose Save: The email as a PDF on the opener.

Some winmail.dat files hold no attachments at all, only the formatted text of the email: the opener then shows that text and offers the PDF. Pictures pasted into a Rich Text email are stored as Outlook objects that no other app can open, so the opener says how many were left out.

How the sender can stop it

The fix is on the sender’s side, in Outlook for Windows, as Microsoft describes:

  • For every email: File, Options, Mail, then under Compose messages in this format choose HTML (or Plain Text).
  • For one email: while writing it, open the Format Text tab and choose HTML under Message Format.

Microsoft notes that some Outlook features (meeting requests, voting buttons) still need TNEF. An organisation on Exchange Online can also set the format its people send to other domains, in the remote domain settings, which override what each user picked.

Many emails with attachments

To save the attachments of many emails at once, whether they’re .eml, .msg or winmail.dat files, use Extract email attachments: each email’s files come out in one ZIP, and a winmail.dat inside an email is opened on the way.

Questions

Is a winmail.dat file a virus?

Not by itself. It's how Outlook for Windows packs an email's formatting and attachments when it sends in Rich Text. Like any attachment, the files inside it can be anything, so open only what you expect from someone you know. tuul.io/winmail-dat-opener/ only reads the winmail.dat and lists the files; it never opens or runs them.

Why can't my email app open winmail.dat?

Microsoft's own explanation is that email systems not based on Microsoft Exchange might not be able to read TNEF, so they show it as a file named winmail.dat. Open it on tuul.io/winmail-dat-opener/ in any browser, on a phone too, to get the files out.

What is ATT00001.DAT?

Usually the same TNEF data under a generic name, given when the receiving app recognises neither the TNEF part nor the winmail.dat name. tuul.io/winmail-dat-opener/ reads it the same way.

Tools for this

More guides

All email tools · All guides