PDF to Markdown Converter for RAG and AI Agents
VER RR
Turn PDF, Word, PowerPoint, Excel, HTML and text files into clean Markdown, page-numbered chunks for citations and tables as JSON rows. Paste file URLs, or pick a dataset from any Actor that collects links. Scanned PDF pages are read by OCR when you leave it on. You pay per document converted, plus a small fee per 100 pages past the first 100 of a PDF. Files that fail are not charged.
Input
Output fields
Sign up on Apify or log in
The PDF to Markdown: Word, Excel, PPTX, Tables & OCR Actor is ready to run with the inputs already set for "PDF to Markdown Converter for RAG and AI Agents". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "PDF to Markdown Converter for RAG and AI Agents" task
The PDF to Markdown: Word, Excel, PPTX, Tables & OCR Actor will start running based on the input automatically. You can also change all the input fields, like file urls, OCR scanned pages, and more, to match your specific use case.
Receive the "PDF to Markdown Converter for RAG and AI Agents" 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 title, format, pages, 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 Converter for RAG and AI Agents" task via API.

Integrate "PDF to Markdown Converter for RAG and AI Agents" into your workflow
Connect "PDF to Markdown Converter for RAG and AI Agents" 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
PDF, DOCX, PPTX, XLSX, HTML and plain text. The type is detected from the file itself, so links without an extension work. Old .doc, .xls and .ppt files, images and password-protected files are reported as failed and not charged.
Word, Excel, PowerPoint and HTML tables are read from the file's own structure. In PDFs only clearly aligned columns are returned; anything less certain stays as text rather than a wrong table. Each table comes as JSON rows with its page.
Yes. Pick that Actor's dataset in the Dataset field; a run can read only a dataset chosen there. It finds fields such as pdfUrl, fileUrl, url and link by itself, or you can name the field.
A PDF page goes to OCR only if an image covers at least half of it and it has under 200 characters of text. Each page where OCR adds new text costs $0.007; if it adds nothing new, you pay nothing. The model is English.
Each chunk is up to 1,500 characters of Markdown with its page number, ready to embed and cite. A chunk never crosses a page. Pages mean PDF pages, PPTX slides and XLSX sheets. Word, HTML and text files have no pages, so their page is null.
$0.003 covers a document and its first 100 pages. Each further block of 100 pages adds $0.003, so a 753-page PDF costs $0.024. Set Maximum pages to convert more than the first 200 pages.