Go to example tasks

Build a RAG corpus from documentation

Turn any website into clean markdown chunks with token estimates, headings and metadata, ready for RAG indexing.

Try for free
Website to RAG Chunks
Website to RAG Chunkscynix_dev/web-to-rag-chunks
URL
Title
Chunk
Total
+2 fields
Text
Number
Boolean
List
Object

Input

Start URLs(required)
url:https://docs.apify.com/platform
Max crawl depth:1
Max pages:5
Same domain only:true
Include URL globs
Exclude URL globs
Chunk size (chars):1000

Output fields

URL
Title
Chunk
Total
Tokens
Text

How it works

Sign up on Apify or log in

The Website to RAG Chunks Actor is ready to run with the inputs already set for "Build a RAG corpus from documentation". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Build a RAG corpus from documentation" task

The Website to RAG Chunks Actor will start running based on the input automatically. You can also change all the input fields, like start urls, max crawl depth, and more, to match your specific use case.

Receive the "Build a RAG corpus from documentation" 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, title, chunk, 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 "Build a RAG corpus from documentation" task via API.

Image

Integrate "Build a RAG corpus from documentation" into your workflow

Connect "Build a RAG corpus from documentation" 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