Quick answer: If you can select text in the PDF, start in Excel for Windows with Data → Get Data → From File → From PDF, pick the table in Navigator, then Load or Transform Data. On a Mac, or if you only need one table, Adobe Acrobat can export the file or a selection to an Excel workbook. If you cannot select any text, the file is a scan — follow How to extract tables from a scanned PDF first.
A PDF can look like a spreadsheet and still be a poor source for one. Some files store real text and drawn lines; others are only a picture of a page. The first group can be imported. The second group needs optical character recognition (OCR) before any of the steps below will return rows.
This guide is for a text-based PDF: a report, a price list, a form, or a statement whose words you can highlight. If the file is a bank statement, read How to convert a bank statement PDF to CSV or Excel as well — that article starts with the bank’s own CSV export and with keeping the file on your computer.
Tell a text-based PDF from a scanned one
Open the file in any PDF reader and try to select a word in the table.
- The letters highlight, and you can copy them. The file has a text layer. Continue with this guide.
- The cursor draws a box around the whole page, or nothing highlights. The page is an image. Excel’s From PDF command and a simple copy-paste have no characters to read. Use the scanned-PDF guide.
- Some pages select and others do not. Mixed files are common: a typed report with a scanned appendix, or a digital statement with a photo of a cheque. Treat each page by what it actually is, rather than by the file name.
A phone photo saved as a PDF is a scan, even if the original paper was a printed table. Zoom in: if the “text” is made of pixels, you need OCR.
Import the table with Excel’s From PDF command (Windows)
Microsoft’s Power Query PDF connector can list tables it finds in a PDF and load them into Excel. On a Windows PC, this is the shortest path when you already work in a workbook and the file is on your disk.
Microsoft’s Power Query data-sources list includes a PDF connector for Excel on Windows (it notes that the connector requires .NET Framework 4.5 or later). The same list for Excel for Microsoft 365 for Mac does not include PDF. Excel for the web is also not the place to point at a random file on your desktop; the web sources table covers cloud locations such as SharePoint files, not a local From PDF button.
In Excel for Windows:
- Open a workbook and go to the Data tab.
- Choose Get Data → From File → From PDF.
- Browse to the file and open it.
- In Navigator, select a table and look at the preview. A single PDF can contain several detected tables: a summary box on page 1, the main grid, a footer of totals. Pick the one that matches the table you want, or hold Ctrl and select more than one.
- If the preview already looks right, click Load. If headers, types, or extra rows need work, click Transform Data and clean the query first.
In Power Query Editor, these steps come up often:
- Use First Row as Headers when the column names arrived as ordinary data.
- Remove the blank rows or repeated page-header rows that a multi-page table sometimes inserts between pages.
- Set each column’s data type yourself: date, decimal number, or text. IDs, SKUs, and values with leading zeros should stay text, or Excel may drop the zeros or treat a long digit string as a number. Microsoft documents that Excel stores numbers with 15 significant digits and that leading zeros disappear once a value is converted to a number.
- When a description wrapped onto a second line and became an almost-empty row, Microsoft’s PDF connector notes suggest cleanup such as Table.FillDown or grouping adjacent rows. You can also fix a short table by hand after Close & Load.
The connector has an option, MultiPageTables, that is on by default: similar tables on consecutive pages are combined into one. A first page that is only an account summary, or a last page of legal notes, is not “similar,” so you may still get more than one table to append yourself.
The PDF is not converted into a live link back to the original layout. What you get is a query you can refresh if the *file* on disk changes. If someone sends a new PDF, point the query at the new file or replace the old one in the same path.
From PDF does not OCR a scanned page. If Navigator is empty, or every preview is blank, go back to the select-text test. A file that looks sharp on screen can still be only an image.
Export from Adobe Acrobat
If you have Adobe Acrobat (the paid desktop app, not Acrobat Reader alone), you can turn the PDF into an .xlsx workbook without going through Excel’s Navigator.
To convert the whole file:
- Open the PDF in Acrobat and choose Convert from the top bar (or All tools → Export a PDF).
- Select Microsoft Excel, then XLSX.
- Optionally open Settings. Acrobat lets you create a worksheet for each table, for each page, or for the entire document, and it can run text recognition if the file contains image text. If the file is a scan, run OCR properly first, as described in the scanned-PDF guide.
- Click Convert to XLSX, choose a folder, and save.
To export only the table you care about, Adobe’s export help documents a selection path: use the Select tool, mark the content, right-click, and choose Export Selection As. Supported formats include Excel workbooks (.xlsx) and CSV. That is useful when the rest of the PDF is narrative text you do not want in the sheet.
Acrobat is a local application when you use the desktop export. Online conversion tools are a different matter: they receive a copy of the file. For a public price list that may not matter. For anything with personal or financial data, keep the work on your computer and see the privacy notes in the bank statement guide.
After Acrobat writes an .xlsx file, open it and check the grid: merged header cells, numbers stored as text, and columns that shifted after a page break are all common. Fix them in Excel, then save the workbook.
Copy and paste, then clean the grid
For a short, simple table, you can still copy from the PDF and paste into Excel.
- Select the table in your PDF reader and copy it.
- Click a cell in Excel and paste.
- Look at the result before you do anything else.
A clean three-column table sometimes lands in the right cells. More often you will see one of these:
- Every row is correct, but a blank row sits between each line.
- Two columns have been squeezed into one, or a wrapped line in a cell has become a new row.
- The header row is merged, so Sort and filters will not work until you unmerge it and copy the real column names into a single row.
When the paste is close, delete blank rows, use Text to Columns if two fields arrived in one cell, and set types as you would after a From PDF import. When the paste is a jumble, do not spend half an hour dragging cells — switch to From PDF or an Acrobat export. Copy-paste has no notion of the table’s ruling lines; it only puts clipboard text into cells.
If you use Excel for Mac, or you want a local open-source tool
Because Excel for Mac’s Power Query list does not include From PDF, Mac users usually take one of these routes:
- Export from Adobe Acrobat to
.xlsxor CSV, then open the result in Excel. - Copy and paste for a very small table, then clean it.
- Use a desktop tool that reads text-based PDFs and writes CSV or Excel.
Tabula is a free, open-source desktop app built for this job. You open it on your computer, load a PDF, draw a box around the table, preview the rows, and export CSV or a spreadsheet. It runs locally (the interface is a page at http://localhost:8080 on your machine). Tabula’s own documentation is clear about a hard limit: it only works on text-based PDFs, not scanned documents. Windows and Linux also need Java; the Mac download includes it.
After Tabula (or Acrobat) writes a CSV, do not double-click the file and hope Excel guesses correctly. Use Data → From Text/CSV, check the delimiter, and set column types in the preview, as Microsoft’s import help describes. That is the same habit that preserves leading zeros and avoids swapping day and month in a date.
Python libraries can extract tables from text PDFs as well, but they are a separate workflow and still fail on scans until you add OCR. For a one-off file, Excel, Acrobat, or Tabula is enough.
After the table is in Excel
Whatever path you used, the workbook is not finished until you have checked it against the PDF.
- Confirm the number of data rows. A multi-page table is where rows go missing or a page header is imported as a transaction.
- Check a few numeric cells against the PDF, especially totals and any figure that contains a decimal point or a thousands separator.
- Put real dates in a date column. A value such as “Mar 04” with no year will not sort with the rest of your data until you add the year from the document’s title or footer.
- Keep long IDs as text. If Excel has already shown
123456789012345678as1.23457E+17, or turned00123into123, a format change will not put the missing digits back. Import that column again as text. - Save a
.xlsxworkbook as your working copy. If you also need a CSV for another program, use File → Save As and choose a CSV type. Excel will remind you that only the current sheet is written, and that some workbook features cannot live in a text file. If the CSV will be opened on Windows and contains non-English text, prefer a UTF-8 export and open it through From Text/CSV, not by double-clicking; Microsoft explains that a UTF-8 file without a byte order mark can otherwise be misread.
If the file is a bank or card statement, do one more check: opening balance plus credits minus debits should match the closing balance printed on the statement. The bank statement guide walks through that arithmetic and through why a bank’s own CSV download is a better starting point than the PDF.
Which method should you use?
| Situation | Start with |
|---|---|
| Text-based PDF, Excel for Windows, one or more tables | Data → Get Data → From File → From PDF, then Transform Data if needed |
| Text-based PDF, you have Adobe Acrobat | Convert to XLSX, or Export Selection As for one table |
| Text-based PDF, Excel for Mac, no Acrobat | Tabula locally, then From Text/CSV in Excel |
| A short, simple table and a clean copy | Copy and paste, then delete blank rows |
| You cannot select any text in the table | Extract tables from a scanned PDF |
| The PDF is a bank or card statement | Convert a bank statement PDF to CSV or Excel |
Frequently asked questions
Why is From PDF missing in Excel on my Mac?
Microsoft’s published list of Power Query sources for Excel for Microsoft 365 for Mac does not include the PDF connector. That is a product difference, not a hidden setting. Export the table with Acrobat or Tabula, then open the spreadsheet or import the CSV.
Does Excel From PDF work on a scanned file?
No. The connector reads text in the PDF. A scanned page has no text layer, so Navigator is empty or useless. Run OCR first, or use Data from Picture on a screenshot, as the scanned-PDF guide describes.
Can I convert a PDF table to Excel without installing extra software?
If you already have Excel for Windows, From PDF is built in (with the .NET requirement Microsoft notes). A simple copy and paste needs only a PDF reader and Excel, but it often needs manual cleanup. Acrobat and Tabula are optional, not required, for every file.
How do I get a CSV instead of an Excel workbook?
Import or export to a clean sheet first, then use File → Save As and choose a CSV format. Acrobat can also export a selection as CSV. Import that CSV later with Data → From Text/CSV so you control encoding and column types.
Will the columns always match the PDF?
Not always. Merged header cells, tables that span pages, and text that wraps inside a cell are the usual failure points. Check the preview, and compare the first and last rows plus the totals with the original pages.
Is this affiliated with Microsoft or Adobe?
No. “Excel,” “From PDF,” “Power Query,” and “Adobe Acrobat” here mean the documented applications and features of those products.