Home › Docs › Conversion › EML to PDF

EML to PDF

Convert a saved email message (.eml) to a PDF document, with its attachments embedded.

Overview

The EML to PDF tool turns an RFC 822 email file into a paginated PDF. It decodes the message headers, renders the HTML body (or the plain-text body when there is no HTML part), places inline images where they appeared in the message, and lists every attachment. By default the original attachment files are also embedded in the PDF as file attachments, so one PDF is a complete record of the email.

DetailValue
Input.eml file (RFC 822 / MIME message)
OutputPDF file, optionally with embedded attachments
Max file size10–500 MB depending on plan
Not supportedOutlook .msg files (save as .eml first); encrypted S/MIME bodies

How to Use

  1. Navigate to EML to PDF from the Convert menu.
  2. Upload your .eml file using drag-and-drop, Select .eml file, or cloud storage.
  3. Choose the options described below (the defaults suit most archiving needs).
  4. Optionally change the output file name.
  5. Click Convert to PDF.
  6. Download the result when processing completes.

Options

OptionDescriptionDefault
Email FileThe .eml message to convert.Required
Output File NameThe name for the output PDF file.Input name + .pdf
Include a header blockPrints the Subject, From, To, Cc, Date and attachment names above the body.On
Embed the email's attachmentsStores each attachment inside the PDF as a PDF file attachment. Turn off for a text-only record or a smaller file.On
Load remote imagesFetches images referenced by http(s) URLs. Off by default so tracking pixels in newsletters are never requested; skipped images are replaced by their alt text.Off

What the PDF Contains

  • Header block — subject as the title, then From, To, Cc, Date (with time-zone offset) and the attachment list with sizes.
  • Body — the HTML part rendered with its inline styles, tables and cid: images. Scripts, forms, frames and event handlers are removed. Plain-text-only messages are rendered in a monospace block with URLs turned into links; format=flowed text is re-flowed.
  • Attachments — listed at the end of the document and embedded as PDF attachments (open the attachments panel in Acrobat, Preview or your browser's PDF viewer to save them). Nested messages (message/rfc822) are embedded as .eml files.

Exporting .eml Files

ClientHow to get an .eml
Gmail (web)Open the message › three-dot menu › Download message.
Outlook (Windows)Open the message › File › Save As › choose a format that produces .eml, or drag the message to a folder in Outlook for Mac / new Outlook.
ThunderbirdRight-click the message › Save As (saves .eml).
Apple MailDrag the message to the Desktop or use File › Save As › Raw Message Source.

API

The same conversion is available at POST /api/pdf/eml-to-pdf. See the Conversion API reference for parameters and a curl example.

Tips & Notes

Tip
Converting a whole mailbox? Convert each message, then combine the PDFs with the Merge PDFs tool, or script the API endpoint.
Note
Embedded attachments make the PDF roughly as large as the original email. If you only need the text, turn off Embed the email's attachments; the attachment names and sizes are still listed.
Info
The renderer never reads files from disk paths referenced in the message and, with remote images off, makes no network requests at all, so the sender cannot tell the email was opened.

Related tools: HTML to PDF • Word to PDF • Extract Embedded Files • Merge PDFs