Convert PDF reports to Markdown for LLMs and RAG
Turn long PDF reports, papers and manuals into clean Markdown that keeps headings, reading order and tables, ready for ChatGPT, Claude or a RAG pipeline. Tables also come out as JSON. Digital pages are read without OCR; scanned pages get OCR automatically. The example converts the 9-page Docling technical report from arXiv.
Input
Output fields
Sign up on Apify or log in
The Invoice, Receipt & PDF Table to JSON/Markdown OCR Actor is ready to run with the inputs already set for "Convert PDF reports to Markdown for LLMs and RAG". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "Convert PDF reports to Markdown for LLMs and RAG" task
The Invoice, Receipt & PDF Table to JSON/Markdown OCR Actor will start running based on the input automatically. You can also change all the input fields, like document urls, OCR mode, and more, to match your specific use case.
Receive the "Convert PDF reports to Markdown for LLMs and RAG" 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 url and full markdown.
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 "Convert PDF reports to Markdown for LLMs and RAG" task via API.

Integrate "Convert PDF reports to Markdown for LLMs and RAG" into your workflow
Connect "Convert PDF reports to Markdown for LLMs and RAG" 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
Markdown keeps headings, lists and tables as plain text, so an LLM or an embedding model sees the document's structure. The PDF to Markdown task drops page clutter and keeps the reading order of multi-column pages.
The PDF to Markdown task reads up to 2,000 pages per document; set Max pages per document to limit the cost. Very large results are saved to the key-value store and linked from markdown_url.
The PDF to Markdown task runs IBM Docling and its OCR models inside your Apify run. No document is sent to OpenAI or any other outside service, and no API key is needed.
The PDF to Markdown task costs $0.005 per digital page on the Apify Free plan and $0.0045 on Starter, less on bigger plans, plus $0.004 per run. Scanned pages cost more because they need OCR.