Home › PDF Tools › Extract PDF Attachments

Extract PDF Attachments

PDFs can carry other files inside them: spreadsheets, source data, XML invoice data or images. Open a PDF to list every embedded file with its size and description, preview it and download it, or grab everything as one ZIP.

Last updated:

Advertisement
Advertisement

How to use the Extract PDF Attachments

  1. Open your PDF by dropping it into the box or clicking to choose it.
  2. Review the list of embedded files, with size, type, description and where each one was found.
  3. Press Preview to look inside images and text files without saving them.
  4. Press Download next to a file to save it, or Download all as ZIP to save everything at once.

Where PDF attachments live

KindWhere it is storedHow readers show it
Document attachmentThe EmbeddedFiles name tree in the document catalogAttachments panel or paperclip sidebar
Associated file (PDF/A-3)The AF array, used by archives and e-invoices to link source dataAttachments panel
File attachment commentA FileAttachment annotation on a specific pageA paperclip, pin or tag icon on the page
PDF portfolioA collection of embedded files with a cover pageA file browser view instead of normal pages

Each embedded file is stored as a compressed stream together with its file name, an optional description, a MIME type and creation or modification dates. This tool decompresses the stream and gives you back the original bytes, so the extracted file is identical to the one that was attached.

Common files found inside PDFs

  • E-invoice XML. ZUGFeRD and Factur-X invoices embed a structured XML file next to the visible invoice, typically called factur-x.xml. Convert it with XML to JSON if you need the data in another format.
  • Spreadsheets and source data. Reports often attach the Excel or CSV file behind their charts.
  • Original documents. Archived PDF/A-3 files may carry the Word or CAD source they were made from.
  • Bundled packages. Portfolios combine several PDFs, images or ZIP archives in one file. Open a ZIP attachment with Unzip Files.

Attachments can contain any type of file. Treat executables, scripts and macro-enabled Office files from unknown senders with care, and scan them before opening.

Frequently asked questions

What are PDF attachments?

A PDF can contain complete files inside it. Document-level attachments appear in the Attachments panel of a PDF reader, while file attachment comments are shown as a paperclip or pin icon on a page. Both kinds are listed by this tool.

How do I get the attached files out of a PDF?

Drop the PDF into the box above. Every embedded file is listed with a Download button, and Download all as ZIP saves them together. The files are extracted exactly as they were stored.

Why does my PDF show no attachments?

Most PDFs do not contain any. Images and text that are part of the pages are not attachments; use Extract Images from PDF or PDF to Text for those. Links to files on the web are not attachments either.

Can I extract the XML from an e-invoice PDF?

Yes. ZUGFeRD, Factur-X and XRechnung hybrid invoices store their machine-readable data as an embedded XML file, often named factur-x.xml or zugferd-invoice.xml. It appears in the list and can be previewed and downloaded.

Are attachments safe to open?

Attachments are ordinary files and can contain anything, including executables or macros. The tool never runs them. Only open attachments from PDFs you trust, and scan unknown files with antivirus software.

Does it work with password-protected PDFs?

PDFs that only restrict printing or editing usually work. PDFs that need a password to open must be unlocked first.

Is my PDF uploaded?

