A P7S containing a PDF
Open the container, review every signer's integrity result, then save the embedded content to a new file. Extraction preserves the original bytes; it does not convert another format into PDF.
Open. Verify. Extract. Understand P7S files.
A free and open-source Windows utility for opening P7S containers, extracting their original content, verifying cryptographic signatures and inspecting signer certificates — locally on your PC.
Self-contained .NET 10. PDF preview alone needs Microsoft Edge WebView2 Runtime. Windows executables and the installer are not Authenticode signed.

Open the container, review every signer's integrity result, then save the embedded content to a new file. Extraction preserves the original bytes; it does not convert another format into PDF.
For a detached invoice.pdf.p7s, select the exact invoice.pdf supplied by the sender. The name alone is not proof of a match. A re-saved PDF can fail verification even when it looks identical. Without the original bytes, the signature cannot reconstruct the document.
A smime.p7s email attachment may be a detached signature over the original email data, not a hidden PDF. Keep the original signed message and use an S/MIME-capable mail client for its email workflow. This application does not replace an email client.
Download the five practice files (ZIP)
Extract the ZIP to a new folder. The samples contain synthetic text and use self-signed demonstration certificates. Leave your Windows certificate trust settings as they are. The screenshots show these exact samples in P7S Universal Viewer v2.0.0.
handover.p7s. The viewer shows Valid signature and Certificate trust: Untrusted / Unknown. The signed bytes match, while Windows does not trust the demonstration certificate. Choose Save content as… and save as extracted.txt in the practice folder.detached.p7s. The viewer shows Detached content required and has nothing to extract. Use Choose original… and select original.txt to verify successfully. Repeat with wrong-original.txt to see a failed integrity check.altered.p7s. One byte in the embedded text was changed after signing (PROJECT became QROJECT). The text remains readable, but the viewer shows Invalid signature.In v2.1.0, use Open P7S to select the three P7S samples together. The batch lists one valid signature, one failed signature and one original required. Select the detached row to choose its original, then use Save JSON report… to save all three results.
In PowerShell, from the practice folder:
Get-FileHash -Algorithm SHA256 -Path .\original.txt, .\extracted.txt
Both files measured 526 bytes and produced this SHA-256:
2aaa106185024313fb77848147036d04ef19517b5af5bd9cab74ad0fe7b86e2c


Certificate date status depends on when you run the example. Revocation and legal validity are outside this exercise.
Run the installer, or extract the portable ZIP and run P7SUniversalViewer.exe. These binaries are not Authenticode signed, so Windows may show a reputation or security warning. Download only from the official GitHub release or this product page. Do not disable Windows security.
For an optional SHA-256 check, open PowerShell in your download folder and run the command for your file:
Get-FileHash -Algorithm SHA256 ".\P7SViewer_Setup-v2.1.0.exe"Expected installer hash:f082cd924a3240bb295cf17bdc01f201272af9bf4bd3bd733dbe1aa95df2ef6a
Get-FileHash -Algorithm SHA256 ".\P7SUniversalViewer-v2.1.0-win-x64.zip"Expected portable ZIP hash:bd674a194308e7e83e5e402730c298d09972e2b0660736d826374d16bba136b9
Compare the Hash value; letter case does not matter. A matching hash confirms the published bytes, not malware safety or Authenticode signing. Do not run a file with a different hash.
Check up to 100 signature containers in one batch. Save an offline JSON report with document hashes and per-signer results.
Check each cryptographic signature and inspect its certificate, the chain Windows built locally, algorithms, dates and signing-time assertion.
Keep valid or invalid document signatures separate from certificate trust, current certificate dates and unchecked revocation.
Select the exact original file when the signed container does not include it. The file picker suggests a matching filename in the same folder when available. Different original bytes fail verification.
Save original bytes without modifying them. Existing files are never silently overwritten. Preview PDF, UTF-8 text, PNG, JPEG and GIF where supported.
Every signer has one checked result shared by the status header, list and detail panel. Signature integrity tells you whether the signed bytes match. Certificate chain trust, current validity dates and revocation are separate questions.
Certificate checks use the Windows trust store locally. Revocation is not checked. A signing-time assertion is not a trusted timestamp; timestamp authority tokens are identified but not validated. Cryptographic success does not establish legal validity.
An attached container includes its original content. A detached P7S file contains a signature separately: select the exact original file to verify it. A different original file produces an invalid result.
Read the attached vs detached guide →Save or extract the embedded document without changing its bytes. Filenames are sanitized, output paths are checked, and existing files are never silently overwritten. PDF, UTF-8 text, PNG, JPEG and GIF can be previewed. Other content remains extractable without pretending to render unsupported formats.
Archives and Office containers are not decompressed. Input is limited to 64 MiB and content to 48 MiB, with bounded ASN.1 structure and signer counts.
Screenshots use synthetic documents and demonstration certificates.


Files are processed locally and are not uploaded to ALMARFELD servers. Certificate downloads and revocation network checks are disabled. Opening extracted content in another application is your choice; that application may use the network.
Cryptographic integrity is not legal validation or a document-safety guarantee. Revocation and timestamp authority verification are not performed. Archives and Office containers are not decompressed. Windows binaries are not Authenticode signed.
Temporary previews use random owned sessions under the user profile, with cleanup on document changes and exit. The explicit Keep temporary previews option retains them.
Security reporting →v2.1.0 is available. Choose the installer for a Start Menu shortcut, or extract the portable ZIP into a folder and run the application.
P7SViewer_Setup-v2.1.0.exe
Installer SHA-256: f082cd924a3240bb295cf17bdc01f201272af9bf4bd3bd733dbe1aa95df2ef6a
P7SUniversalViewer-v2.1.0-win-x64.zip
Portable SHA-256: bd674a194308e7e83e5e402730c298d09972e2b0660736d826374d16bba136b9
Windows executables and the installer are not Authenticode signed. The signed release tag and SHA-256 checksums do not replace an Authenticode signature.
The original v1.0.0 installer remains unchanged. Its signature-list indicator has a known false-Valid defect; do not use it as verification evidence.