How to Extract Tables From a PDF Into Excel
A bank statement, an invoice register, a research dataset — trapped inside a PDF as a pretty table you cannot sort, filter, or sum. Copy-paste turns it into a mangled mess of misaligned text. Here is how to pull tables out of PDFs into Excel properly, without retyping a single cell.
Why copy-paste breaks PDF tables
It feels like it should work: select the table, copy, paste into Excel. Instead you get one column of jumbled text, numbers glued to labels, and rows in the wrong order. The reason is structural: a PDF has no concept of a "table."
A PDF page is a canvas with text fragments placed at precise coordinates — "put 'Total' at x=120, y=340." The visual gridlines you see are just drawn lines, not cell borders. When you copy, the clipboard receives text in reading order with no column information, so Excel has to guess where columns break — and it guesses wrong.
Spreadsheets, by contrast, are pure structure: rows and columns with values in cells. Bridging that gap requires actually detecting the table's geometry — which is exactly what an extraction tool does.
Extract tables to Excel in 4 steps
- Open the extraction tool. Go to PDF Tools → PDF to CSV. The tool reads your PDF's text layout in your browser and converts tables to CSV — a format Excel opens natively. No sign-up, nothing uploaded.
- Upload your PDF and extract. Drop in the file and run the extraction. Each detected table becomes CSV rows and columns, preserving the original cell arrangement as closely as the PDF's layout allows.
- Open in Excel or Google Sheets. In Excel: File → Open → select the CSV, and the Text Import Wizard will preview the columns (choose "Delimited" and comma). In Google Sheets: File → Import → Upload the CSV. Your table appears as a real spreadsheet.
- Save as .xlsx. Once it looks right, save in Excel's native format so your cleanup work (below) is preserved.
Cleanup tips: from raw extract to clean spreadsheet
Fix merged and split headers
Multi-line headers ("Total / Amount / USD" stacked in one cell) often land in a single cell or spill across rows. Manually split them into one header row — five minutes of tidying here saves hours of formula confusion later.
Watch for numbers stored as text
Extracted figures sometimes arrive as text ("1,234.56" with a comma, or with a trailing space). Excel won't sum text. Select the column, use Find & Replace to strip commas if needed, then Format → Number. A quick SUM check at the bottom confirms everything converted.
Delete decorative rows
Page headers, footers, "continued on next page" lines, and repeated column titles from each page all extract as data rows. Filter the sheet and delete them in bulk rather than one by one.
Rebuild merged cells
Cells that spanned multiple columns in the PDF (like a section title across the whole table) usually land in the first column only. Re-merge them in Excel for readability — select the cells, Merge & Center.
Verify against the original
Always spot-check: compare row counts and a few totals against the PDF. Extraction is very good but not infallible, especially with unusual layouts. Trust, then verify.
When extraction struggles
Scanned PDFs. If the "table" is a photo of a table (a scan), there is no text to extract. Run the file through an OCR tool first to make the text real, then extract.
Borderless tables. Tables without visible gridlines are harder to detect — the tool must infer columns from spacing. Results are usually still usable but need more cleanup.
Rotated or complex layouts. Landscape tables, nested tables, and multi-column page layouts confuse most extractors. For these, extracting one page at a time gives cleaner results than whole-document extraction.
Frequently asked questions
Is extracting tables from PDF free?
Yes — our PDF to CSV tool is free with no account and no page limits. Many desktop tools charge for this exact feature.
Why not extract directly to .xlsx instead of CSV?
CSV is the universal interchange format — every spreadsheet app opens it, and it carries no formatting surprises. Once in Excel or Sheets, save as .xlsx in one click. The two-step route is actually more reliable than direct xlsx generation.
Will formulas and formatting come across?
No — PDFs don't contain formulas, only the displayed values. You'll get the numbers and text; formatting and formulas must be rebuilt in Excel. That's inherent to the PDF format, not a tool limitation.
Can I extract from a password-protected PDF?
Unlock it first with the password using our unlock tool, then extract. Only do this with files you have the right to access.
My table extracted as one long column. What went wrong?
The PDF likely has an unusual layout (no clear column spacing, or rotated text). Try extracting a single page, and check whether the source is a scan — scanned tables need OCR first.
Extract your tables now
Free forever. No sign-up. Files never leave your device.
Open PDF to CSV Tool