Data Import & Export

Import All PDF Pages or Tables into Excel with Power Query

Aamir Naveed AkramAamir Naveed Akram Dec 2, 2026 869 views

Question details

Import data from many PDF pages or tables into Excel without selecting each item individually.

Import All PDF Pages or Tables into Excel with Power Query
Product
Microsoft Excel Power Query
Device & OS
not provided
Scenario
A PDF contains hundreds of pages with data that needs to be combined in an Excel worksheet.
Observed behavior
The user wants to access and combine the PDF pages or tables detected by Power Query in one import.
Before you start

Check that your Excel version offers Data > Get Data > From File > From PDF. Power Query must be able to detect the data in the PDF; scanned pages may need OCR before import.

Solution 1Recommended

Remove the Navigation step and expand the PDF data

Use this method to access all detected PDF pages and tables in a single Power Query.

1
Connect to the PDF

In Excel, select Data > Get Data > From File > From PDF, choose the PDF, and select Import.

2
Open Power Query Editor

In the Navigator, select any detected page or table, then click Transform Data.

3
Remove the Navigation step

In Query Settings under Applied Steps, click the X next to Navigation. The Source step will display the PDF's detected pages and tables.

4
Filter the detected items

Use the filter arrows on Kind or Name to keep the pages or tables you need. Avoid combining both page and table entries when they contain the same data.

5
Expand and load the data

Click the expand icon in the Data column, select the columns to include, and click OK. Review the results, then select Home > Close & Load to load them into Excel.

Remove the Navigation step and expand the PDF data
Check the combined results: Pages and tables with different layouts may need additional cleanup in Power Query. Removing Navigation can also affect later applied steps, so make this change before adding other transformations.
Free Microsoft Office alternative

Work with PDF and spreadsheet files in WPS Office

WPS Office is a free, lightweight alternative with a familiar interface for working with PDFs and spreadsheets. Its Microsoft Office format compatibility makes it easy to move existing files between applications. It does not replace Excel's Power Query PDF connector.

Open and work with PDF files alongside spreadsheetsCompatible with Microsoft Excel XLSX and XLS formatsFamiliar spreadsheet interface for an easier transition from ExcelFree and lightweight office suite
QA img-9

Frequently Asked Questions

Why does Power Query show only one PDF page after I select it?

Selecting an item in the Navigator creates a Navigation step for that item. In Power Query Editor, remove Navigation under Applied Steps to return to the Source list of detected pages and tables.

Should I import PDF pages or detected tables?

Filter the Kind column to choose the entries that best match your data. Preview them before expanding the Data column, and avoid importing both representations of the same content to prevent duplicates.

What if From PDF is not available in Excel?

Check Data > Get Data > From File for the From PDF option. If it is missing, your Excel version or platform may not support that connector.

Can Power Query extract tables from a scanned PDF?

A scanned PDF may contain images rather than selectable text, so Power Query may not detect its tables. Use OCR to make the text readable, then try Data > Get Data > From File > From PDF again.

How can I refresh the imported PDF data?

After loading the query, select Data > Refresh All in Excel. Keep the PDF accessible at the source location used by the query.