Go to example tasks

Extract PDF tables as Markdown

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.

Try for free
PDF to Markdown Converter: OCR, Tables, RAG
PDF to Markdown Converter: OCR, Tables, RAGjcwilk/pdf-to-markdown
Source
Status
Title
Language
+5 fields
Text
Number
Boolean
List
Object

Input

PDF URLs
url:https://github.com/jsvine/pdfplumber/raw/stable/examples/pdfs/ca-warn-report.pdf
Tables:markdown
Page range:1

Output fields

Source
Status
Title
Language
Processed pages
OCR pages
Word count
Error message
Markdown

How it works

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.

Image

Integrate "Extract PDF tables as Markdown" into your workflow

Connect "Extract PDF tables as Markdown" with 100+ integrations, or run it via API or MCP.

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay

Frequently asked questions

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.