Docs to Markdown (HTTP-only)
Pricing
from $5.00 / 1,000 price per page converteds
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
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
3 days ago
Last modified
Categories
Features
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 howrobots.txtwas handled.
Input
| Field | What it is |
|---|---|
startUrl | Required. URL of a sitemap.xml (a <urlset> or a <sitemapindex>, including .xml.gz children) or of a single documentation page. |
maxPages | Maximum pages converted per run (default 10, 1–100). |
includePatterns | Optional 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.txtis fetched once and URLs matching aDisallowrule 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.gzchildren are supported. robots.txtis honoured at a basic level (simpleDisallowprefix matching for*);Crawl-delayis not read — pacing is fixed at ~0.3 s.- No API key / no login: only publicly accessible docs work.