Turn tables in PDF reports into CSV files

One CSV per report table with a header row, source page references and a list of uncertain cells.

Choose one of three approaches. The steps for that option appear below.

Choose an option above. On a phone, swipe the tabs left or right to see all options →

Gemini: extracts tables to sheets, exports CSVs, you check

Gemini extracts the tables and exports CSVs. You check each file against its PDF table.

  1. You

    Gather PDFs

  2. Gemini

    Extract, clean, export

  3. You

    Check and decide

  1. Gather the PDF reports

    Use: You

    Have ready: the PDF reports with tables.

    Check

    Check each PDF opens and shows its tables.

  2. Extract, clean and export the tables

    Use: Gemini

    Upload the PDFs to Gemini. Ask it to extract each table with page references, clean headers without changing values, flag uncertain cells and export CSVs.

    Details

    What to paste into the tool

    Task: Raw CSVs and page refs. Extract every table from these PDF reports and write one CSV per table, named by report and table. Keep the source page number with each table. On each extracted table, propose header fixes and un-merge merged cells so every row has the same columns. Write the cleaned version of each table as a separate CSV. Do not change any value. Task: Clean CSVs and uncertain list. On each extracted table, propose header fixes and un-merge merged cells so every row has the same columns. List every cell whose value you are unsure of as table, cell, and reason. Do not silently correct a value: flag it instead (source warning: 'Never silently correct values.'). Export each cleaned sheet as CSV.

  3. Check each CSV against its PDF, then decide

    Use: You

    Open each clean CSV next to its PDF table, check counts, values and every flagged cell, and hold any CSV that fails.

    Check

    Compare row and column counts against the PDFs, check every flagged cell, and spot-check values against the source pages. Check 10% of cells against source. Approve a CSV only when it matches its PDF table; otherwise hold it and list the fixes.

Before you paste into any AI tool, remove any confidential information. Put it back at the end.

Tools in this workflow

Deciding between ChatGPT and Claude for this? See the comparison.

Final check

Row and column counts are compared against the PDFs and uncertain cells are listed.

Source page is kept per table in every path.

No value is silently corrected: anything uncertain is flagged, and you spot-check a sample.

One CSV per table with a header row in every path.

Check the result against your original inputs. Approve it before sharing or acting.

What still needs checking
  • Table-structure fidelity, merged-cell handling and uncertainty listing are not named on any cited page; the analyst's count and cell checks are the control everywhere.

Share this page