# Da EML a PDF

> Apri il file .eml, premi Salva come PDF e hai finito: il PDF contiene le intestazioni, il messaggio con la sua impaginazione e l'elenco degli allegati. Puoi scaricare anche gli allegati, singolarmente o in un file ZIP.

Human page: https://unmakelabs.com/it-it/convertire-eml-in-pdf/. This is the version for AI agents.

## What it does

Convertire un file .eml in PDF in pochi secondi. Apri il file .eml, premi Salva come PDF e hai finito: il PDF contiene le intestazioni, il messaggio con la sua impaginazione e l'elenco degli allegati. Puoi scaricare anche gli allegati, singolarmente o in un file ZIP.

## Quando serve

Una prova per una contestazione o da allegare agli atti di una causa, una documentazione per un audit o una pratica assicurativa, una ricevuta per il commercialista o semplicemente inviare un'email a chi non riesce ad aprire i file .eml. Di solito in questi casi viene chiesto il PDF dell'email con le intestazioni complete.

## Cosa contiene il PDF

Oggetto, Da, A, Cc, data e ora complete con fuso orario, nomi e dimensioni degli allegati, poi il testo del messaggio con formattazione, tabelle e immagini incorporate. Il testo resta testo vero, quindi si può cercare e copiare.

## Facts

- **Formato di ingresso:** .eml (anche .emlx, messaggi mbox, Outlook .msg)
- **Formato di uscita:** PDF dell'email, oppure un unico PDF con gli allegati come pagine; allegati singoli o in ZIP
- **Creato da:** Il tuo browser, sul tuo dispositivo: testo vero e ricercabile
- **Privacy:** Conversione sul tuo dispositivo; nessun file caricato

## How a person does it

1. **Apri il file .eml.** Trascinalo nel visualizzatore, premi Scegli un file oppure incolla il link a un file .eml pubblico.
2. **Premi Salva come PDF.** Nella finestra di stampa scegli Salva come PDF e il formato della carta. Il file prende il nome dall'oggetto dell'email.
3. **Conserva gli allegati.** Premi PDF con allegati per avere tutto in un unico file, oppure scaricali uno per uno o in un file ZIP.

## Open a file by link (works today)

The viewer runs in a browser. Any public file URL can be opened by adding `?src=` (URL-encoded): `https://unmakelabs.com/it-it/convertire-eml-in-pdf/?src=https://unmakelabs.com/apps/mail/samples/sample.eml`. The host must allow cross-origin reads (GitHub raw, most object storage and CDNs do). A camera view can be added after `#`: none: the email never goes in a link. `?src=<public .eml or .msg URL>` opens a file the visitor's browser can fetch (CORS).

Embed: `<iframe src="https://unmakelabs.com/embed/mail/?src=<url-encoded file URL>" width="100%" height="480" style="border:0"></iframe>`.

## Send your own file (live)

`POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/mail_view/jobs?wait=25` with the file as multipart `file` (or JSON `file_base64` + `filename`, or `file_url`), API tool `mail_view`: Read an e-mail file (.eml, .msg, .mbox). The same engine code as this page. No sign-up; Free: 5 full results per IP per day without a key (resets at 00:00 UTC); POST /v1/keys gives an instant key with 25 more full results (one-time, not renewed); each accepted correction adds 1 free call (up to 20 a month). Through the API the uploaded file is deleted as soon as the result is delivered; the result and its files after 24 hours. The browser page itself uploads nothing.

```bash
# e-mail: text, addresses, attachments as files (upload deleted on delivery)
curl -s -F "file=@message.msg" "https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/mail_view/jobs?wait=25"
```

## Good to know

Nel PDF la data è indicata nel fuso orario del tuo dispositivo, con il nome del fuso, e sotto viene riportata l'intestazione Date originale con il fuso orario del mittente. Le interruzioni di pagina dipendono dalle impostazioni di stampa del browser.

## Not done by this tool

- Non invia, non risponde e non modifica email
- Non apre i file dati di Outlook (.pst, .ost)
- Non decifra email S/MIME o PGP
- Non estrae ancora gli allegati winmail.dat (TNEF)
- Non trasforma in pagine gli allegati Word, Excel o ZIP (vengono elencati nel PDF)

## Value

Opens email files in any browser, phones included, without Outlook or a mail program: Outlook .msg (own OLE compound-file and MAPI reader, Unicode and ANSI code pages, HTML from compressed RTF), .eml (RFC 822/MIME via postal-mime), Apple Mail .emlx and mbox mailboxes (first 500 messages listed). Shows the headers, the HTML body cleaned with DOMPurify inside a sandboxed frame with its own Content-Security-Policy (no scripts, forms or frames; remote images and tracking pixels blocked until the reader loads them), the plain-text fallback, inline cid: pictures, attachments with download and ZIP, emails nested inside emails at any depth, and a summary of calendar invitations (.ics). Flags links whose text names a different site than their target, Reply-To on another domain, and the SPF/DKIM/DMARC results the receiving server recorded. Saves the message with its headers and attachment list as a PDF through the browser's print dialog, or as one PDF with the attachments added as pages (PDFs, pictures, attached emails; the rest named on a last page). Nothing is uploaded. Free, no sign-up.

## When it fits

