EML: one e-mail message in a file
An EML file holds a single e-mail exactly as it travels between mail servers: the header lines with sender, recipients, date and subject, the message body in plain text, HTML or both, and any attachments encoded as text inside the same file. The structure follows RFC 5322 and the MIME standards, so it is not tied to one vendor. Thunderbird, Apple Mail, Gmail and Outlook on the web can save messages in this format.
Key facts
- Extensions
- .eml
- Media type
- message/rfc822
- Standard
- RFC 5322 (Internet Message Format), MIME
Where it is used
People save EML files when they need to keep a particular message outside the mailbox: a booking confirmation, an order, an exchange with a client or a notice from an authority. Mail systems use the format to export messages, to forward an e-mail as an attachment and to hand messages over in audits and legal disputes.
Strengths
EML is an open, documented format that stays readable for decades: it is text, so even a simple editor shows the headers and the body. It keeps the original technical headers, which help show when and through which servers a message was sent, and it carries the attachments inside the same file.
Limitations
An EML file needs a mail program to be read comfortably, and many phones and office users have no app that opens it. HTML messages may try to load remote images when opened, and attachments are hidden inside encoded text. For people who only need to read or print the message, it is an awkward format.
Converting it to PDF
Converting an EML file to PDF turns the message into pages anyone can read. Our EML to PDF tool places the subject, sender, recipients and date at the top, followed by the full message, for files of up to 10 MB. Attachments are listed by name but their content is not included, and images from the internet are not loaded.
Getting it back from a PDF
A PDF cannot be turned back into an EML message, because the technical headers and the original encoding are gone. Keep the EML file when you may need it as evidence, and use the PDF as the readable copy for files and printing.
Convert with these free tools
Side-by-side comparisons
PDF terms explained
- PDF attachmentsA PDF can carry other files inside it, such as spreadsheets, XML data or images. Learn how embedded attachments work, where to find them and their risks.
- PDF metadataPDF metadata stores the title, author, software and dates behind a document. Learn where it lives, what it can reveal and how to check or clear it.
Guides that put it into practice
Common questions
- How do I save an e-mail as an EML file?
- In Gmail, open the message, use the three-dot menu and choose Download message. In Thunderbird and Apple Mail, use Save As.
- Is EML the same as MSG?
- No. Both hold one e-mail, but EML is the open internet format and MSG is the file format of Outlook for Windows. Our converters read both.
- Can an EML file contain a virus?
- Its attachments can. Open EML files only from senders you trust and never run an attachment you did not expect. Converting the message to PDF does not open the attachments.