Go to example tasks

PDF tables to Markdown for LLM and RAG pipelines

Feed PDF tables to ChatGPT, Claude or your RAG pipeline as clean Markdown instead of scrambled text. This example reads two PDFs (an election bulletin and a ruled data table) and returns each table as Markdown, CSV and JSON rows with page numbers. Agents can call it over MCP or plain HTTP. $0.002 per page with a table.

Try for free
PDF to Markdown & Text API: Tables + OCR for Scanned PDFs
PDF to Markdown & Text API: Tables + OCR for Scanned PDFsrentley/pdf-tables
Url
Page
Table index
Method
+3 fields
Text
Number
Boolean
List
Object

Input

PDF or image links(required):https://raw.githubusercontent.com/jsvine/pdfplumber/stable/tests/pdfs/la-precinct-bulletin-2014-p1.pdf+1
OCR:auto
OCR languages:eng
Max pages per file:50

Output fields

Url
Page
Table index
Method
Row count
Column count
Table (markdown)

How it works

Sign up on Apify or log in

The PDF to Markdown & Text API: Tables + OCR for Scanned PDFs Actor is ready to run with the inputs already set for "PDF tables to Markdown for LLM and RAG pipelines". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "PDF tables to Markdown for LLM and RAG pipelines" task

The PDF to Markdown & Text API: Tables + OCR for Scanned PDFs Actor will start running based on the input automatically. You can also change all the input fields, like PDF or image links, OCR, and more, to match your specific use case.

Receive the "PDF tables to Markdown for LLM and RAG pipelines" 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 url, page, table index, 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 "PDF tables to Markdown for LLM and RAG pipelines" task via API.

Image

Integrate "PDF tables to Markdown for LLM and RAG pipelines" into your workflow

Connect "PDF tables to Markdown for LLM and RAG pipelines" 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