Extract PDF Tables & RAG Chunks to Markdown/JSON
Run a live native-PDF extraction example on public-domain documents. Produces clean Markdown with page anchors, typed structured tables (JSON/CSV with parsed numeric cells), and deterministic cl100k_base RAG chunks (<=512 tokens) ready for LangChain, LlamaIndex, Dify, and n8n—no OCR or LLM calls.
Input
Output fields
Sign up on Apify or log in
The PDF to Markdown, Tables & RAG Chunks Extractor Actor is ready to run with the inputs already set for "Extract PDF Tables & RAG Chunks to Markdown/JSON". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "Extract PDF Tables & RAG Chunks to Markdown/JSON" task
The PDF to Markdown, Tables & RAG Chunks Extractor Actor will start running based on the input automatically. You can also change all the input fields, like public https pdfs, output mode, and more, to match your specific use case.
Receive the "Extract PDF Tables & RAG Chunks to Markdown/JSON" 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 record type, source name, doc id, 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 & RAG Chunks to Markdown/JSON" task via API.

Integrate "Extract PDF Tables & RAG Chunks to Markdown/JSON" into your workflow
Connect "Extract PDF Tables & RAG Chunks to Markdown/JSON" with 100+ integrations, or run it via API or MCP.
Webhook
n8n
Make
Zapier
Airbyte
Keboola
IFTTT
Hubspot
GDrive
Gmail
Apify MCP
GitHub
Slack
LangChain
LlamaIndex
Flowise
Pinecone
OpenAI
Mastra
Clay