Go to example tasks

Docs site to Markdown for RAG

Turn a whole documentation site into clean Markdown chunks for your RAG pipeline or vector database. This example reads the Apify Academy sitemap, keeps only /academy/ pages, strips menus and cookie banners, and splits each page into ~800-token chunks with their heading path. Swap in your own docs URL and filter to index any public docs site.

Try for free
AI-Ready Webpage Extractor
AI-Ready Webpage Extractors3nafps/ai-ready-webpage-extractor
URL
Title
Chunks
Text
Number
Boolean
List
Object

Input

URLs(required):https://docs.apify.com/academy
Crawl mode:sitemap
Maximum pages:50
Only crawl URLs containing:/academy/
Split content into RAG chunks:true
Chunk size (tokens):800

Output fields

URL
Title
Chunks

How it works

Sign up on Apify or log in

The AI-Ready Webpage Extractor Actor is ready to run with the inputs already set for "Docs site to Markdown for RAG". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Docs site to Markdown for RAG" task

The AI-Ready Webpage Extractor Actor will start running based on the input automatically. You can also change all the input fields, like URLs, crawl mode, and more, to match your specific use case.

Receive the "Docs site to Markdown 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 URL, title, and chunks.

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 "Docs site to Markdown for RAG" task via API.

Image

Integrate "Docs site to Markdown for RAG" into your workflow

Connect "Docs site to Markdown 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