How to Extract Attachments From PDF

PDFs can contain embedded file attachments — spreadsheets, source data, original images, supplementary documents, or even executable files hidden inside the document. These attachments aren't visible as pages but are bundled within the PDF file structure. Extracting them recovers the original files for editing, analysis, or archival. SublimePDF detects and extracts all embedded attachments from any PDF.

Follow the step-by-step instructions below, then use the free tool directly — no registration or download required.

Open Tool →

How to Extract Attachments From PDF — Step by Step

1

Upload the PDF with attachments

Open the extract attachments tool or POST to /api/v1/extract-attachments with your PDF file. The tool scans the document for all embedded file attachments and portfolio-style attachments.

2

View discovered attachments

The tool lists all embedded files with their filenames, file types, sizes, and descriptions (if the author provided any). Common attachment types include .xlsx, .csv, .docx, .png, .xml, and .json.

3

Select attachments to extract

Choose specific attachments to extract, or select all. For PDFs with many attachments, filter by file type to quickly find what you need.

4

Download extracted files

Individual files download directly. When extracting multiple attachments, they're bundled into a ZIP archive with original filenames preserved.

5

Handle PDF Portfolios

PDF Portfolios (also called PDF Packages) are special PDFs that act as containers for multiple files with a navigation interface. The extraction tool unwraps these fully, recovering each constituent file in its original format.

Pro Tips

  • 💡 Some government and financial regulatory filings embed source data (XML, CSV) as PDF attachments. Extract these for data analysis instead of manually re-entering information from the visible pages.
  • 💡 Check for attachments in PDFs received from external sources — embedded files can contain macros or scripts. Scan extracted attachments with antivirus software before opening.
  • 💡 If no attachments are found, the files you're looking for might be embedded as inline images or annotations rather than file attachments. Use the image extraction tool instead.
  • 💡 PDF/A-3 standard explicitly supports file attachments. Archival PDFs in this format often embed the original source file (Word doc, spreadsheet) alongside the rendered pages.

Privacy & Security

All processing happens directly in your browser. Your files are never uploaded to any server — they remain on your device throughout the entire process. SublimePDF uses WebAssembly technology for fast, secure, client-side processing.

Works Everywhere

This tool works on any modern browser — Chrome, Firefox, Safari, or Edge — on desktop, tablet, or mobile. No software to install. PDF is an open ISO standard supported by all major platforms.

How to Extract Attachments From PDF — FAQ

How do I know if a PDF has attachments?
In Adobe Reader, look for a paperclip icon in the left panel. In our tool, upload the PDF and it scans for attachments automatically — you'll see a list of found files or a message confirming none were found.
Can I extract attachments from encrypted PDFs?
You'll need to provide the document password first. Once the PDF is decrypted, attachments are extracted normally.
What's the difference between attachments and embedded images?
Attachments are standalone files bundled inside the PDF (spreadsheets, documents, data files). Embedded images are visual elements rendered on PDF pages. They're stored differently and extracted with different tools.
Are extracted files identical to the originals?
Yes. PDF attachments are stored as binary copies of the original file. Extraction recovers the exact file, byte-for-byte, with the original filename and format.

Ready to get started?

Use SublimePDF's free tools right now.

Open Tool