Go to example tasks

PDF to RAG chunks for LLMs

Split PDFs and Office documents into heading-aware chunks with page ranges and token counts, ready for embeddings and vector databases. A CHUNKS jsonl file is saved per document.

Try for free
PDF Text Extractor & PDF to Markdown: Tables, OCR, RAG
PDF Text Extractor & PDF to Markdown: Tables, OCR, RAGbigkerm/document-to-markdown-tables-ocr
URL
Status
File type
Pages in file
+4 fields
Text
Number
Boolean
List
Object

Input

Document links:https://arxiv.org/pdf/1706.03762
Chunk size (tokens):800
Chunk overlap (tokens):100

Output fields

URL
Status
File type
Pages in file
OCR pages
Tables
Words
Error or reason

How it works

Sign up on Apify or log in

The PDF Text Extractor & PDF to Markdown: Tables, OCR, RAG Actor is ready to run with the inputs already set for "PDF to RAG chunks for LLMs". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "PDF to RAG chunks for LLMs" task

The PDF Text Extractor & PDF to Markdown: Tables, OCR, RAG Actor will start running based on the input automatically. You can also change all the input fields, like document links, chunk size (tokens), and more, to match your specific use case.

Receive the "PDF to RAG chunks for LLMs" 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 URL, status, file type, 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 RAG chunks for LLMs" task via API.

Image

Integrate "PDF to RAG chunks for LLMs" into your workflow

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

Frequently asked questions

Approximately, as characters divided by 4. Set chunkSize and chunkOverlap in tokens.