Sitemap to Clean Markdown & RAG Chunks Crawler avatar

Sitemap to Clean Markdown & RAG Chunks Crawler

Pricing

Pay per usage

Go to Apify Store
Sitemap to Clean Markdown & RAG Chunks Crawler

Sitemap to Clean Markdown & RAG Chunks Crawler

Feed an entire website via XML Sitemap (or domain) and automatically generate structured, clean Markdown documents and vector chunks for AI embeddings.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

knightwwang Wang

knightwwang Wang

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

5 days ago

Last modified

Categories

Share

🗺️ Sitemap to Clean Markdown & RAG Chunks Crawler

Crawl an entire website's XML sitemap (or documentation site), convert all pages into clean, structured Markdown, and automatically split them into semantic, vector-ready RAG chunks with exact token counts.


⚡ Ideal For

  • Enterprise AI Knowledge Bases: Ingest entire product docs (e.g. docs.stripe.com/sitemap.xml) into Pinecone / Weaviate / Qdrant in 1 click.
  • Competitor Content Auditing: Extract thousands of clean blog posts from any competitor's sitemap without headers, footers, or cookie banners.
  • RAG Preprocessing: Eliminate token-counting bottlenecks and complex text-splitters in your Python backend.

📥 Key Inputs

  • sitemapUrls: e.g. https://crawlee.dev/sitemap.xml
  • urlPattern: Filter URLs using regex (e.g. /docs/ or /blog/)
  • maxPages: Max number of pages to crawl
  • maxChunkTokens: Token size per chunk (default: 800)
  • removeImages: Strip images to save embedding tokens

📤 Output Dataset

Returns structured records with full markdown and individual chunk arrays:

{
"url": "https://crawlee.dev/docs/introduction",
"title": "Introduction | Crawlee",
"totalTokens": 1420,
"chunksCount": 2,
"chunks": [
{ "chunkIndex": 0, "tokens": 780, "text": "## Overview\nCrawlee is..." },
{ "chunkIndex": 1, "tokens": 640, "text": "## Quick Start\nTo install..." }
]
}