Go to example tasks

Convert a PDF to Markdown chunks

Turn a PDF into clean Markdown split into heading-aware chunks with page numbers, ready for RAG and LLM pipelines. Prefilled with a public RFC PDF limited to its first 5 pages so a test run is quick and cheap.

Try for free
Document to Markdown for LLM & RAG (PDF, DOCX, PPTX, HTML)
Document to Markdown for LLM & RAG (PDF, DOCX, PPTX, HTML)divinxxii/doc-to-markdown
Source
Format
Status
Change
+6 fields
Text
Number
Boolean
List
Object

Input

PDF, DOCX, PPTX or HTML URLs:https://www.rfc-editor.org/rfc/rfc9111.pdf
Chunk size (characters):1000
Max pages per document:5

Output fields

Source
Format
Status
Change
Pages
Parsed pages
Scanned pages
Characters
Chunks
Error

How it works

Sign up on Apify or log in

The Document to Markdown for LLM & RAG (PDF, DOCX, PPTX, HTML) Actor is ready to run with the inputs already set for "Convert a PDF to Markdown chunks". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Convert a PDF to Markdown chunks" task

The Document to Markdown for LLM & RAG (PDF, DOCX, PPTX, HTML) Actor will start running based on the input automatically. You can also change all the input fields, like PDF, DOCX, PPTX or HTML URLs, chunk size (characters), and more, to match your specific use case.

Receive the "Convert a PDF to Markdown chunks" 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, format, status, 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 "Convert a PDF to Markdown chunks" task via API.

Image

Integrate "Convert a PDF to Markdown chunks" into your workflow

Connect "Convert a PDF to Markdown chunks" 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