PDF compression guides
PDF Embedded Files and Attachments Explained
Inventory attachments before choosing compression, merging, or conversion.
Last updated
A PDF can contain embedded files in addition to its visible pages. Those attachments may explain unexpected file size and can carry source documents, spreadsheets, media, or structured data. Page compression does not guarantee that attachments are removed or preserved. Before processing or sharing, inspect the attachments panel, decide what the recipient needs, and verify the exact output in a viewer that exposes embedded files.
Are PDF attachments part of the visible page content?
Embedded files are stored as separate objects and may be linked from annotations, portfolios, or document-level structures. A recipient can miss them if the viewer hides the attachment interface, even though the bytes remain inside the file.1, 2, 3
| Situation | Practical action | What to verify |
|---|---|---|
| Attachments are required | Use a workflow known to preserve them | Open every attachment after processing1 |
| Attachments are not required | Remove them in an approved editor | Confirm they are absent from the final file2 |
How should you verify the final PDF?
- Keep the original file unchanged and work from a clearly named copy.
- Compare attachment names, counts, sizes, and open behavior between the source and final PDF.1
- Open the exact downloaded file in a second viewer before sending or uploading it.
- Save the destination receipt or delivery evidence when the document matters.
FAQ
Can a PDF attachment remain even when no page mentions it?
Yes. Document-level embedded files can remain inside the PDF even when the visible pages do not link to them.
Does compressing a PDF remove its attachments?
Do not assume so. Attachment behavior depends on the workflow, so compare the attachment panel and open every required embedded file afterward.
Sources
- Adobe Acrobat — Links and attachments in PDFsofficial technical documentationSource reviewed:
- PDFStay — Compress PDF workflowPDFStay first-party methodologySource reviewed:
- PDFStay Privacy PolicyPDFStay first-party methodologySource reviewed: