Go to example tasks

Chunk a PDF research paper for RAG

Converts an arXiv PDF (Attention Is All You Need) to Markdown and splits it into 512-token, section-aware chunks with header paths, stable IDs and exact token counts, ready to embed into Pinecone, Qdrant or pgvector. Swap in any PDF URL.

Try for free
Markdown RAG Chunker: Document Text Splitter
Markdown RAG Chunker: Document Text Splittercodepoetry/markdown-rag-chunker
Chunk index
Header path
Token count
Content
+2 fields
Text
Number
Boolean
List
Object

Input

Document URL:https://arxiv.org/pdf/1706.03762
Max chunk size (tokens):512

Output fields

Chunk index
Header path
Token count
Content
Chunk ID
Source

How it works

Sign up on Apify or log in

The Markdown RAG Chunker: Document Text Splitter Actor is ready to run with the inputs already set for "Chunk a PDF research paper for RAG". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Chunk a PDF research paper for RAG" task

The Markdown RAG Chunker: Document Text Splitter Actor will start running based on the input automatically. You can also change all the input fields, like document url and max chunk size (tokens), to match your specific use case.

Receive the "Chunk a PDF research paper 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 chunk index, header path, token count, 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 "Chunk a PDF research paper for RAG" task via API.

Image

Integrate "Chunk a PDF research paper for RAG" into your workflow

Connect "Chunk a PDF research paper 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