- A user received an Outlook .msg (often forwarded as an attachment) and has no Outlook: Mac, iPhone, Android, Chromebook, Linux or a work PC without it.
- A user has an .eml saved from Thunderbird, Gmail, Apple Mail or a ticket system and wants to read it, get its attachments or keep it as a PDF (for a file, a claim, a court bundle, an accountant).
- A user wants to look at a suspicious email safely: without running its code, without loading its tracking pixels, with the real link targets and the sender checks shown.

### When not

- Sending, replying or editing emails; this is a viewer.
- Outlook data files (.pst, .ost) and Exchange mailboxes.
- Encrypted (S/MIME, PGP) message bodies, winmail.dat (TNEF) contents, Outlook contact, task and calendar-item details beyond their text.

## Why use it instead of the alternatives

- Nothing to install: the viewer opens a public .eml or .msg by link (?src=) in any browser, phones included, and can be embedded (/embed/mail/).
- Agents can send their own file: POST /v1/mail_view/jobs (live, no sign-up, free calls) returns headers, text, attachment list and the attachments as files, from the same code as the page; the upload is deleted on delivery.
- Online converters (Zamzar, CoolUtils, Aspose and similar) upload the email to their servers, often with size caps or waits; desktop viewers need an install; Outlook needs a licence, and Outlook for Mac does not open .msg at all (it opens .eml).
- This viewer needs no install, upload or account, opens .msg and .eml on a phone, blocks tracking pixels by default, opens nested emails and invitations, and exports a PDF and the attachments, free without limits.

### What rebuilding it would take

- Write an OLE compound-file reader (FAT, mini FAT, DIFAT, directory tree) with loop and bounds checks, MAPI property decoding for Unicode and ANSI code pages, recipients, attachments and embedded messages, LZFu decompression and HTML de-encapsulation from RTF.
- Parse MIME with every encoding real mail uses (RFC 2047 words, RFC 2231 file names, quoted-printable, base64, windows-1252, ISO-8859-x, ISO-2022-JP, KOI8-R), and treat the HTML as hostile: sanitiser, sandbox, CSP, image blocking, link rewriting.
- Make a printable layout with headers, and test against real Outlook files and a hostile-HTML set.
- Real Outlook and MIME samples to test against, a hostile-HTML test set, and upkeep as mail programs change.

## Quality

No score published; the limits above say what it does not do. Check results that matter before you rely on them.

## Risk for the user

- Free and unlimited; no sign-up, no ads.
- Email files are read on the user's device and never uploaded; files given by link are fetched by the user's browser from where they are stored.

_Status: the viewer, PDF (print), one PDF with attachments and ZIP export work for .msg, .eml, .emlx and mbox in the browser; the API (mail_view, agent upload) is live._

## Privacy

- Email files are read on the user's device and not uploaded; there is no share link for emails.
- Remote images in an email load only after the user clicks Load images.
- The page loads postal-mime, DOMPurify and, only when asked, fflate (ZIP) or pdf-lib (PDF with attachments) from unmakelabs.com itself; no third-party code host is contacted.
- Visits are counted with PostHog EU (cookieless until consent in opt-in regions); viewer contents are masked and the email frame is blocked from session replays.

## Data

Si apre nel browser e l'email resta sul tuo dispositivo. Non viene caricato nulla e nei link non finisce niente che la riguardi.

## FAQ

- **Come salvo un file .eml in PDF su Mac?** Trascina il file .eml su questa pagina, premi Salva come PDF, poi nella finestra di stampa scegli PDF ▸ Salva come PDF.
- **Il PDF conserva le intestazioni complete per l'uso legale?** Il PDF mostra le intestazioni principali (Da, A, Cc, la data nel tuo fuso orario e l'intestazione Date originale con il fuso orario del mittente, gli allegati). Per le intestazioni tecniche complete (percorso Received, Message-ID, risultati dell'autenticazione) conserva anche il file .eml originale; in Dettagli le trovi elencate a schermo.
- **Posso convertire un'intera casella di posta?** Un file mbox si apre come elenco dei suoi primi 500 messaggi; salva in PDF ognuno di quelli che ti servono.
- **Perché nel PDF mancano alcune immagini?** Le immagini ospitate su internet restano bloccate finché non premi Carica immagini, quindi non finiscono nemmeno nel PDF. Caricale prima se vuoi includerle.
- **È davvero gratis?** Sì: niente pubblicità, niente registrazione, nessun limite, nessuna versione a pagamento.
- **Caricate la mia email?** No. Il file viene letto all'interno di questa pagina, sul tuo dispositivo. Non c'è un pulsante di caricamento né un link di condivisione per le email.
- **Un agente IA può usarlo?** Sì. Un agente può inviare il proprio .eml o .msg all'API (mail_view, senza registrazione, chiamate gratuite; la chiamata è in Per gli agenti IA) e riceve intestazioni, testo e allegati come dati; il file caricato viene eliminato appena consegnato il risultato. Può anche aprire un .eml o .msg pubblico in questo visualizzatore con un link (aggiungi ?src= e l'indirizzo del file).
- **Chi lo realizza?** Unmake Labs (Julien Salomon). Contatto: hello@unmakelabs.com.

## Related pages

- [Visualizzatore MSG](https://unmakelabs.com/it-it/visualizzatore-msg-online/)
- [Visualizzatore EML](https://unmakelabs.com/it-it/aprire-file-eml-online/)
- [Da MSG a PDF](https://unmakelabs.com/it-it/convertire-msg-in-pdf/)