No. The PDF is read in your browser with JavaScript, so the document and its attachments never leave your device.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Extract Images from PDFPull every embedded photo and graphic out of a PDF as PNG or JPG, or save pages as images.Extract Links from PDFList every hyperlink and URL in a PDF with page numbers; copy them or export as CSV.PDF Metadata EditorView and edit a PDF's title, author, subject, keywords and dates, or clear them all.Unzip FilesOpen and extract ZIP files online.Merge PDFCombine several PDF files into one document.Compress PDFReduce PDF file size while keeping it readable.Protect PDF with PasswordLock a PDF with a password and AES-256 encryption, and restrict printing, copying or editing.Unlock PDFRemove the password and print, copy or edit restrictions from a PDF you have the password for.Split PDFExtract pages or split a PDF into separate files.Delete PDF PagesRemove pages from a PDF using a visual thumbnail grid.Rotate PDFRotate one page or all pages of a PDF by 90, 180 or 270 degrees.Add Page Numbers to PDFNumber PDF pages with your choice of position, format and font.Watermark PDFStamp a text or logo watermark on PDF pages with custom opacity.Sign PDFDraw, type or upload a signature and place it on any PDF page, free and private.Fill PDF FormFill in PDF form fields online: text boxes, checkboxes, radio buttons and dropdowns.Flatten PDFFlatten PDF form fields and annotations into the page so they can no longer be edited.Grayscale PDFConvert a color PDF to grayscale or pure black and white for printing, right in your browser.PDF ViewerOpen and read PDF files in your browser with zoom, search, thumbnails and fullscreen.PDF Word CounterCount words, characters and lines in a PDF, page by page, with top words and CSV export.Organize PDFReorder, rotate, delete and duplicate PDF pages with drag-and-drop thumbnails.Crop PDFTrim PDF margins by dragging a crop box on the page, for all pages or selected ones.Resize PDFChange PDF page size to A4, Letter, Legal, A3 or custom and scale content to fit.Redact PDFBlack out names, numbers and any text in a PDF for real: the hidden text is removed, not covered.PDF EditorAdd text, whiteout, shapes, images and drawings to any PDF page, then save a new PDF.Compare PDFCompare two PDF files and see added, removed and changed text side by side, page by page.Insert Pages into PDFInsert blank pages or pages from another PDF anywhere in your document, privately in your browser.PDF Page CounterCount the pages of many PDFs at once, with totals, page sizes and a CSV export.Add Header and Footer to PDFAdd header and footer text with page numbers, date and file name to every PDF page.Invert PDF ColorsTurn a PDF into dark mode: invert colors, keep hues or use a night sepia theme for easy reading.PDF N-UpPrint 2, 4, 6, 9 or 16 PDF pages per sheet with your own order, margins and borders.PDF Booklet MakerTurn a PDF into a print-ready folded booklet: pages imposed 2 per sheet in saddle-stitch order.Add Stamp to PDFStamp APPROVED, PAID, DRAFT or custom text with a date onto any PDF page.Remove Blank Pages from PDFFind and delete empty or near-blank pages in a PDF automatically.Add Bookmarks to PDFAdd, edit and nest PDF bookmarks (outline) or auto-generate them from headings, in your browser.Add Margins to PDFAdd white space margins or a binding gutter to PDF pages, enlarging pages or scaling to fit.Alternate Merge PDFInterleave two PDFs page by page, e.g. scanned fronts and backs, into one combined file.Bates Numbering PDFStamp sequential Bates numbers on one or many PDFs, numbered continuously across files.Change PDF Background ColorGive PDF pages a sepia, cream, pastel or custom background color behind the text.Remove Annotations from PDFStrip comments, highlights, sticky notes and drawings from a PDF, with counts per page.Repair PDFFix damaged or corrupted PDF files: rebuild the xref table and recover readable pages.Reverse PDF Page OrderFlip the page order of one or many PDFs in one click, with a thumbnail preview.Split PDF Pages in HalfCut each PDF page into two pages, left/right or top/bottom, ideal for scanned book spreads.Savings Tracker PrintableColor-in savings goal tracker: jar, grid or thermometer for any goal and amount per cell. Print PDF.Book Interior FormatterTurn a manuscript into a print-ready 6x9 (or any trim size) book PDF with gutters, headers and page numbers.Book Spine Width CalculatorSpine width and full cover size with bleed from page count, paper type and trim size.Mail Merge to PDFMerge a {{field}} letter template with CSV or Excel rows into personalized PDFs, combined or zipped.Check Register PrintablePrint a blank check register or fill one in online with an automatic running balance.Debt Payoff Tracker PrintableTurn your debts into a printable snowball or avalanche coloring tracker with a payoff date.Time Off Request FormMake a PTO request form with dates, leave type, hours and approval, as a fillable PDF.Create Fillable PDF FormTurn any PDF into a fillable form: add text fields, checkboxes, radio buttons and dropdowns.Extract Highlights from PDFPull highlighted text and comments out of a PDF with page numbers; export to Markdown, TXT or CSV.PDF to Speech ReaderListen to any PDF read aloud with your browser's voices, with speed control and highlighting.
See all 51 Edit & Organize PDF →