New Tool Radar

AI PDF

How to Extract a Scanned Table into a CSV File

Move a table from a scanned PDF into a plain CSV file, then verify the columns line up before importing it anywhere.

Schematic illustration of extracting a scanned table to CSV: seven lines are created, every line has two commas, and the first row matches the scan.

Adobe’s extraction guide says OCR makes characters readable to software but does not mean every part of the original page structure transfers perfectly, and that tables can flatten into unstructured text. A CSV has no formatting to hide behind, so the column check matters most.

Use the practice file

A practice document, practice-table-csv.pdf. The file is fictional.

Page Content
1 Sales table: 6 rows, columns Product, Units, Revenue
2 Notes page
3 Second table, 4 rows

Page 1 is the check page: the first data row reads “Apples, 12, 36.00”.

Extract the table to CSV

Expected result. We checked the Adobe Acrobat and the Adobe Help. We did not run any tool. The checks below are what to expect if the work is done correctly; run them yourself on the practice file.

1. OCR the scan first

Run text recognition on the PDF so the table has a text layer.

Expected result: The table’s words select and search.

2. Export the text

Export the PDF text and save the table as a CSV with one row per line and commas between columns.

Expected result: A .csv file is created with 7 lines: a header plus 6 rows.

3. Count the columns

Open the CSV and count the commas on each line.

Expected result: Every line has exactly 2 commas, giving 3 columns.

4. Check the first row

Compare the first data row with the scan.

Expected result: The row reads “Apples, 12, 36.00”, matching the printed table.

Verdict table

Check Expected result Pass?
OCR the scan first The table’s words select and search. —
Export the text A .csv file is created with 7 lines: a header plus 6 rows. —
Count the columns Every line has exactly 2 commas, giving 3 columns. —
Check the first row The row reads “Apples, 12, 36.00”, matching the printed table. —

Related guides: How to Extract OCR Text from a Scanned PDF into a Word Document — How to Convert a PDF to an Editable Word Document.

Limits

  • A CSV cannot show you a misaligned column the way a spreadsheet can, so count the separators on every line before importing it.
  • Extraction copies the text layer, not the page: layout, reading order and table structure can all shift, so verify values against the scan.
  • UNTESTED — no OCR tool was run; all results above are expected results. The practice file is fictional.

Sources

See all