EML to PDF

Turn an email into a PDF with its headers on the page, for a record or a filing. Built here rather than on a server, which is the difference that matters when the message is evidence.

Processed on your device — no upload

termiva mail pdf message.eml --paper a4
read as size nothing uploaded

How to use it

  1. Choose the .eml file you want as a document.
  2. Pick the paper size, and whether to keep every header line or the usual few.
  3. Press make. The PDF downloads to your device.

How it works

An email becomes a PDF when it has to be filed, attached to a claim or handed to somebody who does not have your mailbox. The header block is the part that matters — who sent it, when, to whom — so it goes on the page above the message rather than being thrown away with the envelope.

This sets the message as a document. It is not a photograph of it. The headers are laid out as a block, then the body is wrapped and paginated as text. Tables keep their words but not their rules, colours are gone, and the sender’s logo is not there. That is a real limitation and it is worth saying plainly rather than discovering afterwards.

It is also a deliberate one. Reproducing the layout means asking a browser to render the message, and the pictures in an HTML email live on the sender’s server — fetching them is what tells the sender the message has been opened, down to the minute. The choice is between a document that looks like the email and reports back, and one that says what the email said and reports nothing. Every converter that uploads your message makes the first choice on your behalf.

The plain-text part is preferred over the HTML one. Almost every real message carries both, and the plain part is what the sender wrote before a mail client dressed it up. Where there is no plain part, the markup is stripped and what is left is the words, the links and the list items.

Attachments are named, not carried. A line above the message lists each one with its size, so the record shows what came with it. Putting the files themselves inside a PDF would make a container out of a document; take them out separately if you need them.

One more honest limit. A PDF draws text in a font, and the fonts every reader already has cover Latin and little else. Embedding one that covers Arabic, Greek, Cyrillic or Chinese would mean downloading a font file, and this page downloads nothing for the same reason it uploads nothing. Characters outside that set become a question mark, and the number replaced is reported with the result rather than left for you to find. If the message is not in a Latin script, take the text out instead — a text file has no such limit.

A worked example

A supplier disputes an invoice, and the thread that settles it is one message from February. You save it out of your mail client as invoice-1042.eml — 84 KB, because there is a signed PDF attached to it.

Choose the file. The status line reads read as text/plain, which means the message had a plain part and that is what will be used. Leave the paper on A4 and the headers on the main ones. Press Make the PDF.

You get invoice-1042-message.pdf. At the top, the subject in bold; beneath it From, To, Date, Subject and a line reading Attachments: statement.pdf (61 KB); then a rule, then the message. Two pages, numbered 1 / 2 and 2 / 2 at the foot. The result panel says Pages 2, Attachments listed 1 and Characters replaced 0.

That last number is the one to look at. Zero means every character in the message could be drawn. If it came back as 340 on a message written in Arabic, the document you are holding has 340 question marks in it, and no amount of squinting at page one would have told you.

Now switch Headers to every header line and make it again. The block grows from six lines to forty — Received, Return-Path, DKIM-Signature, the lot. That is the version to file when the question is whether the message is genuine rather than what it said, and the argument for not sending it to a stranger applies with more force to that version than to any other.

Questions

Will the PDF look exactly like the email did in my mail client?

No. The message is set as a document — headers, then the words, wrapped and paginated. Colours, images and table borders are not reproduced. Reproducing them would mean rendering the message, and rendering an HTML email means fetching the pictures from the sender’s server, which is what tells them you opened it.

Why not print the email to PDF from Outlook instead?

Do, if you have Outlook and the message is in it. This is for the .eml file on its own — one somebody sent you, one you exported, or one you were given as evidence — where opening it would mean adding it to a mailbox first.

Are the attachments inside the PDF?

No. They are listed by name and size in the header block, so the record shows what travelled with the message, but the files themselves are not embedded. Extract them separately if you need them.

Does making the PDF fetch the images in the message?

Nothing is fetched. The images are stripped out of the markup before anything parses it, so a one-pixel tracking image never reaches code capable of requesting it, and the sender learns nothing.

My message is in Arabic and the PDF is full of question marks. Why?

Because the standard PDF fonts cover Latin and little else, and embedding a font that covers Arabic would mean downloading one — which this page will not do. The count of replaced characters is shown with the result. For a message in a non-Latin script, extracting the text is the better route.

Is the email uploaded to build the document?

No. The file is read by your browser and the PDF is assembled there. There is no server behind this site to send it to, which matters more here than in most places: correspondence is often the one thing in a dispute that has not been made public.

Can I keep every header line rather than the usual few?

Yes, that is the second option. The short block is From, To, Cc, Bcc, Reply-To, Date and Subject. The long one is every line the message carries, including the Received chain and the authentication results.

Which part of the message becomes the text on the page?

The plain-text part when the message has one, because that is what the sender wrote before a mail client formatted it. Where there is only an HTML part, the markup is stripped and the words, links and list items are kept.

Is a PDF made this way good enough to file with a complaint?

It carries the headers, the date and the message, which is usually what is asked for. It is not a forensic copy and does not claim to be — the original .eml is the evidence, and this is a readable rendering of it. Keep the .eml.

Can it open a .msg file saved from Outlook?

Not directly. A .msg is a different format entirely — a container of properties rather than a mail message. Convert it to .eml first, then bring it back here.

What decides where the pages break?

The text is wrapped to the column and laid down line by line until a line would fall into the bottom margin, at which point a new sheet starts. There is no attempt to keep a paragraph together, because a message is not a typeset book.

What happens to a very long link in the message?

A word wider than the whole column is cut and continued on the next line rather than allowed to run off the edge of the page. Tracking links are frequently three hundred characters long, so this comes up more often than it sounds.

Is EML to PDF free to use online?

Yes — free, with no account, no daily limit and no watermark. It runs online in your browser, and because the work happens on your own device it keeps working offline once the page has loaded.

Reading