Convert a Documentation Site to Markdown for RAG
Crawl a documentation site and get every page as clean Markdown, ready for a RAG pipeline, a vector database or an AI agent. Main content only: menus and footers are removed, links are kept. This example converts 20 pages of the Apify docs; put the link of your own docs instead. No browser, so it is fast and cheap: $1 per 1,000 pages.
Input
Output fields
Sign up on Apify or log in
The Website to Markdown: Fast Crawler for LLM & RAG (No Browser) Actor is ready to run with the inputs already set for "Convert a Documentation 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 "Convert a Documentation Site to Markdown for RAG" task
The Website to Markdown: Fast Crawler for LLM & RAG (No Browser) Actor will start running based on the input automatically. You can also change all the input fields, like pages, pages per link, and more, to match your specific use case.
Receive the "Convert a Documentation 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 page, title, words, 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 "Convert a Documentation Site to Markdown for RAG" task via API.

Integrate "Convert a Documentation Site to Markdown for RAG" into your workflow
Connect "Convert a Documentation Site to Markdown for RAG" with 100+ integrations, or run it via API or MCP.
Webhook
n8n
Make
Zapier
Airbyte
Keboola
IFTTT
Hubspot
GDrive
Gmail
Apify MCP
GitHub
Slack
LangChain
LlamaIndex
Flowise
Pinecone
OpenAI
Mastra
Clay
The documentation to Markdown task returns one row per page: its link, its title and its main content as clean Markdown, without menus or footers, ready to split into chunks for a RAG pipeline or a vector database.
To convert your own documentation site to Markdown, replace the start link with the first page of your docs and choose how many pages to follow from it. The crawler respects robots.txt.
Converting a documentation site to Markdown with this task costs $1 per 1,000 pages on the free plan and less on paid Apify plans; error pages are free. The 20 pages of this example cost about 2 cents.