How to use
- Choose a PDF file.
- Pick the page that has the table.
- Check the tables and the text found outside them.
- Download one table as CSV, or all tables as an Excel file (one sheet per table, merged cells kept).
Copying a table out of a PDF usually turns it into one long line of text. This tool converts PDF tables to Excel or CSV by reading the text and the ruling lines stored inside the PDF, so the rows, columns and merged cells come back as a real table. It suits invoices, price lists, timetables, statements and reports saved as PDF from Word, Excel or other office apps.
The PDF is opened with pdf.js 4.10.38, one page at a time. Lines that touch each other form a table when the group has at least two horizontal and two vertical lines; very thin filled rectangles (under 3 px) count as lines, because Excel draws cell borders that way, and white fills are ignored. Where a border between two cells is missing, the cells are merged; joined areas that are not rectangular are left unmerged and reported. Text outside tables is listed separately, and page numbers such as "3 / 10" near the bottom are dropped.
Download one table as CSV (RFC 4180, CRLF, UTF-8 with BOM so Excel opens it correctly) or all tables as one .xlsx with a sheet per table and merges kept. Cell values are kept as the text in the PDF, so numbers arrive as text. Scanned PDFs have no text or lines to read and are not converted, and tables without ruling lines are not detected. Images and cell shading are not copied. The file is processed in your browser and never uploaded.