pdftoolskit.org
PDF (Portable Document Format) utilities, in the browser
Say hi →

PDF to CSV — Extract Table Data

RFC 4180 quoting · per page or combined · comma or tab

Pull tabular data out of a PDF as CSV. Columns are inferred from where text sits on the page, quoting follows RFC 4180 so commas inside values survive, and you can take one file per page or one combined export.

Drop PDF files here or click to select

One or many · CSV per file or per page

    no files
    Ready.

    No PDF handy? Try sample-10-pages.pdf. More free sample files.

    When CSV is the right target

    CSV is the format every tool reads, and it is the right choice when the next step is a script, a database import, or a pivot table you will build yourself. If the destination is a spreadsheet a colleague will open by double-clicking, PDF to Excel saves them the import dialog and keeps numbers typed.

    One CSV per page is worth choosing when each page is a separate table with its own header. One CSV per PDF is better for a long table that runs across pages — though you will then have repeated header rows to delete.

    Delimiters and Excel

    Getting clean output

    Two habits help. First, tune the column gap sensitivity on one page before running a batch — lower values split more columns, higher values merge them. Second, expect to delete repeated headers and page furniture (footers, page numbers) after a multi-page extract: those lines sit in the same coordinate space as the table and there is no reliable way to tell them apart from data.

    FAQ

    How are commas inside values handled?

    Any value containing the delimiter, a double quote or a newline is wrapped in double quotes with internal quotes doubled — RFC 4180, the dialect every spreadsheet and CSV library reads.

    Why do I get page numbers as rows?

    Because a footer is just text on the page, in the same coordinate space as the table. Delete those rows after extraction, or crop the page first with Crop PDF and convert the cropped file.

    Can I choose which pages to extract?

    Not on this page — every page is converted. Pull the pages you want first with Extract pages, then convert that file.

    My table has wrapped cells and the rows are misaligned.

    A wrapped cell genuinely occupies two lines in the PDF, so it becomes two rows. There is no reliable automatic fix; merge those rows in your spreadsheet or script.

    Is anything uploaded?

    No. The extraction runs entirely in your browser.

    Related tools