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

Decision guide for pdf embedded files and attachments explained
SituationPractical actionWhat to verify
Attachments are requiredUse a workflow known to preserve themOpen every attachment after processing1
Attachments are not requiredRemove them in an approved editorConfirm they are absent from the final file2

How should you verify the final PDF?

  1. Keep the original file unchanged and work from a clearly named copy.
  2. Compare attachment names, counts, sizes, and open behavior between the source and final PDF.1
  3. Open the exact downloaded file in a second viewer before sending or uploading it.
  4. 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

  1. Adobe Acrobat — Links and attachments in PDFsofficial technical documentationSource reviewed:
  2. PDFStay — Compress PDF workflowPDFStay first-party methodologySource reviewed:
  3. PDFStay Privacy PolicyPDFStay first-party methodologySource reviewed: