Go to example tasks

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.

Try for free
PDF to Markdown, Tables & RAG Chunks Extractor
PDF to Markdown, Tables & RAG Chunks Extractorhachimi/pdf-to-markdown-rag-extractor
Record type
Source name
Doc id
Page number
+9 fields
Text
Number
Boolean
List
Object

Input

Public HTTPS PDFs:https://raw.githubusercontent.com/jsvine/pdfplumber/8a9191bcaee788643227bb7de680a68b9fb61e49/examples/pdfs/background-checks.pdf+1
Output mode:all
Chunk token ceiling:512
Chunk overlap:64
Extract ruled tables:true
Include page metadata:true
Max pages per PDF:100
Max pages per batch:200
Max PDF size (MiB):10
Skip identical PDFs:true

Output fields

Record type
Source name
Doc id
Page number
Documents
Pages inspected
Pages delivered
Pages billed
Tables
Chunks
Warnings
Budget stopped
Code

How it works

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.

Image

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

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