P7M to PDF Converter

Drop a signed .p7m file and get the document that was signed, unwrapped from its digital signature envelope without installing signature software.

drop your files anywhere in this area

Your files never leave your device. This tool even works offline.

P7M

01 / Fast steps

  1. Drop or select your .p7m files.
  2. The document inside is extracted automatically.
  3. Download the original PDF.

02 / Best for

  • Read a signed contract or deed sent as document.pdf.p7m without installing a signature client.
  • Recover the original PDF from files signed by a notary, a public administration or a certified provider.
  • Open a signed attachment on a machine where no signature software can be installed.

03 / Why here

  • The signed document is read out of the envelope byte for byte, so the extracted PDF is the exact file that was signed.
  • Signed documents are often confidential: this runs entirely in your browser, so the file never reaches a server.
  • Handles countersigned files that wrap one envelope inside another, and envelopes stored in base64.
  • The envelope does not record the original file type, so the payload is identified from its own content: a signed Word file comes back as .docx, a scanned page as .tif and an e-invoice is named as such, instead of an unlabelled blob.

04 / Keep in mind

  • This extracts the document, it does not verify the signature: use a certified validation service if you need legal proof that the signature is valid and the certificate was not revoked.
  • Detached signatures store the document separately from the .p7m, so there is nothing inside to extract.
  • A P7M can wrap any file type, not only PDF. Signed e-invoices contain XML: the XML is extracted as the legal original, with a readable PDF copy generated next to it.

Good to know

Questions & answers

01

What is a P7M file?

A .p7m file is a document wrapped in a PKCS#7 / CAdES cryptographic envelope, the standard format for digital signatures in Italy and the EU. The envelope holds three things: the original document, one or more signatures, and the signing certificates. That is why the name usually looks like contract.pdf.p7m, where the .pdf is the real document and the .p7m is the signature wrapper around it.

02

Why will my P7M file not open?

Almost always for one of three reasons. The signature is detached: the .p7m holds only the signature and the document travels as a separate file, so ask the sender for the original. The download broke off, which happens often inside PEC webmail: download the attachment again and compare the file size. Or the file is countersigned, one envelope nested inside another, which many programs cannot unwrap. Load the file here: the tool reads the envelope and tells you which of these is yours, instead of a generic error.

03

Can I open a P7M without Dike or ArubaSign?

Yes. This page reads the CAdES envelope in your browser and hands you the signed document, with nothing to install. What it does not do is legal verification: Dike, ArubaSign or an accredited online service remain the way to prove that a signature is valid and the certificate was not revoked. To read the document you received, this page is enough.

04

The P7M arrived inside a postacert.eml from a PEC mailbox

That is the normal shape of a certified email: the PEC system wraps your message and its attachments inside a postacert.eml envelope. Open the .eml first, save the .p7m attachment, then load it here. If you load the .eml directly, the tool recognises it and points you the right way. EML Viewer

05

Does a P7M file have a password?

No. A P7M is not password protected and there is no password to remove. It is a signature envelope, so the document inside can always be read by anyone who receives the file. The signature proves who signed it and that nothing changed afterwards, but it does not encrypt or lock the content.

06

I got an XML file instead of a PDF. Did the extraction fail?

No, it worked exactly as it should. An Italian e-invoice is signed as XML, not as PDF, so the envelope named fattura.xml.p7m never contained a PDF at all: that XML is the legal original your supplier issued and the one the tax authority holds. Any PDF you may have seen elsewhere is a courtesy rendering generated from it, not the invoice itself. The tool recognises this case, says so in the result, and also generates a readable PDF copy next to the XML. E-Invoice PDF

07

Does this tool check whether the signature is valid?

No, and that distinction matters. This tool unwraps the envelope and gives you the document. It does not verify the certificate chain, the revocation status or the timestamp. If you need to prove the signature is legally valid, use an accredited validation service.

08

Are my signed documents uploaded anywhere?

No. The envelope is parsed by JavaScript running in your browser tab, and the extracted file is written straight to your disk. Signed documents are usually contracts and legal records, so this tool was built with no upload step at all.

09

Is P7M to PDF free to use?

Yes, completely free, with no sign-up and no file-size limits. It runs entirely in your browser, so your documents never leave your device.