Extract PDF tables as Markdown
John Wilkinson
Extract tables from a PDF as Markdown tables, including reports where rows are stacked without ruling lines. Choose Markdown, tab-separated text or skip. Paste a PDF URL, pick the pages with your tables and download the results as JSON, CSV or Excel.
Input
Output fields
Sign up on Apify or log in
The PDF to Markdown Converter: OCR, Tables, RAG Actor is ready to run with the inputs already set for "Extract PDF tables as Markdown". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "Extract PDF tables as Markdown" task
The PDF to Markdown Converter: OCR, Tables, RAG Actor will start running based on the input automatically. You can also change all the input fields, like PDF URLs, tables, and more, to match your specific use case.
Receive the "Extract PDF tables as Markdown" output
Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as source, status, title, and more.
Integrate into your workflow
The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Extract PDF tables as Markdown" task via API.

The PDF table extraction task returns tables as Markdown tables, as tab-separated text, or skips them, set with the tables input. Tables appear inside the page's Markdown output.
Table detection in the PDF task works on pages with a text layer. Scanned pages are OCRed to text first, but table structure in scans is not guaranteed to be detected.
The PDF table task costs $0.0011 per document and $0.00012 per page, plus a $0.004 run start fee. The one-page example here costs about half a cent.
Yes. The PDF table extraction task runs from the Apify API, schedules and webhooks, and from n8n, Make or Zapier, and returns JSON, CSV or Excel.