What are PDF attachments?
PDF attachments, also called embedded files, are complete files stored inside a PDF. Any type can be attached: a spreadsheet, an XML data file, an image or another PDF. The attachment keeps its original name and content and can be saved back out unchanged. A PDF that carries attachments is sometimes called a container or portfolio.
Where attachments live
Attachments are stored in the file's internal list of embedded files, and most desktop readers show them in an attachments panel, often marked with a paperclip icon. A file can also be attached to a specific spot on a page, shown as a small pin or paperclip annotation. Browser and mobile viewers do not always show attachments, so recipients may not notice them unless told where to look. Attachments also add their full size to the PDF, so a large spreadsheet makes the whole file larger.
Uses in practice
Electronic invoices are a well-known example: some standards place the machine-readable XML invoice inside a PDF/A-3 file, so people read the PDF while accounting software reads the data. Engineers attach source drawings to reports, and accountants receive a summary PDF with the original spreadsheets attached. Bundling this way keeps related files together while each stays in its own format.
Risks and clean-up
Because any file type can be embedded, attachments can also carry unwanted content, including executable files. Many email filters and upload portals therefore remove or reject PDFs with attachments. Before sharing a document outside your organisation, check whether it carries attachments you did not intend to send, and remove them with a sanitising tool if needed.
Tools that use this
Guides that put it into practice
Common questions
- Are attachments the same as merged pages?
- No. Merging turns documents into pages of one PDF. Attachments stay separate files inside the PDF and are not displayed as pages.
- Can a PDF/A file have attachments?
- Only PDF/A-3 allows attachments of any type. PDF/A-1 forbids them and PDF/A-2 allows only attached PDF/A files.
- How do I get an attachment out of a PDF?
- Use an attachment extractor or the attachments panel of a desktop reader. The file comes out in its original format. Check unknown attachments with security software before opening them.