PDF Attachments

The ability to embed independent files (of any format) directly into the internal structure of a PDF document, allowing it to act as a secure, universal container for related data.

What are PDF Attachments?

A PDF is often thought of as just a document, but technically, it is a complex container. Just as you can attach a file to an email, you can attach a file directly *into* a PDF. These **PDF Attachments** (also called "Embedded Files") travel with the PDF wherever it goes. When someone opens the PDF, they can see a paperclip icon or an "Attachments Panel" where they can double-click to open the original source file.

Types of Attachments

There are two primary ways files are attached to a PDF:

Why Use Attachments?

Attachments turn a static document into a comprehensive package:

Attachments vs. Portfolios

While standard attachments are simply "hidden" inside a normal PDF, a **PDF Portfolio** is a specialized type of PDF that has a custom user interface specifically designed for navigating dozens of attached files. **PDF/A-3** is another specialized standard that specifically allows non-PDF attachments for long-term archiving.

Real-World Examples

A financial auditor sends an annual report to the board of directors as a PDF. Inside the PDF, they attach the 10 original Excel workbooks containing thousands of rows of data. The board members read the summary on the PDF pages, and the IT department extracts the **Excel Attachments** to import the raw numbers into their accounting software. No files are lost in transit.

A software developer creates a technical manual. On the page describing a specific piece of code, they add a **File Attachment Annotation** with a "source code" icon. When the reader clicks the icon, the actual `.java` or `.py` file opens in their code editor, allowing them to test the example immediately.

When Should You Use PDF Attachments?