PDF Attachment Extractor

Drop a PDF to see the files hidden inside it – invoices as XML, spreadsheets, photos – and save each one exactly as it was stored.

Drag & drop a file here, or

PDF Up to 200 MB • Processed in browser • Nothing leaves your device

Runs in your browser

Every Hiding Place

The attachment list, PDF/A-3 associated files and paperclip pins on pages are all searched. A file reached twice is listed once.

Invoice XML Out

Factur-X and ZUGFeRD invoices carry their data as XML inside the PDF. It is named with its profile and saved as it is.

Privacy-First

The PDF is read in your browser. Nothing is uploaded or stored. For the PDF's own author and dates, use the PDF Metadata Remover.

Advertisement

How it works

Where PDFs keep attached files

A PDF can carry whole files inside it. Most sit in the document's attachment list; PDF/A-3 archives and e-invoices also link them as associated files; some are pinned to a page as a paperclip note. This tool looks in all three places and lists each file once.

Factur-X and ZUGFeRD invoices

These hybrid invoices are a normal PDF for people plus an XML file for accounting software, usually called factur-x.xml or zugferd-invoice.xml. The page names the XML, its syntax (CII or UBL) and the profile written in the PDF, so you can hand the XML to your bookkeeping. It does not check that the invoice is valid.

Size and checksum compared

Many PDF writers record each attachment's size and an MD5 checksum. Both are compared with the bytes actually stored, and a mismatch is shown next to the file rather than hidden – a sign the PDF was damaged or edited.

What it cannot open

A password-protected PDF is refused, because its attachments are encrypted too. A file stored with an unusual encoding is listed with the encoding named, and a file that is only referenced, not stored, is marked as living elsewhere. Names with folder paths are cut to the file name.

Frequently Asked Questions

How do I get an attachment out of a PDF?

Drop the PDF here. Every file stored inside it is listed with its size and type; press Download next to one, or Download all to get them in one ZIP.

How do I extract the XML from a Factur-X or ZUGFeRD invoice?

Drop the invoice PDF. The XML is listed, usually as factur-x.xml or zugferd-invoice.xml, with its profile, and Download saves it unchanged. Scanly does not check whether the invoice itself is valid.

Why does my PDF show no attachments?

Most PDFs carry none. Pictures on a page are not attachments – for those use Extract Images from PDF. If a viewer shows a paperclip and this page finds nothing, the file may only be referenced, and the page says so when it can see the reference.

What does "size does not match" mean?

The PDF records how large each attached file should be, and sometimes an MD5 checksum. When the stored bytes differ, the file may have been damaged or the PDF edited. You can still download it.

Is it safe to open the files?

Scanly saves the files exactly as stored and never opens or runs them. A PDF from someone you do not know can carry anything, so treat an unexpected program or macro document with care.

Is my PDF uploaded?

No. The PDF is read in your browser and the files are saved straight from it. Nothing is sent to a server, and closing the tab discards it.