Website to Markdown Crawler for LLM and RAG
Pricing
from $1.00 / 1,000 pages
Website to Markdown Crawler for LLM and RAG
Crawl websites into clean Markdown per page for LLM and RAG pipelines: sitemaps, links, URL globs, main-content extraction, optional chunking and opt-in browser rendering. USD 1 per 1,000 pages, USD 4 more per rendered page.
Pricing
from $1.00 / 1,000 pages
Rating
0.0
(0)
Developer
Registry Data
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Features
Share
Website Markdown Crawler for LLM and RAG
Turn any website into clean Markdown, one item per page, for LLM context, RAG indexes and AI agents. Give it start URLs, sitemaps or a documentation site; it follows same-site links and sitemap entries, strips navigation, banners, comments and widgets, and returns the main content as Markdown with headings, lists, tables, code blocks (with their language) and links, plus the page metadata an index needs: title, description, language, canonical URL, published and modified dates, a content hash. Optional heading-aware chunking returns ready-to-embed pieces.
Price: $1.00 per 1,000 pages. Pages rendered in a browser add $4.00 per 1,000. Set a maximum cost per run and the run stops there. Details under Pricing.
It reads pages over plain HTTP, so it is fast and cheap: $1 per 1,000 pages. Pages that only exist after JavaScript runs (single-page apps) can be rendered with a browser for an extra $4 per 1,000 rendered pages; rendering is off by default.
By default it crawls 10 pages of a sample documentation site, so a first run needs no setup.
What you get
One item per page (or one per chunk, see Output).
| Field | Meaning |
|---|---|
url, canonical_url | Address after redirects and the canonical address the page declares |
title, description, language, site_name | Page metadata |
published_at, modified_at, last_modified | Dates the page declares, and the HTTP Last-Modified (or sitemap lastmod) |
markdown | Main content as Markdown |
text | Plain text version (optional) |
headings | Outline: level and text of every heading |
word_count, char_count, content_hash | Size, and a SHA-1 of the Markdown: equal hashes across runs mean unchanged content |
chunks | Heading-aware pieces for retrieval (optional) |
links | Absolute links on the page (optional) |
depth, source, status_code, rendered, crawled_at | How the page was found (start, link or sitemap), its distance from a start URL, HTTP status, whether the browser rendered it, and time |
Who uses it
- AI and RAG builders: index a docs site, help center or knowledge base into a vector store; chunk output carries a heading path and a stable chunk ID.
- Agents and MCP tools: fetch a site as Markdown on demand through the Apify API or MCP.
- Content and SEO teams: audit titles, descriptions, headings, word counts and duplicate content across a site.
- Data teams: snapshot documentation or policy pages and detect changes with
content_hashandmodified_at.
Input
{"startUrls": [{ "url": "https://docs.example.com/guide/" }],"maxPages": 500,"maxDepth": 3,"scope": "path","includeUrlGlobs": ["https://docs.example.com/guide/**"],"excludeUrlGlobs": ["**/changelog/**"],"outputMode": "chunk","chunkMaxChars": 1500,"renderJavaScript": "fallback"}
| Field | Meaning |
|---|---|
startUrls, sitemapUrls | Where to start; a bare domain works. Sitemaps in robots.txt and /sitemap.xml are used automatically (useSitemaps); indexes and .gz files work |
followLinks, maxDepth, scope | Follow links (default on) up to a depth, within the same host (domain), domain with subdomains (subdomains), or under the start URL path (path) |
includeUrlGlobs, excludeUrlGlobs | * matches within one path segment, ** across segments, e.g. https://example.com/docs/** |
maxPages | Stop after this many pages (default 10). Every page saved is billed |
outputMode, chunkMarkdown, chunkMaxChars, chunkMinChars, chunkHeadingLevel, chunkOverlapChars | One item per page, or per chunk. Chunks break at headings first, then between paragraphs, and never inside a code block or table |
includeText, includeLinksInMarkdown, includeImages, includeLinkList | Optional output parts |
renderJavaScript | never (default), fallback (only pages that are empty without it) or always |
renderWaitMs, maxRenderConcurrency | Extra wait after load for scripts (default 1500 ms) and browser pages at once (default 3) |
maxConcurrency, requestDelayMs | Pages in parallel (default 10) and the minimum gap per host (default 250 ms; a robots.txt Crawl-delay raises it) |
minWords | Pages with fewer words of main content count as empty and are not billed |
Output sample
Real item from a run on one start URL (books.toscrape.com, maxDepth 0), every field as the Actor returns it:
{"url": "https://books.toscrape.com/catalogue/a-light-in-the-attic_1000/index.html","canonical_url": null,"title": "A Light in the Attic | Books to Scrape - Sandbox","description": "It's hard to imagine a world without A Light in the Attic. This now-classic collection of poetry and drawings from Shel Silverstein celebrates its 20th anniversary with this special edition. Silverstein's humorous and creative verse can amuse the dowdiest of readers. Lemon-faced adults and fidgety kids sit still and read these rhythmic words and laugh and smile and love th It's hard to imagine a world without A Light in the Attic. This now-classic collection of poetry and drawings from Shel Silverstein celebrates its 20th anniversary with this special edition. Silverstein's humorous and creative verse can amuse the dowdiest of readers. Lemon-faced adults and fidgety kids sit still and read these rhythmic words and laugh and smile and love that Silverstein. Need proof of his genius? RockabyeRockabye baby, in the treetopDon't you know a treetopIs no safe place to rock?And who put you up there,And your cradle, too?Baby, I think someone down here'sGot it in for you. Shel, you never sounded so good. ...more","language": "en-us","published_at": null,"modified_at": null,"last_modified": "Wed, 08 Feb 2023 21:02:32 GMT","site_name": null,"status_code": 200,"depth": 0,"source": "start","rendered": false,"word_count": 241,"content_hash": "75b7adee929c377001c0849e2874ba47df199a09","crawled_at": "2026-11-22T09:40:02+00:00","markdown": "# A Light in the Attic\n\n£51.77\n\nIn stock (22 available)\n\n---\n\n**Warning!** This is a demo website for web scraping purposes. Prices and ratings here were randomly assigned and have no real meaning.\n\n## Product Description\n\nIt's hard to imagine a world without A Light in the Attic. This now-classic collection of poetry and drawings from Shel Silverstein celebrates its 20th anniversary with this special edition. Silverstein's humorous and creative verse can amuse the dowdiest of readers. Lemon-faced adults and fidgety kids sit still and read these rhythmic words and laugh and smile and love th It's hard to imagine a world without A Light in the Attic. This now-classic collection of poetry and drawings from Shel Silverstein celebrates its 20th anniversary with this special edition. Silverstein's humorous and creative verse can amuse the dowdiest of readers. Lemon-faced adults and fidgety kids sit still and read these rhythmic words and laugh and smile and love that Silverstein. Need proof of his genius? RockabyeRockabye baby, in the treetopDon't you know a treetopIs no safe place to rock?And who put you up there,And your cradle, too?Baby, I think someone down here'sGot it in for you. Shel, you never sounded so good. ...more\n\n## Product Information\n\n| UPC | a897fe39b1053632 |\n| --- | --- |\n| Product Type | Books |\n| Price (excl. tax) | £51.77 |\n| Price (incl. tax) | £51.77 |\n| Tax | £0.00 |\n| Availability | In stock (22 available) |\n| Number of reviews | 0 |\n","char_count": 1479,"headings": [{"level": 1,"text": "A Light in the Attic"},{"level": 2,"text": "Product Description"},{"level": 2,"text": "Product Information"}]}
Chunk output mode returns one item per chunk instead (a real item):
{"url": "https://books.toscrape.com/catalogue/a-light-in-the-attic_1000/index.html","canonical_url": null,"title": "A Light in the Attic | Books to Scrape - Sandbox","description": "It's hard to imagine a world without A Light in the Attic. This now-classic collection of poetry and drawings from Shel Silverstein celebrates its 20th anniversary with this special edition. Silverstein's humorous and creative verse can amuse the dowdiest of readers. Lemon-faced adults and fidgety kids sit still and read these rhythmic words and laugh and smile and love th It's hard to imagine a world without A Light in the Attic. This now-classic collection of poetry and drawings from Shel Silverstein celebrates its 20th anniversary with this special edition. Silverstein's humorous and creative verse can amuse the dowdiest of readers. Lemon-faced adults and fidgety kids sit still and read these rhythmic words and laugh and smile and love that Silverstein. Need proof of his genius? RockabyeRockabye baby, in the treetopDon't you know a treetopIs no safe place to rock?And who put you up there,And your cradle, too?Baby, I think someone down here'sGot it in for you. Shel, you never sounded so good. ...more","language": "en-us","published_at": null,"modified_at": null,"last_modified": "Wed, 08 Feb 2023 21:02:32 GMT","site_name": null,"status_code": 200,"depth": 0,"source": "start","rendered": false,"word_count": 241,"content_hash": "75b7adee929c377001c0849e2874ba47df199a09","crawled_at": "2026-11-22T09:39:37+00:00","chunk_index": 1,"chunk_count": 4,"heading_path": ["A Light in the Attic","Product Description"],"markdown": "## Product Description\n\nIt's hard to imagine a world without A Light in the Attic. This now-classic collection of poetry and drawings from Shel Silverstein celebrates its 20th anniversary with this special edition. Silverstein's humorous and creative verse can amuse the dowdiest of readers. Lemon-faced adults and fidgety kids sit still and read these rhythmic words and laugh and smile and love th It's hard to imagine a world without A Light in the Attic. This now-classic collection of poetry and drawings from Shel Silverstein celebrates its 20th anniversary with this special edition.","char_count": 590,"chunk_id": "75b7adee929c3770:1"}
Pricing
Pay per page: $1.00 per 1,000 pages saved ($0.001 per page). A page that needed the browser costs $0.004 more (the rendered-page event), so a rendered page is $0.005. A default run (10 pages) costs one cent. Chunk output is billed per page, not per chunk. Pages that fail, are blocked by robots.txt, return an error, are not HTML, are duplicates or have no content are never billed. maxPages caps the cost of any run.
How good is the extraction?
We measured word recall and precision of the Markdown against the main content region of 10 pages of different kinds (documentation, blog, news, e-commerce, repository README, reference docs, and a client-rendered app), next to the Apify Website Content Crawler and two open-source extractors. Over HTTP only this Actor scored F1 0.88 (recall 0.86, precision 1.00, boilerplate leakage 0.1%) against 0.82 for Website Content Crawler's HTTP crawler; with rendering on, 0.98 against 0.85 for its browser-adaptive mode. It kept 45 of 45 code blocks (the other tools 19 to 32) and 4 of 5 tables (Website Content Crawler's HTTP mode kept 5 of 5). On five further documentation, government and essay pages that the extractor was not tuned on, it scored F1 0.98 against 0.98 for the best open-source extractor and 0.77 for Website Content Crawler. The method, the pages and the caveats are in the project report.
Limits and honest notes
- robots.txt is always honored (RFC 9309: longest matching rule wins,
*and$patterns), includingCrawl-delaywith fractional values (a delay over 30 seconds makes the site not crawlable), and the crawler identifies itself asMarkdownCrawler/1.0 (+Apify Actor; honors robots.txt). Pages disallowed by robots.txt are skipped, not billed. It does not log in, solve CAPTCHAs or evade blocks: a site that answers 401, 403 or 429 gives no page. - Public addresses only. Addresses that resolve to private, loopback or link-local networks are refused, at every redirect, and so are hosts written in octal, hexadecimal, short or integer forms (
0177.0.0.1,127.1) and names that cannot be resolved. With rendering on, every page navigation (including scripts and meta refresh) is checked against robots.txt and your crawl scope, and a page that tries to leave them is not saved or billed. - Over HTTP, pages built by JavaScript are empty. They are reported as
empty_content(not billed) unless rendering is on. Rendering is slower and costs more. - Main-content extraction is heuristic. It finds the main content using page landmarks and text density; unusual layouts can include a stray sidebar or lose a section. The Markdown always keeps the headings and structure it finds.
- Page size cap: responses over 5 MB are skipped. File types such as PDF, images and archives are not crawled.
- Dates are as the page declares them, not normalized.
- Crawling a site is your responsibility: check its terms and robots policy, and respect copyright of the content you collect.
FAQ
Can it crawl my whole site? Yes: set maxPages high, keep useSitemaps on and set scope and globs. Pages are fetched at most four per second per site by default.
How do I keep an index fresh? Schedule runs, store content_hash per URL, and re-embed only pages whose hash changed. Pages unchanged since the last run still cost the page fee, so crawl only the sections that change.
Can I use it through the API or an AI agent? Yes, like any Apify Actor: start it with the Apify API, client libraries or MCP, then read the dataset.