New Tool Radar

AI PDF

How to Extract Embedded Files from a PDF

List and extract the files embedded in a PDF, then verify each one opens before sharing it onward.

Schematic illustration of embedded files in a PDF: three attachments are listed and all three extract with their names intact and open cleanly.

Adobe’s extraction guide covers getting data out of a PDF into another format, and warns to compare extracted content with the original before reusing it. Embedded files are the same problem in a different form: a PDF can carry spreadsheets, images or other PDFs inside it.

Use the practice file

A practice document, practice-embedded.pdf. The file is fictional.

File Detail
Attachment 1 budget.xlsx, embedded spreadsheet
Attachment 2 diagram.png, embedded image
Attachment 3 notes.pdf, embedded PDF

The attachments list is the check item: the PDF carries three embedded files.

Extract the embedded files

Expected result. We checked the Adobe Acrobat and the Adobe Help. We did not run any tool. The checks below are what to expect if the work is done correctly; run them yourself on the practice file.

1. List the attachments

Open the PDF’s attachments panel and list what is embedded.

Expected result: Three files are listed: budget.xlsx, diagram.png and notes.pdf.

2. Extract the spreadsheet

Save budget.xlsx out of the PDF to a folder.

Expected result: The file saves and opens in a spreadsheet application.

3. Extract the image and the PDF

Save diagram.png and notes.pdf the same way.

Expected result: Both files save and open; the image shows the diagram and the PDF has its pages.

4. Check the names match

Compare the extracted filenames with the attachments list.

Expected result: All three filenames match exactly, with no renaming or truncation.

Verdict table

Check Expected result Pass?
List the attachments Three files are listed: budget.xlsx, diagram.png and notes.pdf. —
Extract the spreadsheet The file saves and opens in a spreadsheet application. —
Extract the image and the PDF Both files save and open; the image shows the diagram and the PDF has its pages. —
Check the names match All three filenames match exactly, with no renaming or truncation. —

Related guides: How to Extract OCR Text from a Scanned PDF into a Word Document — How to Convert a PDF to an Editable Word Document.

Limits

  • An attachment that extracts but does not open is not extracted; open every file, and check the filenames, because a truncated name can overwrite another file.
  • Extraction copies the text layer, not the page: layout, reading order and table structure can all shift, so verify values against the scan.
  • UNTESTED — no OCR tool was run; all results above are expected results. The practice file is fictional.

Sources

See all