Extract Tables from a PDF to Excel, Free
Pull the tables out of a PDF and open them in Excel
Extract tables from PDF uses the same converter as PDF to Excel. It looks for tables on each page of a text-based PDF, both tables drawn with lines and tables whose text is only lined up in columns, and writes them into an .xlsx workbook. Each PDF page becomes one worksheet, so you can check a table against the page it came from.
Kinds of table it finds
- Ruled tables. Rows and columns drawn with lines. The lines define the cells, and the cells get thin borders in the workbook.
- Tables without lines. Text that is lined up in columns across several rows, such as a bank statement with date, description and amount columns. The columns are found from the positions of the text.
How to extract a table
- Press Open PDF to Excel above.
- Drop the PDF into the box, or press Choose files.
- Press Convert to Excel.
- Download the .xlsx file. It is named after the PDF.
- Open the workbook. The sheets are called Page 1, Page 2 and so on.
To extract tables from several PDFs at once, add them all. The results come back in one zip file named firepdf-batch.zip.
What you get in the workbook
- Each table row in its own spreadsheet row, and each column in its own spreadsheet column.
- Amounts stored as numbers. Amounts with a currency sign from the list ₹, Rs, INR, $, € or £, and percentages, keep a number format that matches the PDF.
- Codes with a leading zero, long ID numbers and negatives in brackets stay as text. Dates also stay as text.
- Pictures from the page, placed near where they appeared.
Tables that split or merge
- A table that runs over two pages is split across two sheets. Copy the rows from one sheet to the other to join them.
- In a table with no lines, columns that sit close together can merge into one column. Ruled tables are the most reliable.
- Text in a ruled cell that wraps onto several lines is kept in one cell and wrapped.
Scanned tables
A scanned table is a picture, so there is no table data to extract. Run OCR PDF on the scan first. Then convert the searchable PDF it produces. Use the converted file, not the original scan. OCR can misread digits, so compare the figures with the page image.
Check the extracted data
- Compare the number of rows and the first and last rows with the PDF.
- Add a SUM over an amount column and compare it with the printed total.
- Look for numbers aligned to the left. In ruled tables, numbers are aligned right, so a left-aligned number is more likely to be text.
- Check that a header that wraps over two lines has not become two separate rows.
Common problems and fixes
- “Nothing could be read from this PDF”. The file has no readable text or images. Check that it opens in a PDF viewer.
- “Something went wrong reading or writing that file”. One likely cause is a password-protected PDF. Unlock it with Unlock PDF first.
- Wrong columns. Column positions come from the text on the page. Ruled tables give the best result.
About the AI assistant
The site's AI assistant also has a Tables to Excel option. It is not used by this page. The assistant only appears when the site owner has connected an AI service, and when it is used, the text extracted from the PDF is sent to that service. The converter described here runs in your browser and does not send the file or its text anywhere.
When another tool is better
- You need the words, not the table layout: use Extract text from PDF.
- You want the table inside a Word document: use PDF to Word.
- The table is in a scan: use OCR PDF first.
Questions and answers
Can it read a scanned table?
Not directly. Run OCR PDF first, then extract the table from the searchable PDF. Check the figures afterwards, because OCR can misread digits.
Does the table need lines around it?
No. Ruled tables give the most reliable result, but tables with no lines work when the columns line up across rows. Check the columns in the result.
Why did a table split into two sheets?
Each PDF page becomes its own worksheet. A table that continues onto the next page appears on the next sheet.
Why is a number not a number?
The number probably uses a format the tool treats as text, such as brackets for a negative value or a comma as the decimal mark. Those cells are kept as text on purpose.
Privacy
Tables are read in your browser by the page's own script. This tool does not upload the PDF or its text to a FirePDF server. The PDF reading and spreadsheet libraries are loaded from cdnjs.cloudflare.com when the tool starts. Read the Privacy Policy and the Security page for details.
You may also need
See all FirePDF tools · ← Back to Home
