Skip to content

Extract a table from a PDF to CSV

Extract the tables from a PDF to a CSV file, directly in your browser. Works best with PDFs containing well-aligned digital tables.

Processed on your device. Nothing is sent to any server.

or click to select it

Analyzes the position of each word in the PDF to reconstruct rows and columns, including empty cells and tables that continue across several pages. It's not a generic PDF-to-CSV converter: if a page has no recognizable table structure, it generates no rows for it. Scanned PDFs need OCR (outside the scope of this tool) since they have no real text to analyze.

Use cases

  • Extract a pricing or inventory table from a PDF into a spreadsheet.
  • Move invoice or report data from a PDF into CSV to analyze it.
  • Recover a table from a PDF without copying it cell by cell.

How it works

  1. 1

    Upload your PDF

    Drag the file or choose it from your device.

  2. 2

    Extract the table

    Click the button to analyze the document.

  3. 3

    Review and download

    Check the preview and download the CSV.

Technical details

  • It groups the PDF's text into lines by vertical position (2-point tolerance) and splits cells where the gap between words is much wider than a normal space; a page counts as a table if it has at least 2 rows and 2 aligned columns.
  • The CSV uses comma separators and quotes where needed (RFC 4180), with a blank line between tables, and starts with a BOM so Excel shows accented characters correctly.
  • Pages without a table structure contribute no rows: the tool doesn't invent columns. Merged cells or tables without aligned columns can come out shifted; check the result in the preview.
  • It needs real text in the PDF: a scan has no tables to read. Limit: 50 MB.

Frequently asked questions

Does it work with any PDF?

It works best with well-aligned digital tables (generated from Word, Excel, LibreOffice, etc.). Scanned PDFs or very irregular tables may not reconstruct well.

What happens if the PDF has no tables?

The tool clearly says so and doesn't download any file, instead of inventing a structure that isn't there.

Related guide: How to reduce a PDF's size and what changes when you edit it

← PDF