Go to example tasks

Turn the Crawlee docs into Markdown for a RAG knowledge base

Crawl the Crawlee for JavaScript guides one link deep from the quick start and get each page as clean Markdown: main content only, with headings, lists, tables and code blocks kept, plus title, description, word count and character count per page. Swap in your own documentation or help-center URL to build a knowledge base for an LLM or AI agent.

Try for free
Website Content Crawler: Markdown for AI and RAG
Website Content Crawler: Markdown for AI and RAGlowcountrytech/website-content-to-markdown
Url
Title
Depth
Word Count
+2 fields
Text
Number
Boolean
List
Object

Input

Page URLs:https://crawlee.dev/js/docs/quick-start
Crawl depth:1
Only follow URLs containing:/js/docs/
Maximum pages:10

Output fields

Url
Title
Depth
Word Count
Markdown Length
Status Code

How it works

Sign up on Apify or log in

The Website Content Crawler: Markdown for AI and RAG Actor is ready to run with the inputs already set for "Turn the Crawlee docs into Markdown for a RAG knowledge base". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Turn the Crawlee docs into Markdown for a RAG knowledge base" task

The Website Content Crawler: Markdown for AI and RAG Actor will start running based on the input automatically. You can also change all the input fields, like page urls, crawl depth, and more, to match your specific use case.

Receive the "Turn the Crawlee docs into Markdown for a RAG knowledge base" 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, depth, 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 "Turn the Crawlee docs into Markdown for a RAG knowledge base" task via API.

Image

Integrate "Turn the Crawlee docs into Markdown for a RAG knowledge base" into your workflow

Connect "Turn the Crawlee docs into Markdown for a RAG knowledge base" 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

One record per page: the URL, title, meta description, language, the page's main content as Markdown (headings, lists, tables, code blocks, links), its H1-H3 headings, a word count and a character count for sizing LLM context.

The Crawlee docs to Markdown task works for any docs site: duplicate it, set the start URL to your docs page and the URL filter to the section, e.g. /docs/ or /help/. Depth 1 follows links from the start page; depth 2 one level further.

At most the item limit, here 10. Raise it for a full section (up to 1,000 pages per crawl). Pages on one site are fetched about one per second, and robots.txt is respected, so a large section takes a few minutes.

The Crawlee docs to Markdown task reads the HTML the server sends without rendering JavaScript. That works for most docs, blogs and help centers and keeps runs cheap; pages built entirely in the browser come back short.