Skip to content

PDF Tables to Clean CSV

Extract tables from messy PDFs into clean, checked CSV files.

Intermediate14h1–2 people16/20 fit
TL;DR

Build PDF Tables to Clean CSV for analysts, journalists and students in ~14h with 1–2 people. Stack: MarkItDown + Python + LLM + CSV.

Why it wins: Journalists and analysts feel this pain every week.

Build flow

01 · Problem
Government and company data is locked in PDF tables that break when copied.
02 · Solution
Convert the PDF with MarkItDown, detect tables, use an LLM to repair split rows and headers and show a cell-by-cell diff for review.
03 · Build
  1. 1Convert PDFs to Markdown with MarkItDown
  2. 2Parse Markdown tables
  3. 3Repair broken rows with the LLM
  4. 4Build a review and export screen
04 · Demo
Convert a scanned annual-report table and open it in a spreadsheet.

MVP checklist

  • Table detection
  • LLM row repair
  • Review diff
  • CSV and JSON export

Tech stack

TechRole
MarkItDownDocs to Markdown for LLMs
PythonBackend / scripting
LLMLanguage model
CSVData import

Reference repos

Open-source projects you can build on. Links checked 2026-10-31.

Related ideas

More AI
  • Upload a CSV, ask a question and get a chart plus the SQL that produced it

    Intermediate14h1–2
    DuckDBLLMCharts
    18/20
  • Lets people ask questions about long documents instantly

    Intermediate24h1–3
    Next.jsRAGLLM
    16/20