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
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.
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.
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.
Download extracted files
Individual files download directly. When extracting multiple attachments, they're bundled into a ZIP archive with original filenames preserved.
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?
Can I extract attachments from encrypted PDFs?
What's the difference between attachments and embedded images?
Are extracted files identical to the originals?
Related Guides
How to Extract Images From PDF
PDFs often contain high-resolution photos, charts, diagrams, or logos that you need as standalone image files for presentations, websites, or design work. Manually screenshotting pages loses quality and wastes time. SublimePDF extracts every embedded image from a PDF at its original resolution, saving each one as a separate JPG or PNG.
How to Extract Tables From PDF
Tables in PDFs are notoriously difficult to extract because the PDF format doesn't store tabular structure — it positions individual text fragments on a page with no concept of rows, columns, or cells. Copy-pasting a PDF table into a spreadsheet produces a mangled mess of misaligned data. SublimePDF uses intelligent layout analysis to detect table boundaries, reconstruct row/column structure, and export clean tabular data to Excel, CSV, or other formats.
How to Extract Data From Invoices
Processing invoices manually — reading each PDF, finding the vendor name, invoice number, date, line items, and total, then entering it all into accounting software — is one of the most time-consuming accounts payable tasks. Invoice data extraction uses intelligent document analysis to automatically identify and pull structured data from invoice PDFs, regardless of layout differences between vendors. SublimePDF reads invoices and outputs clean, structured data ready for your accounting system.