PDF → Excel
Extract tables from a PDF and download as an editable .xlsx spreadsheet. All processing happens locally — nothing is uploaded.
How to Convert PDF Tables to Excel Online — No Upload Required
LovelyPDF's PDF to Excel tool uses PDF.js to extract text items with their exact X/Y coordinates from every page of your PDF. A column-clustering algorithm then groups nearby text positions into table rows and columns, reconstructing the tabular structure without any server processing.
How Table Detection Works
- Text items are extracted with X, Y, width, and height from each page
- Items sharing similar Y coordinates (within 5pt) are grouped into rows
- Rows with multiple items spread across distinct X positions are marked as table candidates
- Consecutive candidate rows with compatible X column positions are merged into a table
- Column boundaries are determined by clustering X positions across all rows in the block
- Each table becomes a separate worksheet in the .xlsx file
What PDFs Work Best
- Reports and statements exported directly from Excel, Word, or accounting software
- Bank statements, invoices, and financial documents with clear column structure
- Government forms and data tables with consistent row/column alignment
- PDFs created by PDF printers or export functions (not scanned paper documents)
Frequently Asked Questions
Does this work on scanned PDFs?
No. Scanned PDFs are images with no text layer. The tool needs selectable text with position data to detect table structure. Scanned documents require OCR before table extraction is possible.
Each detected table is a separate worksheet?
Yes. Each detected table is placed in its own worksheet named "Table 1", "Table 2", and so on. This keeps multi-table PDFs organised in a single .xlsx file.
Is my document uploaded anywhere?
No. PDF.js reads your file locally in the browser and the .xlsx is generated client-side using SheetJS. Your PDF never leaves your device.
Why are some cells empty or misaligned?
Table detection relies on consistent X-position alignment. If a PDF was created from a tool that does not embed fonts with precise glyph metrics, or if the table uses proportional spacing rather than fixed column positions, cells may not align perfectly.
Related tools: PDF to Word · Compress PDF · Fill PDF Forms