Extract the attachments of a PDF
A PDF can be an envelope: Factur-X e-invoices embedding their XML, dossiers with incorporated spreadsheets or images, technical documents shipped with source files. The tool attempts to extract attachments from the embedded-file name list into a ZIP download, without sending the document to a service. Typical case: recovering the XML file of an e-invoice to feed your accounting, extracting the annexes of a dossier delivered as a single PDF. If the document embeds nothing, the tool says so clearly. For e-invoices, always extract the XML: that is the authoritative file for accounting integration — the PDF is only the readable rendering. The result is a ZIP download rather than a per-file selection screen. The extractor reads a direct EmbeddedFiles name list in the PDF catalog; it does not traverse every possible attachment structure. A PDF that visibly carries files in another reader may therefore need a different extraction tool. Names are reduced to their final path component and stripped of control characters before archiving. This is a filename safeguard, not a malware scan or a validation of invoice contents. The current implementation copies stored stream contents without decoding PDF stream filters, so compressed attachment streams are not guaranteed to emerge as usable original files. Open and verify recovered XML or spreadsheets before importing them into another system; preserve the source PDF as the reference. A successful ZIP download confirms that entries were found and packaged, not that an accounting system will accept their contents or that every attachment structure was covered.

FAQ
How are the files delivered?
Found entries are bundled into a ZIP with sanitized filenames. Stored PDF stream bytes are copied directly; filtered or compressed streams may need a different extractor to recover usable originals.
Are attachment names cleaned?
Yes — file names are sanitised before delivery, so a hostile embedded name cannot write outside the scope of the archive.
Does it also extract images inside pages?
No — that is a different job: Extract Images pulls the bitmaps displayed in the pages; this tool recovers files attached to the document.
What are the limits?
One PDF up to 50 MB and 1,000 pages — the embedded files themselves count toward the document weight.
Why does my reader not show the attachments?
Some lightweight viewers hide the attachments panel; extraction here works regardless — the files are read straight from the PDF structure.
What if the PDF has no attachments?
The tool says so clearly — nothing is lost or modified, the document simply has no embedded files.
Which files can be recovered?
The direct embedded-file list can contain XML, spreadsheets, images or other documents. Coverage is limited to that list structure, and compressed streams are not decoded by this implementation.
What is the XML of a Factur-X invoice?
Factur-X e-invoices are PDFs containing a structured XML file: the PDF for humans, the XML for accounting software. This tool recovers it.
Does extraction modify the document?
No — files are copied out of the PDF; the document stays intact with its attachments.
Is the PDF sent for extraction?
No — structure reading and extraction happen in your browser.
Are extracted attachments safe?
Extraction is not a malware scan. Treat recovered files as untrusted received attachments, and verify their contents before opening or importing them.
Can I extract all attachments at once?
Yes — the list shows every embedded file; extract them individually or all together.
How to proceed
- Drop your PDF into the download zone
- Run extraction of the embedded-file list
- Download the ZIP and verify recovered files before use
- Factur-X invoice? Always keep the XML alongside the PDF