{
 "schema_version": 1,
 "generated": "2026-11-09",
 "id": "datalab-to-marker--extract-only-the-tables-from-a-pdf-with-marker",
 "repo": "datalab-to/marker",
 "repo_url": "https://github.com/datalab-to/marker",
 "repo_slug": "datalab-to-marker",
 "title": "Pull just the tables out of a PDF",
 "page_title": "How to pull just the tables out of a PDF with Marker",
 "summary": "Use the TableConverter to extract tables only, in a page range you pick.",
 "who": "An analyst who wants the data tables from a report and not the prose.",
 "problem": "Retyping tables from a PDF is slow and error prone.",
 "outcome": "Table content converted to markdown for the pages you selected.",
 "steps": [
  "Install with `pip install marker-pdf`",
  "Run `marker_single /path/to/file.pdf` on your report",
  "Add `--converter_cls` with Marker.converters.table.TableConverter to extract tables only",
  "Add `--page_range` to limit which pages are processed",
  "Review the output and paste tables into your spreadsheet"
 ],
 "agent_prompt": "With datalab-to/marker, run `marker_single /path/to/file.pdf --converter_cls marker.converters.table.TableConverter --page_range \"0,5-10,20\"` on <my report PDF> and turn each extracted table into a CSV.",
 "agents": [
  "claude-code",
  "codex",
  "cursor",
  "gemini-cli"
 ],
 "difficulty": "Intermediate",
 "time": "20 minutes",
 "basis": "readme",
 "caveat": "Check numbers against the source; table reconstruction can fall back to a model and may err.",
 "category": "Data and analytics",
 "tags": [
  "Data and analytics"
 ],
 "lang": "python",
 "requirements": [
  "Python 3.10+ and PyTorch",
  "pip",
  "A GPU is best, CPU and Apple Silicon also work in fast mode"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/datalab-to-marker/extract-only-the-tables-from-a-pdf-with-marker/",
 "md": "https://dedupedai.com/use-cases/datalab-to-marker/extract-only-the-tables-from-a-pdf-with-marker/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/datalab-to-marker--extract-only-the-tables-from-a-pdf-with-marker.json",
 "api_version": "v1"
}
