Got an email from an Outlook user with a winmail.dat instead of the PDF or spreadsheet you expected? Drop the file below: the tool unpacks the attachments with their original names, lets you download them one by one or as a ZIP, and shows the message text. No sign-up, and the file never leaves your computer.
Free · Nothing is uploaded · Works on Windows, Mac, Linux, iPhone and Android in a current browser
Updated: 27 November 2026 · Auf Deutsch lesen
Your winmail.dat never leaves your browser. It is read and decoded by the code on this page, inside this tab. Nothing is uploaded, no external library is loaded, and the result disappears when you close the tab.
| Name | Type | Size | Download |
|---|
No attachments in this winmail.dat. The message text is shown below.
The tool reads TNEF files as described in Microsoft's open specifications (MS-OXTNEF, MS-OXRTFCP and MS-OXRTFEX): attachments with their long file names, plain-text, HTML and compressed RTF message text, subject, sender and date. HTML is shown in a sandboxed frame with scripts disabled and remote images blocked until you allow them.
winmail.dat is a container that Microsoft Outlook and Exchange create when an email is sent in Outlook's Rich Text Format (RTF). The formatting, the message text and the real attachments are packed together into one file in TNEF (Transport Neutral Encapsulation Format), a Microsoft format with the MIME type application/ms-tnef.
Outlook reads TNEF and unpacks it without the recipient ever noticing, so between Outlook users everything looks normal. Mail apps that do not decode TNEF show the raw container instead. Depending on the app and its version, that can include Gmail, Apple Mail, Thunderbird and many phone apps: you see an attachment called winmail.dat, often the only one, and the files you were promised are nowhere to be seen. They are not lost; they are inside the winmail.dat.
| Inside a winmail.dat | What the tool does with it |
|---|---|
| The attachments (PDF, Word, Excel, images…) | Lists them with their original long file names, so you can download them one by one or all as a ZIP |
| The message text as plain text, HTML or compressed RTF | Shows the best version available. HTML that Outlook wrapped inside RTF is recovered; other RTF is shown as plain text and offered as an .rtf download |
| Subject, sender and sent date | Shown at the top, when the file contains them |
| Inline images used in the message | Listed as attachments and displayed in the message text |
| Forwarded emails attached as messages | Listed as "embedded message"; when it is TNEF data, you can open it in the tool |
A winmail.dat is not a virus in itself; it is just packaging. The files inside are ordinary attachments, so treat them like any other attachment from that sender: if you were not expecting a program or a macro-enabled document, don't open it. The tool flags programs and scripts in the list.
Download it from your mail app the same way you save any attachment. The file name does not matter: winmail.dat, winmail (1).dat or a renamed copy all work, because the tool checks the TNEF signature at the start of the file.
Or click the box and choose the file. On an iPhone, save the attachment to the Files app first; on Android it usually lands in Downloads.
Each attachment has its own Download button, and Download all as ZIP saves everything at once. The message text appears below the list and can be saved as .html, .txt or .rtf.
If the tool says the file is not a winmail.dat, check what you dropped: an .msg file is a whole Outlook message (open it in Outlook), and an .eml file is a whole email (open it and save the winmail.dat attachment from it).
Unpacking works, but the real fix is on the sender's side: as long as their Outlook or their organization's Exchange sends RTF/TNEF to outside addresses, every email with attachments will arrive the same way. Either of these settings fixes it.
Menu names can differ slightly between Outlook versions and languages.
Remote domain settings decide whether TNEF is used for external recipients. To never send TNEF to any outside domain that has no remote domain entry of its own, run in Exchange Online PowerShell (or the Exchange Management Shell):
Set-RemoteDomain -Identity Default -TNEFEnabled $false
$false means TNEF is never used for those domains, $true means it is always used, and $null (the default) leaves the decision to the Outlook settings above. To change it for a single partner domain only:
New-RemoteDomain -Name "Example partner" -DomainName example.com Set-RemoteDomain -Identity "Example partner" -TNEFEnabled $false
Reference: Microsoft Learn, Set-RemoteDomain.
What to tell the sender, in one sentence:
"Your emails reach me as a winmail.dat file instead of the attachments; could you set Outlook to HTML format (File › Options › Mail › Compose messages in this format: HTML) and send it again?"
If the sender's whole company has the problem, add: "or ask your IT team to run Set-RemoteDomain -Identity Default -TNEFEnabled $false in Exchange."
If you keep downloading attachments from email to file them in Google Drive, that part can run on its own. Inbox2Drive connects Gmail, Outlook or any IMAP mailbox, recognizes with AI which attachments are invoices, receipts, contracts or other documents, and saves them organized in Google Drive, OneDrive or Dropbox. It never sends or deletes email.
To be clear: Inbox2Drive does not unpack winmail.dat files. For those, use the tool above, or ask the sender to switch to HTML so the attachments arrive as normal files.
Guides: every way to save email attachments to Google Drive, saving IMAP email attachments to Google Drive, seeing all attachments in an Outlook conversation and saving attachments automatically in Thunderbird.
Free plan, no credit card · Help by email at marketing@inbox2drive.com
A winmail.dat is a container in Microsoft’s TNEF format (application/ms-tnef) that Outlook and Exchange create when an email is sent in Rich Text Format. It holds the message text, its formatting and the real attachments. Outlook unpacks it automatically; mail apps that do not understand TNEF show the winmail.dat file instead of the attachments.
No. A winmail.dat is packaging created by Outlook or Exchange, not malware in itself. The files inside are ordinary attachments, so judge them like any attachment from that sender and be careful with programs, scripts and macro-enabled documents you were not expecting. This tool marks programs and scripts in the list.
No. The file is read and decoded by the JavaScript on this page, inside your browser tab. Nothing is uploaded and no external library is loaded. The attachments and the ZIP are created locally, and everything is gone when you close the tab.
Only senders whose Outlook sends messages in Rich Text Format to outside addresses, or whose Exchange server is set to always use TNEF for external domains, produce winmail.dat. Senders who write in HTML or plain text send normal attachments.
In classic Outlook for Windows: File › Options › Mail, set “Compose messages in this format” to HTML and “When sending messages in Rich Text format to Internet recipients” to “Convert to HTML format”. An Exchange Online or Exchange Server administrator can turn TNEF off for all external domains with Set-RemoteDomain -Identity Default -TNEFEnabled $false.
Yes, in a current mobile browser. Save the winmail.dat attachment first (on an iPhone to the Files app, on Android usually to Downloads), open this page, tap the box and pick the file. The attachments are then downloaded through the browser.
Found a winmail.dat the tool cannot read? Email us at marketing@inbox2drive.com.
Connect your email and your cloud storage, and the attachments that arrive are classified and saved in the right folder.
Start freeNo credit card required · Help by email at marketing@inbox2drive.com
Sources: Microsoft Learn, Set-RemoteDomain · Microsoft Open Specifications MS-OXTNEF (Transport Neutral Encapsulation Format), MS-OXRTFCP (Rich Text Format Compression) and MS-OXRTFEX (Rich Text Format Extensions). Checked on 27 November 2026. Outlook and Exchange are trademarks of Microsoft; Inbox2Drive is not affiliated with Microsoft.