Convert TNEF to MD

Turn TNEF emails into Markdown. The message inside the winmail.dat with its subject as a heading, then its date, the plain-text body, or the text of an HTML or rich-text body when there is no plain one, kept line by line with Markdown characters escaped, and the names, types and sizes of the attached files.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop TNEF files on the dialor turn it to pick what to do

The message from a winmail.dat, as Markdown.Subject, date and body in one text file, with the attachments listed.

  1. What you get

    One Markdown file with the message that sits inside the winmail.dat. The subject is the heading, and the date comes after it.

    The body follows. It is the plain-text body when there is one. When there is none, it is the text of the HTML or rich-text body. Lines stay as they were, line by line, and Markdown characters are escaped so they show as written instead of turning into headings or lists.

  2. Attached files

    The file lists each attachment with its name, its type and its size. The attachments themselves are not placed in the Markdown file, only that list.

  3. Sender and recipients

    The sender and recipients stay in the email that carried the winmail.dat. They appear in the Markdown only when Outlook also put them inside the file.

    If you need the same kind of output for other TNEF files, see every TNEF conversion. To join several Markdown files afterwards, you can merge MD.

TNEF and MD.What each format is.

The formats

From · TNEF

TNEF

Outlook's winmail.dat attachment wrapper that hides the real attachments inside.

Extensions
.tnef
MIME type
application/vnd.ms-tnef
Kind
Email
To · MD

Markdown

Plain text with light markup for headings, lists, links and code. What agents and developers write in.

Extensions
.md .markdown .mdown
MIME type
text/markdown
Kind
Text and data

In your code.The same TNEF to MD conversion through the API, for your app or your agent.

terminal
$ cv convert report.tnef report.md
$ cv convert report.tnef report.md

Questions.What people ask about TNEF to MD.

01OF 04

It is Outlook's wrapper for attachments. The real attachments are hidden inside it, along with the message.

No. It lists the name, type and size of each attached file, but not the files themselves.

Only when Outlook also put them inside the winmail.dat. Otherwise they stay in the email that carried the file.

They are escaped. They show as written and do not turn into headings, lists or other formatting.

More conversions.Other ways in and out of TNEF and MD.