PDF Table Extractor: PDF Tables to Excel and CSV

Choose a PDF saved from Word, Excel or another app. Ruled tables become real tables you can download as Excel or CSV.

Choose a PDF to start.

    Runs entirely in your browser. Nothing you enter is sent or stored.

    How to use

    1. Choose a PDF file.
    2. Pick the page that has the table.
    3. Check the tables and the text found outside them.
    4. 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.

    Frequently asked questions

    Does it work with scanned PDFs?

    No. It copies the text and lines stored in the PDF. A scan is only a picture of the page, so the tool stops and says so.

    Why was my table not found?

    Only tables drawn with ruling lines are detected: at least two horizontal and two vertical lines that touch. Text without lines is listed as text outside tables.

    Is my PDF uploaded?

    No. The file is read in your browser with pdf.js 4.10.38. Nothing is sent or stored.

    Related tools