How to Extract Data from Multiple PDFs into One Excel Sheet

Power Query, PDF converters, table extractors, or AI: which method works when your PDFs share a layout, when they don’t, and when some are scans. Includes a worked example with 80 supplier contracts.

You have a folder of PDFs and you need one spreadsheet. Maybe it's 80 supplier contracts and legal wants every renewal date in one place. Maybe it's a year of lab reports, insurance certificates, or property listings. Either way, you want the same few facts from every file, one row per document, without opening each PDF and copying values across by hand.

Which method works depends on your PDFs, not on which tool is most popular. This guide starts with three questions that point you to the right method, then covers each method, including when the free one is enough.

Start with your PDFs, not the tool

Look at a handful of the files and answer three questions:

  1. Do they all share the same layout? Monthly statements from one bank or reports exported from one system usually do. Contracts, certificates, and anything from many different senders don't.
  2. Are they digital or scanned? If you can select text in the PDF viewer, it's digital. If the page behaves like a photo, it's a scan and needs OCR.
  3. Do you need a table or a set of facts? A table means copying every row of a printed table into the sheet. A set of facts means the same handful of values from each document, such as counterparty, start date, and amount.
Your PDFsUse
Same layout, digital, you want the tablesExcel Power Query (free)
A few files, you want each one as a workbookA PDF-to-Excel converter
One long table per file, every row neededA table extractor such as Tabula
Mixed layouts or scans, you want the same facts from eachAI extraction into your own columns

Method 1: Excel Power Query (From Folder)

If your PDFs come from one system and look identical, start here. It's free if you already have Excel for Microsoft 365 on Windows, and once it's set up, a refresh picks up new files dropped into the folder.

  1. Put all the PDFs in one folder, with nothing else in it.
  2. In Excel, go to Data → Get Data → From File → From Folder and select the folder.
  3. Choose Combine → Combine & Transform Data.
  4. Pick the table or page from the sample file that holds your data. Power Query applies the same step to every other file.
  5. Clean up columns in the Power Query editor, then Close & Load.

The limits show up as soon as the files stop looking alike. Power Query finds tables by position, so a PDF where the table starts on page two, or has an extra column, breaks the combine step or quietly shifts values into the wrong columns. It has no OCR, so scans come back empty. And it only returns table cells. A value that sits in a paragraph, like "this agreement renews automatically unless terminated with 60 days' notice", isn't in any table, so Power Query can't reach it.

Method 2: PDF-to-Excel converters

Adobe Acrobat's Export PDF, Smallpdf, and similar tools turn a PDF into an Excel workbook that mirrors the page. Some handle scans, and some can convert several files in one go. For a handful of documents where you want to see everything on the page, they're quick and easy.

The catch is in the name: they convert files, they don't combine them. Eighty PDFs become eighty workbooks, each shaped like its source, and you still have to find the right cell in each one and copy it into a master sheet. Converters solve the reading part, but the copying is still on you.

Method 3: Table extractors

Sometimes you really do want every row of a printed table, like each transaction on a bank statement or each item on a price list. Tabula is a free, open-source tool built for exactly this. You draw a box around the table, and it exports the rows to CSV. It works on digital PDFs only, and you'll still merge the CSVs yourself, but for one long table per file, the output is exactly what you want.

Method 4: AI extraction into your own columns

When the files differ, or the values you need sit in the text rather than in tables, a different approach works better. Instead of asking where a value sits on the page, you describe the value, and the AI reads each document and finds it. This is how FilesToRows works: you upload the whole folder, define the columns in plain language, and download one Excel or CSV file with one row per document.

There's nothing to set up per layout. You don't build a template, draw zones on a sample page, or train the tool on examples. A column is a sentence, like "the date this contract ends", and a contract from a supplier you've never dealt with goes through the same columns as the rest.

Worked example: 80 supplier contracts

Say procurement has 80 supplier agreements in a shared drive. About 60 are digital PDFs, a dozen are scans of signed paper copies, and a few are Word documents nobody converted. Each supplier used its own template. Legal wants a register showing who each contract is with, when it ends, whether it renews on its own, and how much notice is needed to get out of it.

Each column has a name and an extraction prompt that says exactly what belongs in the cell. The prompts are written the way you'd brief a colleague, with no special syntax:

Column nameExtraction prompt
SupplierLegal name of the supplier or service provider (not our company)
Contract typeOne of: Services, Software, Supply, Lease, NDA, Other
Start dateEffective date in YYYY-MM-DD
End dateExpiry date of the current term in YYYY-MM-DD; if only a duration is given, calculate it from the start date
Auto-renewsYes if the contract renews automatically, No if not, empty if it doesn't say
Notice period (days)Days of notice required to terminate or prevent renewal, as a number. Convert months to days (1 month = 30)
Annual valueYearly contract value as a number without currency symbol; empty if not stated
Governing lawCountry or state whose law governs the contract

