Sitemap Scraper - Crawl Sitemap URLs to Markdown for RAG avatar

Sitemap Scraper - Crawl Sitemap URLs to Markdown for RAG

Pricing

Pay per event

Go to Apify Store
Sitemap Scraper - Crawl Sitemap URLs to Markdown for RAG

Sitemap Scraper - Crawl Sitemap URLs to Markdown for RAG

Convert every page in a website or sitemap to clean Markdown for LLMs, RAG and llms.txt. 1 converted page = 1 event. Failed pages are never charged.

Pricing

Pay per event

Rating

0.0

(0)

Developer

Bin Bin

Bin Bin

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Categories

Features

Limited permissions

Share

Sitemap to Markdown Crawler — Bulk Website Pages for LLM & RAG

Turn a whole website — or one sitemap — into clean, per-page Markdown ready for LLM context, RAG ingestion, fine-tuning datasets or an llms.txt file. Point it at a site or a sitemap, set how many pages you want, and get one dataset row per page.

Pay per converted page: $0.002 per page (plus a $0.00005 run start). Failed pages are not charged.

Only have a list of URLs, not a whole site? Use AI Web Crawler instead — same Markdown output, no sitemap discovery.

What it does

  • Discovers pages from robots.txt Sitemap lines, /sitemap.xml, /sitemap_index.xml, nested sitemap indexes and gzipped .xml.gz sitemaps; falls back to start-page links.
  • Converts each page's main content to Markdown: headings, lists, bold/italic, inline code, fenced code blocks, absolute links. Strips nav, header, footer, forms, scripts and styles.
  • Optional: builds llms.txt and llms-full.txt from the same run, at no extra charge.
  • Respects robots.txt by default.

Transparent pricing

  • $0.002 per successfully converted page. That is the only event this Actor charges.
  • Failed pages cost $0. 404s, timeouts, non-HTML files, robots-blocked or JS-only pages are written as type: "error" rows with the reason, and never billed.
  • No format multipliers. Adding llms.txt / llms-full.txt does not change the price.
  • Your budget is respected. If you set a maximum charge per run, the Actor stops cleanly when it is reached and tells you how many pages were left unprocessed (and unbilled).
Pages convertedCost
100$0.20
500$1.00

Input

FieldDefaultNotes
siteUrl—Website start URL. Use this or sitemapUrl.
sitemapUrl—Direct sitemap / sitemap index / .xml.gz. Wins if both are set.
maxPages100Cap 500. Larger values are capped with a notice, never rejected.
outputModepagespages or pages_and_llmstxt
respectRobotstrueSkip pages disallowed for this crawler (not billed).
concurrency51–10 parallel fetches.

Output

Dataset — one row per page:

{ "type": "page", "url": "https://example.com/docs/intro", "finalUrl": "https://example.com/docs/intro",
"title": "Introduction", "markdown": "# Introduction\n\n...", "chars": 4210, "ok": true,
"status": 200, "warnings": [], "billed": true }

Failed pages — separate error rows, never billed:

{ "type": "error", "url": "https://example.com/old-page", "ok": false,
"stage": "page", "status": 404, "error": "HTTP 404", "billed": false }

Key-value store:

  • OUTPUT — run summary: pages succeeded/failed, units charged, discovery source, notices, errors.
  • llms.txt, llms-full.txt — when outputMode is pages_and_llmstxt.

Reliability

Every page is processed in isolation. A page that fails, times out or throws never stops the run. The run always finishes with a structured OUTPUT, even on invalid input.

Limits

  • Static HTML only. Pages that render content with JavaScript show up as error rows ("No extractable text") or with a thin_content warning.
  • Tables are flattened to plain text.
  • Only URLs on the same host as the input (www-insensitive) are converted.
  • Per-page Markdown is capped at 60,000 characters (markdown_truncated_60k warning).
  • Private/internal hosts are refused.

Also available

  • llms.txt Generator and AI Crawler Access Audit — free web tools at tools.newkwlab.com.