If a file ending in .p7m has landed in your inbox and nothing on your device will open it, this guide is for you. In a few minutes you will understand exactly what a .p7m file is and how to open it on any computer or phone — without buying special software.

What is a .p7m file?

P7M Viewer opens a signed .p7m file and reveals the original document in seconds.
P7M Viewer opens a signed .p7m file and reveals the original document in seconds.
Open .p7m files on your phone
Open .p7m files on your phoneGet the free P7M Viewer app for Android — open and share signed files anywhere.Get the App

A .p7m file is an ordinary document — most often a PDF or an XML invoice — that has been sealed inside a PKCS#7 (CMS / CAdES) digital-signature envelope. The letters `p7m` stand for "PKCS#7 Message".

Rather than storing the document alone, the envelope bundles three things together: the original document, one or more digital signatures, and the certificates of whoever signed it. That is why your device shows the file as "unknown": it sees the signed envelope, not the document inside.

Why do documents come as .p7m?

The whole point of a .p7m file is trust. A digital signature proves two things a normal file cannot:

  • Authenticity — who really issued or approved the document.
  • Integrity — that not a single character has changed since it was signed.

Because of this legal weight, .p7m files are the standard for electronic invoices (such as the Italian *fattura elettronica*), contracts, tax filings, court papers and certified email attachments.

How do you open a .p7m file?

Opening a .p7m file simply means extracting the original document from the signature envelope. The fastest way works in your browser, on any device:

1. Open the P7M Viewer Open .p7m tool.

2. Drag your .p7m file onto the upload area, or tap Choose file.

3. Wait about a second while the document is extracted.

4. Press View to read it, or Download to save it.

There is nothing to install, no account to create, and opening a single file is completely free. P7M Viewer even shows you the name of the signer and the date it was signed, so you can trust what you received.

Opening a .p7m file on Windows, Mac, Android and iPhone

Because the tool runs online, the steps are identical everywhere:

  • Windows / macOS / Linux — use the tool in any browser; no desktop signature suite needed.
  • Android — use the browser, or install the free P7M Viewer app for one-tap opening and sharing.
  • iPhone / iPad — open the site in Safari, pick the file from Files or iCloud, and read it.

Common mistakes to avoid

  • Do not rename the file to .pdf. The signature envelope stays in place and the file may break. Always extract it instead.
  • Save the attachment first before uploading it — do not try to open it from an email preview.
  • With double names like `invoice.xml.p7m`, the real document is an XML invoice; P7M Viewer restores the correct `.xml` automatically.

Do more with .p7m files

Once you can open .p7m files, you can also:

  • Batch open dozens of signed files at once and download them all in a single ZIP.
  • Convert your own PDF, Word, XML or UDF documents into .p7m when you need to send signed files yourself.

Is it safe?

Yes. Files you upload are processed only to extract their content and are deleted automatically shortly afterwards. Nothing is stored, shared or published.

Frequently asked questions

Do I need software to open a .p7m file? No — a browser and P7M Viewer are enough, or the free Android app.

Is opening a .p7m file free? Opening a single file is free and unlimited. Batch opening and conversion are low-cost premium features.

What is inside my .p7m file? Usually a PDF or an XML invoice, plus the digital signature that proves who signed it.

In short

A .p7m file is just a normal document wrapped in a digital-signature envelope that guarantees who signed it and that it was not altered. To open it, upload it to P7M Viewer and view or download the original in seconds — on any device, for free.