Go to example tasks

PDF to Markdown for RAG

Turn any PDF into clean Markdown with tables and headings intact, then split it into RAG-ready chunks with source, page, and section metadata. Paste a URL or upload a file and get chunks you can drop straight into a vector database. No paid APIs, and you pay per document.

Try for free
PDF to Markdown: DOCX, PPTX, XLSX, OCR & RAG Chunks
PDF to Markdown: DOCX, PPTX, XLSX, OCR & RAG Chunkssunburst077/document-to-markdown-rag
Title
Source
Format
Markdown
+1 field
Text
Number
Boolean
List
Object

Input

Document URLs
url:https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf
Conversion quality:auto
Create RAG chunks:true
Chunk size (characters):1000
Heading-aware chunks:true

Output fields

Title
Source
Format
Markdown
Key-value store key

How it works

Sign up on Apify or log in

The PDF to Markdown: DOCX, PPTX, XLSX, OCR & RAG Chunks Actor is ready to run with the inputs already set for "PDF to Markdown for RAG". 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" task

The PDF to Markdown: DOCX, PPTX, XLSX, OCR & RAG Chunks Actor will start running based on the input automatically. You can also change all the input fields, like document urls, conversion quality, and more, to match your specific use case.

Receive the "PDF to Markdown for 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 title, source, format, 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" task via API.

Image

Integrate "PDF to Markdown for RAG" into your workflow

Connect "PDF to Markdown for RAG" 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