PDF to Excel
Pull tables out of a PDF into a spreadsheet.
Updated
Add your files
How to convert a PDF to Excel
- 1
Add one or more PDFs with a text layer.
- 2
Choose the Output, Excel (.xlsx) or CSV, and the Sheets: One sheet per page or Everything in one sheet. Under Pages keep "all" or list the pages that hold the tables.
- 3
Press Convert to Excel. Each PDF becomes one workbook, or one CSV file per sheet, and the result reminds you to check merged cells and multi-line rows.
- Use PDF to Word when the pages are prose rather than tables: it rebuilds paragraphs, headings and lists.
How columns are found
The text layer of each page is read with the position of every run of text. The left edges of all the runs are sorted and grouped: an edge within 12 points of the start of the last group joins it, and a wider gap starts a new column. Each line of text then becomes a row, and every run is placed in the column its left edge falls in, with runs that land in the same cell joined by a space. Columns that stay empty on every row are dropped.
Sheets, files and names
One sheet per page gives a sheet named "Page 3" for each page with content; a page with fewer than two lines of text is left out. Everything in one sheet stacks the pages in a sheet named "Extracted" with a blank row between pages. As CSV, each sheet becomes its own file, named after the PDF and the sheet. Every cell is written as text, numbers included. When several PDFs are converted with one page list, a file with no table-like content is skipped with a note and the others still convert.
What it cannot read
Only the text layer is used: a scanned PDF has none, so the tool reports that no table-like content was found. Run OCR PDF first and convert the searchable copy. Ruling lines, cell borders and colours are not read, so a column that is only visible by its border is found only if its text starts at an edge of its own. A cell whose text wraps onto a second line arrives as two rows, and a value centred in a wide column can open a column of its own.
Questions about PDF to Excel
Why did it say no table-like content was found?
The pages have no text layer to read: they are scans or photos. Run OCR PDF on the file first, then convert the searchable PDF it produces. The same message appears when the listed pages hold fewer than two lines of text each.
Why are there extra rows and columns?
Every line on the page becomes a row, including the heading above the table and the notes under it, and every distinct left edge opens a column. Delete the rows you do not need, and list only the pages with tables under Pages.
Are the numbers usable in formulas?
Not until you convert them: every cell is written as text, dates and amounts included, and a SUM over text cells comes to 0. Select the column and convert it to numbers in your spreadsheet program.
Advertisement
Related to PDF to Excel
- Excel to PDFTurn a spreadsheet into a readable PDF table.
- PDF to WordTurn a PDF into an editable .docx, with OCR for scanned pages.
More in File Converter
All 18 in File Converter- PDF to PowerPointTurn each PDF page into a slide.
- Combine files into one PDFMix PDFs, photos, Word, Excel, text and HTML files into a single PDF. Every page becomes a card you can reorder, rotate or drop before you export.
- JPG to PDFTurn photos and screenshots into a single PDF, in the order you choose.