Skip to content
Jellykit

PDF Table Extractor to CSV and Excel

Find the tables in a PDF from its text and drawn lines, correct the columns and rows, and save them as CSV files or an Excel workbook.

  • Runs on your device
  • Loads an engine on first use
Loading tool

About PDF Table Extractor to CSV and Excel

Get the figures out of a report, a statement or a price list without retyping them. This tool reads where each word and each ruled line sits on the page, proposes the tables it finds, and shows every one beside the page with its column guides drawn on, before anything is saved.

Finding tables in a PDF is guesswork, because a PDF stores words at positions, not cells. So you check each table and fix what is wrong: type or nudge a column guide, add or remove one, move the edges, join rows that belong together or split one that was merged, and add a table by hand where none was found. Then save CSV files or one Excel workbook with a sheet per table.

How it works

  1. pdf.js, loaded from this site on first use, reads each chosen page in a background worker: every string with its position and size, and every straight line the page draws.
  2. Lines that cross to form a grid become a ruled table, each band between rules a row. Elsewhere, columns are found where a gap runs down through several lines of text, and a line with nothing in its first column and no figures is taken as wrapped text of the row above.
  3. Each table is shown as it will be saved, with its column guides drawn on the page. Guides and edges are numbers in points that you can type, step with the arrow keys or nudge with buttons; rows can be joined or split.
  4. CSV files follow RFC 4180 and one file is saved per table, zipped when there are several. The Excel workbook has one sheet per table, with plain numbers stored as numbers. Nothing is uploaded.

Questions

Why did it miss a table, or split one wrongly?

A PDF has no cells, only words at positions and lines drawn on the page, so every table is a guess. Tables with ruled lines or clear gaps between columns work best. Correct the guides or add a table by hand; what you see in the preview is exactly what is saved.

Can I extract tables from a scanned PDF?

Not directly. A scan is a picture of the page with no words in it. The tool tells you when a page looks like that. Run the file through the OCR tool on this site first to give it a text layer, then bring the result here.

What happens to cells that start with = or + in the CSV file?

A spreadsheet opening a CSV file runs a cell starting with =, +, - or @ as a formula. By default such cells get a leading apostrophe so they are shown as text; plain numbers such as -5 are left alone. You can switch this off. The Excel workbook stores every cell as text or a number, so nothing in it runs.

Why do accented letters look wrong when I open the CSV in Excel?

The CSV is UTF-8 without a byte-order mark, which most programs read correctly. Older versions of Excel assume another encoding when you double-click such a file. Save as Excel (.xlsx) instead, or import the CSV with UTF-8 chosen.

How large a PDF can it handle?

Files up to 200 MB, and up to 300 pages per run; choose a page range for longer documents and run it again for the rest. At most 50,000 pieces of text are read from each page. Password-protected PDFs must be unlocked first.

Does my PDF leave my device?

No. The PDF is read by this page in your browser, the tables are found and the files are written there too. Nothing is uploaded.

Everything you enter here is processed in this browser tab. Nothing is uploaded, logged or shared. How privacy works here.