Upload the folder as is. PDFs, scans, Word files, and images can go in the same batch, and scanned pages go through OCR automatically. A file name column is added automatically as the first column, so every row points back to its source document. Part of the result:

File nameSupplierTypeEnd dateAuto-renewsNotice (days)Annual value
msa-harbor-cloud.pdfHarbor Cloud Services LtdSoftware2027-03-31Yes9048000
scan_0017.pdfKestrel Cleaning Co.Services2026-12-31Yes3018600
lease-unit-4b.docxOakline Properties LLCLease2029-06-30No18072000
nda-brightpath.pdfBrightPath AnalyticsNDA2028-01-15empty30empty

Illustrative example with fictional suppliers. Start date and governing law columns are omitted for width.

Sort by end date and the cleaning contract stands out: it auto-renews at the end of December with 30 days' notice, so the deadline to cancel it is the start of December. That's the kind of thing a contract register is for, and nobody had to read 80 agreements to find it. Notice the blanks too. When a document doesn't state a value, the cell stays empty instead of being filled with a guess.

Save the column setup, and next quarter's new contracts go through it in a couple of minutes.

What it doesn't do

  • One row per file. Each document becomes one row, so a single PDF holding five scanned contracts comes back as one row. Split combined scans before uploading.
  • Not for long tables. Each cell holds one value. You can collect a short list into one cell ("all named contacts, separated by semicolons"), but if you need every transaction on a statement as its own row, a table extractor is the better tool.
  • It still needs a review. Accuracy is high on clean documents and lower on faded scans and handwriting. Treat the sheet as a draft and check it before you rely on it.

Column prompts that work across different layouts

  • Fix the format. Ask for dates as YYYY-MM-DD and numbers without currency symbols, so Excel can sort and sum straight away.
  • Name the party. Most documents mention two organizations. Say which one you want, or you'll sometimes get your own company's name.
  • Use fixed options for categories. "One of: Services, Software, Supply" gives you a column you can filter. "What kind of contract is it?" gives you 80 slightly different answers.
  • Say what "missing" looks like. Tell the column to stay empty when a value isn't stated, so a missing value doesn't show up as a guess.
  • Let it do light math. "Calculate the end date from the start date and term" or "convert months to days" saves a formula column later.

Checking a sheet built from many PDFs

  1. Sort every column and look at both ends. Blanks, impossible dates, and outliers surface immediately.
  2. Count the blanks per column. A column that's empty in half the rows usually means the prompt needs rewording, not that the documents are missing the data.
  3. Spot-check the scans. Open five rows that came from scanned files and compare them with the originals. The file name column takes you to the source.
  4. Check totals where you can. If a number column should add up to a known figure, sum it and compare.

Try it on your own folder

Pick ten PDFs from your folder, including the worst scan and the file with the oddest layout, and run them through FilesToRows. You can try it without an account, and a free account adds 20 pages. Those ten will tell you what to expect from the rest.

For walkthroughs of specific document types, see extracting data from multiple invoices into Excel and parsing resumes into a screening spreadsheet.

Frequently asked questions

Can Excel combine data from multiple PDFs by itself?

Yes, if the PDFs are digital and share the same layout. In Excel for Microsoft 365 on Windows, Data > Get Data > From File > From Folder can combine a table from every PDF in a folder. It has no OCR and only returns table cells, so scans, mixed layouts, and values written in running text need a different method.

Does it work with scanned PDFs?

Yes. Scanned PDFs and images (JPG, PNG, TIFF, HEIC) go through OCR automatically and can be mixed with digital PDFs and Word files in one batch. Accuracy depends on scan quality, so spot-check rows that came from faded or skewed pages.

How many PDFs can I process at once?

Up to 500 files in one run, each up to 10 MB. Larger folders can be split across several runs using the same saved columns.

What about password-protected PDFs?

Remove the password before uploading. A PDF that needs a password to open can’t be read, so it won’t produce a row.

What if one PDF contains several documents?

Each file becomes one row, so a PDF holding several scanned documents returns one row. Split it into separate files before uploading.

Can I download the result as CSV instead of Excel?

Yes. The result downloads as either an Excel file (.xlsx) or a CSV, which imports into Google Sheets, databases, and most business software.

How much does it cost?

Processing is billed per page: one page of a document uses one credit. You can try it without an account, and a free account adds 20 pages.