Skip to content
hateitall

PDF Attachment Extractor

Get the spreadsheet, XML invoice or document hidden inside a PDF without needing Acrobat's attachment panel.

Processed locallyIn: PDFOut: Original files, ZIP

Loading tool…

How to use pdf attachment extractor

  1. Drop the PDF, and enter its password if it asks for one.

  2. See every embedded file with its name, type, size and where it is attached.

  3. Save single files, or download them all together as a ZIP.

What this tool does

  • Finds document-level attachments and files pinned to a page as attachment annotations.
  • Extracts ZUGFeRD and Factur-X invoice XML and PDF portfolio contents.
  • Warns about attachments that can run code, such as programs and macro documents.
  • Opens password-protected PDFs when you supply the password.

How the result is verified

Attachments are decoded by pdf.js from the file's embedded file streams; the byte size shown is the size of the file you save.

Frequently asked questions

Where is the XML in a ZUGFeRD or Factur-X invoice?

It is an embedded file, usually named factur-x.xml or zugferd-invoice.xml. Drop the invoice PDF here and save it.

Is it safe to open the extracted files?

Treat them like any email attachment. Files marked as able to run code should only be opened if you trust the sender.

Is my data uploaded to a server?

No. Everything you drop, paste or type is processed by code running in this browser tab. You can check it yourself: open your browser's developer tools, watch the Network panel, and use the tool. No request carries your data.

Pages, fonts, images, annotations, forms, attachments, scripts and layers

PDF→ TextLight on device

Scan a PDF's internal structure for embedded images, preview them per page, and save the ones you want as PNG or a zip.

PDF→ PNGModerate on device

Extract page ranges, split into fixed-size chunks, or save every page separately. ZIP output with manifest.

PDF→ PDFModerate on device