SwitchPDF

PDF to Excel

Extract tables from PDF files and convert them to editable Excel spreadsheets.

Extract tables from a PDF into an Excel spreadsheet (.xlsx). Rows and columns are detected automatically. Best results come from PDFs with clearly defined tables — not free-form text.

Best results with PDFs containing structured tables. Scanned or image-only PDFs may produce limited output. Only convert files you own or have permission to use.

How PDF to Excel works

Extracting tables from a PDF is significantly harder than extracting plain text. A PDF describes a table not as "rows and columns" but as a collection of text fragments at various coordinates plus possibly some line drawings between them. The tool has to detect column boundaries by analyzing the X positions of text, detect row boundaries by analyzing Y positions, and group fragments into cells.

SwitchPDF uses a combination of text-extraction libraries and heuristic table detection to identify tabular data. Well-formed tables (with consistent column widths and visible borders) convert cleanly. Tables without borders, tables with merged cells, or tables that wrap rows across multiple lines may require manual cleanup in Excel after the conversion.

For best results, the source PDF should have native text (not be a scan), should use a consistent table style throughout, and should not mix tables with surrounding paragraphs of running text. A clean financial report with one table per page typically converts to a usable spreadsheet. A document with a few small tables sprinkled into paragraphs of text will have its tables extracted but you may need to reorganize the output.

Common use cases: extracting financial data from a quarterly report PDF for analysis; pulling historical pricing data out of an invoice PDF; converting research papers' results tables into a working dataset; reformatting government data PDFs (which often have only PDF as their public format) for use in spreadsheets.

How to use PDF to Excel

1

Upload your PDF

Drag and drop or browse to the PDF containing tables you want to extract.

2

Convert to Excel

Click "Convert to Excel" — tables are detected and assembled into spreadsheet rows.

3

Download your XLSX

Download the spreadsheet. Open it in Excel, Google Sheets, or LibreOffice Calc.

Frequently Asked Questions

Which PDFs work best for conversion to Excel?
+
PDFs with clearly structured tables — consistent column widths, visible row/column boundaries, and minimal merged cells convert best.
Can I convert a scanned PDF to Excel?
+
Not directly. Run our OCR PDF tool first to add a text layer, then convert. OCR'd tables may need cleanup since OCR can misread numbers.
Will formatting be preserved?
+
Basic structure (rows and columns) is preserved. Cell formatting (colors, fonts, borders) is not transferred — apply formatting in Excel after import.
How are multi-page tables handled?
+
They become continuous rows in the spreadsheet, even if they spanned multiple PDF pages.
Will running text outside the tables be ignored?
+
Mostly yes — we focus on detecting tabular data. Stray paragraphs may end up in a separate sheet or omitted.
Can I convert a password-protected PDF?
+
Unlock it first with our Unlock PDF tool, then convert.
Is PDF to Excel free?
+
Yes. Completely free with no sign-up.
What's the output format?
+
.xlsx (Excel 2007+). Compatible with all modern versions of Excel, Google Sheets, and LibreOffice Calc.

Related tools