Yes, you can open a winmail.dat file on Mac, but macOS Mail will not do it for you. The file is a TNEF (Transport Neutral Encapsulation Format) container that Microsoft Outlook for Windows creates when it sends rich-text mail to a recipient whose client it does not trust to understand the format. Inside the .dat wrapper are the real attachments plus the formatted body text. On a Mac you need a third-party decoder, because Apple Mail, Outlook for Mac and Quick Look all treat the file as an unknown binary. The quickest working route is to install a free TNEF decoder, drag the winmail.dat onto it, and let it extract the attachments and the formatted message into a folder you can open normally.
What You'll Need
- A Mac running a current version of macOS (the steps below work on recent releases; exact menu labels can differ slightly by version and region).
- The winmail.dat file saved somewhere you can find it, for example your Downloads folder.
- A TNEF decoder app. The most established free option is tnef, a command-line tool available through Homebrew. If you prefer a graphical app, several free and paid TNEF viewers exist on the Mac App Store; pick one with recent updates and check that it is from a known developer before installing.
- Optional: Homebrew installed if you plan to use the command-line route. You can install Homebrew from its official site with the single command it publishes there; do not use third-party scripts.
Step-by-Step
- Save the attachment first. In Apple Mail, right-click the winmail.dat attachment and choose Save Attachment (or Save to Downloads), then note where it landed. Do not try to open it by double-clicking; macOS will either open TextEdit and show gibberish or refuse to open it at all.
- Install a decoder. For the command-line route, open Terminal (Applications > Utilities > Terminal) and install Homebrew if you have not already, following the command on brew.sh. Then run
brew install tnef. For a graphical route, download a TNEF viewer from the Mac App Store and move it to your Applications folder. - Create an output folder. In Finder, make a new folder on your Desktop called something like winmail-output. This keeps the extracted files together and makes them easy to find.
- Decode the file with the command-line tool. In Terminal, type
tnef --helponce to confirm the tool installed. Then change to the folder holding the file, for examplecd ~/Downloads, and runtnef -C ~/Desktop/winmail-output winmail.dat. The-Cflag tells tnef where to write the extracted files. Press Return and wait a moment; there is no progress bar, so give it a few seconds. - Or decode with a graphical app. Launch the viewer, drag the winmail.dat file onto its window (or use its Open command), and choose an extraction folder when prompted. Most viewers show a list of the contained attachments before you extract them.
- Open the output folder. Inside you should see the real attachments with their original names and extensions, plus often an .rtf or .html file containing the formatted message body. Double-click any file to open it in its normal app.
- Check for missing pieces. If the sender embedded images in the message body rather than attaching them, they may appear as separate image files in the output folder. Open the .html or .rtf file to see the body text with its formatting.
- Clean up if you like. Once you have the attachments you need, you can delete the original winmail.dat and the output folder. Nothing in the decode process modifies the original file, so keeping it is harmless.
Common Mistakes
- Double-clicking the file and assuming it is corrupt. A window of garbled text is normal; the file is not damaged, it just needs decoding.
- Renaming the file to .zip or .eml. That does not work. TNEF is not a zip archive and changing the extension only confuses the system.
- Forgetting the output folder. Running tnef without
-Cwrites the extracted files into whatever folder Terminal is currently in, which is often your home folder and easy to overlook. - Installing a decoder from an unofficial download site. Stick to Homebrew, the Mac App Store, or the developer's own official page.
- Expecting Apple Mail to handle it automatically. It does not, and there is no hidden setting that changes that.
Tips
- Ask the sender to resend using Plain Text or HTML format instead of Rich Text, or to send the files as a zip. In Outlook for Windows this is under the message format options in the compose window; the exact label varies by version.
- If you receive winmail.dat files regularly, keep the decoder installed so the fix is a single drag or command each time.
- Check the extracted file extensions before opening anything you did not expect. If an attachment looks suspicious, do not open it; scan it first.
- Keep the original winmail.dat until you have confirmed every attachment extracted correctly, in case a second pass is needed.
Troubleshooting
The decoder says the file is not a TNEF file. Confirm the file really is winmail.dat and not a differently named attachment. Some mail systems rename it; check the file size, which is usually larger than a plain text attachment.
Extraction finishes but the folder is empty. Check that you passed the correct path after -C and that the file name matches exactly, including case. Run the command from the folder containing the file to avoid path mistakes.
Attachments come out with no extension. Some senders omit the type information. Open the files with the appropriate app manually, or ask the sender to resend as a zip.
The formatted body is missing. Not every TNEF file includes a formatted body; some contain attachments only. The plain-text version of the message is still visible in the original email.
Homebrew install fails. Make sure macOS is up to date and that you are using the official Homebrew install command. If permissions errors appear, check that your account is an administrator.
If that did not work, try a graphical TNEF viewer from the Mac App Store as an alternative decoder, and verify the file is not truncated by comparing its size with what the sender reports.
Frequently Asked Questions
Can Apple Mail open winmail.dat files natively?
No. Apple Mail has no built-in TNEF support, so you need a decoder app or tool.
Is winmail.dat a virus?
No, it is a legitimate Outlook format. Treat any unexpected attachment with normal caution, but the format itself is not malicious.
Will decoding change the original file?
No. The decoder reads the file and writes new files into the output folder; the original stays untouched.
Why do only some senders produce winmail.dat?
Outlook for Windows uses TNEF when it sends in Rich Text format, or when the recipient's client is not recognised as supporting the richer format.
Can I open winmail.dat on iPhone or iPad?
Not with the built-in Mail app. You would need a third-party app that supports TNEF; check the App Store listing before relying on one.
Do I need to pay for a decoder?
No. The command-line tnef tool is free, and free graphical viewers exist, though some apps charge.