Docs to Markdown (HTTP-only) avatar

Docs to Markdown (HTTP-only)

Pricing

from $5.00 / 1,000 price per page converteds

Go to Apify Store
Docs to Markdown (HTTP-only)

Docs to Markdown (HTTP-only)

Fetches public documentation pages (from a sitemap.xml or by crawling same-origin links from one page) and converts them to clean Markdown for RAG / vector-DB ingestion. HTTP-only: no browser, no proxy, no API key, no login. Pay-per-usage: you pay only Apify compute units.

Pricing

from $5.00 / 1,000 price per page converteds

Rating

0.0

(0)

Developer

Vesper

Vesper

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Categories

Features

Limited permissions

Share

Fetches public documentation pages and converts them to clean Markdown for RAG / vector-DB ingestion — no browser, no proxy, no API key, no login.

What you get

  • Dataset — one item per converted page: url, title, markdown, wordCount.
  • combined.md (key-value store): all converted pages concatenated into one Markdown file, each page headed by its title and source URL — ready to chunk and embed.
  • summary.json (key-value store): mode used, pages fetched/returned/skipped, and how robots.txt was handled.

Input

FieldWhat it is
startUrlRequired. URL of a sitemap.xml (a <urlset> or a <sitemapindex>, including .xml.gz children) or of a single documentation page.
maxPagesMaximum pages converted per run (default 10, 1–100).
includePatternsOptional list of substrings or regular expressions; only page URLs matching at least one pattern are converted, e.g. ["/sdk/python/"]. Leave empty to convert every page found.

How it works

  • Sitemap mode: parses the sitemap (following up to 5 child sitemaps of an index) and converts the listed URLs in order, up to maxPages.
  • Page mode: fetches the start page and crawls same-origin links breadth-first, up to maxPages.
  • Cleaning: navigation, headers, footers, sidebars, scripts, styles and forms are stripped; the <main> / <article> / role="main" element is used when the docs theme provides one. The result is converted to Markdown with ATX headings; images are dropped (alt text is not content for RAG).
  • Politeness: the site's robots.txt is fetched once and URLs matching a Disallow rule for * (or for this Actor) are skipped; requests are paced (~0.3 s apart) with a descriptive User-Agent; each page times out after 20 s and pages larger than 2 MB are skipped.

Pricing

Pay-per-event: $0.005 per page converted on paid plans ($0.50 per page on the FREE plan — the free-plan run budget caps a run at ~19 pages). You also pay Apify compute units for the run. The charge runs last, after the rows are pushed to the dataset.

Sample output

{
"url": "https://docs.apify.com/api",
"title": "Apify API",
"markdown": "# Apify API\n\nThe Apify API allows you to...\n\n## Authentication\n\n...",
"wordCount": 1243
}

Limits (v1)

  • Static HTML pages only. Pages that need JavaScript to render their content (React/Vue apps without server-side rendering) return little or no text — the Actor cannot run a browser.
  • Only same-origin links are followed in page mode; external links are never crawled.
  • Sitemaps: at most 5 child sitemaps of an index are followed; .xml.gz children are supported.
  • robots.txt is honoured at a basic level (simple Disallow prefix matching for *); Crawl-delay is not read — pacing is fixed at ~0.3 s.
  • No API key / no login: only publicly accessible docs work.