Go to example tasks

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.

Try for free
Website to Markdown: Fast Crawler for LLM & RAG (No Browser)
Website to Markdown: Fast Crawler for LLM & RAG (No Browser)arnaud437/website-to-markdown
Page
Title
Words
Markdown
+3 fields
Text
Number
Boolean
List
Object

Input

Pages(required):https://docs.apify.com/platform/actors
Pages per link:20
Main content only:true
Keep links:true
Keep images:false

Output fields

Page
Title
Words
Markdown
Depth
Status
Error

How it works

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.

Image

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

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

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.