Go to example tasks

PDF to RAG chunks with page references

Turn the public NOAA sample report into overlapping 500-token chunks with page ranges for your RAG pipeline. Replace the sample URL with a text PDF you are allowed to process. OCR is off.

Try for free
PDF & Document to Markdown: OCR, Tables, RAG Chunks
PDF & Document to Markdown: OCR, Tables, RAG Chunksvimplement/document-to-markdown
URL
Status
Type
Pages
+4 fields
Text
Number
Boolean
List
Object

Input

Document URLs:https://www.nhc.noaa.gov/data/tcr/AL022023_Arlene.pdf
Output format:markdown
OCR (scanned pages and images):off
Extract tables:true
Include per-page text:true
Chunk size for RAG (tokens):500
Chunk overlap (tokens):50
Maximum pages per document:20
Maximum file size (MB):20
Documents in parallel:1

Output fields

URL
Status
Type
Pages
OCR pages
Words
Language
Error

How it works

Sign up on Apify or log in

The PDF & Document to Markdown: OCR, Tables, RAG Chunks Actor is ready to run with the inputs already set for "PDF to RAG chunks with page references". 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 with page references" task

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

Receive the "PDF to RAG chunks with page references" 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, 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 with page references" task via API.

Image

Integrate "PDF to RAG chunks with page references" into your workflow

Connect "PDF to RAG chunks with page references" 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