PDF to Markdown for RAG and LLMs (one row per page)
Ready-to-run example: convert PDFs into Markdown chunks with page numbers for RAG pipelines and LLMs. Digital pages are read locally at $1 per 1,000 pages; only scanned pages use AI.
Input
Output fields
Sign up on Apify or log in
The PDF & Image AI Extractor: OCR to Markdown, Text & JSON (Gemini) Actor is ready to run with the inputs already set for "PDF to Markdown for RAG and LLMs (one row per page)". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "PDF to Markdown for RAG and LLMs (one row per page)" task
The PDF & Image AI Extractor: OCR to Markdown, Text & JSON (Gemini) Actor will start running based on the input automatically. You can also change all the input fields, like PDF or image URLs, output, and more, to match your specific use case.
Receive the "PDF to Markdown for RAG and LLMs (one row per page)" 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 file, page, read by, 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 to Markdown for RAG and LLMs (one row per page)" task via API.

Integrate "PDF to Markdown for RAG and LLMs (one row per page)" into your workflow
Connect "PDF to Markdown for RAG and LLMs (one row per page)" 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