Sitemap & Website to llms.txt, Markdown & RAG Dataset Builder avatar

Sitemap & Website to llms.txt, Markdown & RAG Dataset Builder

Pricing

from $1.20 / 1,000 processed sitemap pages

Go to Apify Store
Sitemap & Website to llms.txt, Markdown & RAG Dataset Builder

Sitemap & Website to llms.txt, Markdown & RAG Dataset Builder

Auto-discover XML sitemaps or internal pages from any domain, generate a ready-to-publish /llms.txt standard file, extract clean LLM Markdown, calculate token savings, and build RAG vector datasets in 6 languages (EN, ES, PT, FR, DE, IT).

Pricing

from $1.20 / 1,000 processed sitemap pages

Rating

0.0

(0)

Developer

Cristian Duarte

Cristian Duarte

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Categories

Share

💠 Sitemap & Website to llms.txt, Clean Markdown & RAG Dataset Builder

Automatically crawl any website's sitemap.xml (or internal navigation), generate a ready-to-publish /llms.txt standard file (used by OpenAI, Anthropic Claude, and Cursor IDE), and convert core pages into clean LLM Markdown in seconds — with 6-language AI audits (EN, ES, PT, FR, DE, IT).

Built for AI Engineers, RAG Pipeline Builders, SEO/GEO (Generative Engine Optimization) Agencies, and n8n / Make / LangChain Developers.


🔥 Why AI & GEO Teams Need This Actor

  1. Instant /llms.txt Generator: Creates a compliant llms.txt index file (# Title, > Summary, and categorized Markdown links with descriptions) so ChatGPT Search, Perplexity, and Claude index your site accurately.
  2. Automatic sitemap.xml Discovery: Finds /sitemap.xml or /sitemap_index.xml automatically (or falls back to internal navigation links) and extracts clean Markdown from up to 50 pages per run.
  3. Multi-Page RAG Dataset in 1 Run: Outputs pagesDataset containing clean Markdown and exact LLM token counts per page.
  4. Multilingual AI Readiness Audit: Summarizes discovered URLs, token footprint, and llms.txt status in 6 languages (EN, ES, PT, FR, DE, IT).

💻 Quick Start Code Examples (Python & Node.js)

Python (apify-client)

from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_API_TOKEN")
run = client.actor("duartelabs/sitemap-to-llms-txt-markdown-rag-builder").call(run_input={
"websiteUrls": [{"url": "https://apify.com"}],
"maxPagesPerSite": 5,
"reportLanguage": "en"
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item["generatedLlmsTxt"])

🤖 1-Click Integration with Claude Desktop & Cursor (MCP)

{
"mcpServers": {
"apify": {
"command": "npx",
"args": ["-y", "@apify/actors-mcp-server", "--actors", "duartelabs/sitemap-to-llms-txt-markdown-rag-builder"],
"env": { "APIFY_TOKEN": "YOUR_APIFY_API_TOKEN" }
}
}
}

🛠️ Complete 6-Actor Automation Suite by duartelabs