Website Content Crawler to Markdown: Docs, Sitemaps & RAG avatar

Website Content Crawler to Markdown: Docs, Sitemaps & RAG

Pricing

$1.00 / 1,000 crawled webpage to markdown & rag chunks

Go to Apify Store
Website Content Crawler to Markdown: Docs, Sitemaps & RAG

Website Content Crawler to Markdown: Docs, Sitemaps & RAG

Website to Markdown crawler & Website Content Crawler: crawl websites, docs, llms.txt & sitemap.xml into clean text, GitHub-Flavored Markdown, metadata & RAG chunks for LLMs and vector databases — no browser or API key. Export JSON/CSV. $0 start, $1/1K pages; failed pages free.

Pricing

$1.00 / 1,000 crawled webpage to markdown & rag chunks

Rating

0.0

(0)

Developer

Max Lee

Max Lee

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

37 minutes ago

Last modified

Features

Limited permissions

Share

Website & Docs to Markdown Crawler for LLM RAG

Fast pure-HTTP website and documentation crawler at 256MB RAM with zero headless browser overhead and no API key required. Click Start with default inputs to immediately discover public technical documentation via llms.txt, sitemap.xml, and same-origin HTML links, convert HTML into clean GitHub-Flavored Markdown, extract page metadata and heading outlines, and split content into overlapping LLM RAG chunks.

Features

  • Multi-source URL discovery: Automatically discovers pages from llms.txt Markdown link indexes, sitemap.xml / sitemap indexes, and recursive same-origin HTML links up to maxDepth, with optional samePathPrefixOnly, includeUrlPatterns, and excludeUrlPatterns filters.
  • Clean HTML-to-Markdown conversion: Strips <script>, <style>, <noscript>, <svg>, <iframe>, <nav>, <header>, <footer>, and <aside> boilerplate, prefers <main> / <article> when mainContentOnly is enabled, and preserves headings, inline formatting, links, images, lists, blockquotes, fenced code blocks with language tags, and GitHub-Flavored Markdown tables.
  • Metadata & headings extraction: Extracts title, metaDescription, canonicalUrl, language, author, publishedAt, headingsCount, headingsOutline, structured headings[], and internal/external link counts.
  • Configurable LLM RAG chunking: Splits Markdown along heading and paragraph boundaries with configurable chunkMaxChars, optional chunkMaxTokens (~4 chars/token) override, and chunkOverlapChars overlap. Each chunk includes index, heading, charStart, charEnd, charCount, wordCount, estimatedTokens, and text.
  • SSRF-hardened pure HTTP: Blocks private, loopback, link-local, CGNAT, and cloud metadata IPv4/IPv6 targets (with DNS resolution checks and per-hop manual redirect validation), enforces per-request timeouts, and caps streaming response bytes.

Input Example

{
"startUrls": [
"https://modelcontextprotocol.io/llms.txt",
"https://docs.python.org/3/tutorial/introduction.html"
],
"discoverLlmsTxt": true,
"discoverSitemap": true,
"crawlLinks": true,
"maxPages": 10,
"maxDepth": 1,
"mainContentOnly": true,
"includeChunks": true,
"chunkMaxChars": 1500,
"chunkMaxTokens": 0,
"chunkOverlapChars": 200
}

Pass any public documentation root, direct sitemap.xml, llms.txt, or list of article URLs into startUrls. Set chunkMaxTokens (for example 400) to size chunks by estimated token count instead of characters.

Output Fields

Every dataset item shares a flat table-ready schema plus structured headings and chunks arrays in JSON export:

  • url, canonicalUrl, domain, path, discoverySource (seed | llms_txt | sitemap | link), depth
  • httpStatus, contentType, contentFormat (html | markdown | text)
  • title, metaDescription, language, author, publishedAt
  • headingsCount, headingsOutline, headings
  • markdown, charCount, wordCount, estimatedTokens, truncated
  • chunkCount, chunks (array of { index, heading, charStart, charEnd, charCount, wordCount, estimatedTokens, text })
  • internalLinksCount, externalLinksCount, crawledAt

Pricing

Pay-Per-Event: $0 start fee, $0.001 per crawled page ($1.00 / 1,000 pages). Failed HTTP fetches, timeouts, empty pages, and SSRF-blocked URLs are never charged.