Go to example tasks

Split a PDF into RAG chunks for an LLM

Convert a PDF into overlapping 500-word Markdown chunks with page numbers, ready to embed into a vector database for retrieval-augmented generation. Works on any public PDF URL.

Try for free
PDF to Markdown & Text Converter for LLMs and RAG
PDF to Markdown & Text Converter for LLMs and RAGrjmacarthy/pdf-to-markdown
Title
First page
Last page
Heading path
+3 fields
Text
Number
Boolean
List
Object

Input

PDF URLs:https://arxiv.org/pdf/1706.03762
One dataset item per:chunks
Chunk size (tokens):500

Output fields

Title
First page
Last page
Heading path
Markdown
Plain text
PDF URL

How it works

Sign up on Apify or log in

The PDF to Markdown & Text Converter for LLMs and RAG Actor is ready to run with the inputs already set for "Split a PDF into RAG chunks for an LLM". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Split a PDF into RAG chunks for an LLM" task

The PDF to Markdown & Text Converter for LLMs and RAG Actor will start running based on the input automatically. You can also change all the input fields, like PDF URLs, one dataset item per, and more, to match your specific use case.

Receive the "Split a PDF into RAG chunks for an LLM" 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, first page, last page, 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 "Split a PDF into RAG chunks for an LLM" task via API.

Image

Integrate "Split a PDF into RAG chunks for an LLM" into your workflow

Connect "Split a PDF into RAG chunks for an LLM" 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