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.
| Detail | Value |
|---|---|
| Input | .eml file (RFC 822 / MIME message) |
| Output | PDF file, optionally with embedded attachments |
| Max file size | 10–500 MB depending on plan |
| Not supported | Outlook .msg files (save as .eml first); encrypted S/MIME bodies |
How to Use
- Navigate to EML to PDF from the Convert menu.
- Upload your
.emlfile using drag-and-drop, Select .eml file, or cloud storage. - Choose the options described below (the defaults suit most archiving needs).
- Optionally change the output file name.
- Click Convert to PDF.
- Download the result when processing completes.
Options
| Option | Description | Default |
|---|---|---|
| Email File | The .eml message to convert. | Required |
| Output File Name | The name for the output PDF file. | Input name + .pdf |
| Include a header block | Prints the Subject, From, To, Cc, Date and attachment names above the body. | On |
| Embed the email's attachments | Stores each attachment inside the PDF as a PDF file attachment. Turn off for a text-only record or a smaller file. | On |
| Load remote images | Fetches 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=flowedtext 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
| Client | How 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. |
| Thunderbird | Right-click the message › Save As (saves .eml). |
| Apple Mail | Drag 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
Related tools: HTML to PDF • Word to PDF • Extract Embedded Files • Merge PDFs