Website to Markdown Crawler - Pages to Markdown for LLM & RAG avatar

Website to Markdown Crawler - Pages to Markdown for LLM & RAG

Pricing

$0.30 / 1,000 results

Go to Apify Store
Website to Markdown Crawler - Pages to Markdown for LLM & RAG

Website to Markdown Crawler - Pages to Markdown for LLM & RAG

Website to Markdown crawler: page or site URLs in, clean LLM-ready Markdown out, one row per page with title, description, headings, word / token counts, dates and a change hash. Follows links or sitemaps, respects robots.txt. HTTP only. $0.30 / 1,000 pages.

Pricing

$0.30 / 1,000 results

Rating

0.0

(0)

Developer

Giovanni Rich

Giovanni Rich

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

14 hours ago

Last modified

Features

Limited permissions

Share

Website to Markdown converter, URL to Markdown API and website content crawler in one actor: paste page URLs (one or 50,000) or a site, and get every page as clean, LLM-ready Markdown with title, description, headings, word count, token estimate, language, author, publish / modified dates, canonical URL, Open Graph data and a content hash for change monitoring. Follow links inside a docs section, read the sitemap.xml, or fetch only the URLs you list.

Built for RAG pipelines, vector databases, AI agents, chatbot knowledge bases, LLM fine-tuning, SEO audits and content monitoring. It is plain HTTP (no headless browser), so it is fast and cheap: $0.30 per 1,000 pages, no start fee, and 714 documentation pages in 38 seconds in a local sitemap test, and the 10-page default input in 4.8 s run time on the Apify cloud (1 Dec 2026). Failed pages, robots.txt-blocked URLs, PDFs and other non-HTML files are reported for free.

Sample output

Real rows from the default input (the Apify Academy JavaScript course, crawl depth 1, 10 pages), run on 1 Dec 2026 (sample-output.json):

finalUrltitlewordCountestimatedTokensheadingsdepth
docs.apify.com/academy/scraping-basics-javascriptWeb scraping basics for JavaScript devs9601,881230
.../scraping-basics-javascript/downloading-htmlDownloading HTML with Node.js1,2742,50881
.../scraping-basics-javascript/parsing-htmlParsing HTML with Node.js1,1762,23561
.../scraping-basics-javascript/extracting-dataExtracting data from HTML with Node.js1,7283,41491
.../scraping-basics-javascript/getting-linksGetting links from HTML with Node.js1,5513,31481

The Markdown of a page keeps headings, lists, tables (GitHub-flavoured), fenced code blocks with their language and line breaks, and absolute links and images:

# Parsing HTML with Node.js
**In this lesson we'll look for products in the downloaded HTML. We'll use Cheerio to turn the HTML into objects ...**
## Processing HTML
After downloading, the entire HTML is available in our program as a string ...
```js
import * as cheerio from 'cheerio';
const url = "https://warehouse-theme-metal.myshopify.com/collections/sales";
const response = await fetch(url);
```

One row (shortened):

{
"url": "https://docs.apify.com/academy/scraping-basics-javascript/parsing-html",
"finalUrl": "https://docs.apify.com/academy/scraping-basics-javascript/parsing-html",
"statusCode": 200,
"depth": 1,
"referrerUrl": "https://docs.apify.com/academy/scraping-basics-javascript",
"title": "Parsing HTML with Node.js | Academy | Apify Documentation",
"description": "Lesson about building a Node.js application for watching prices. Using the Cheerio library to parse HTML code of a product listing page.",
"h1": "Parsing HTML with Node.js",
"markdown": "# Parsing HTML with Node.js\n\n**In this lesson we'll look for products ...",
"wordCount": 1176,
"characterCount": 8937,
"estimatedTokens": 2235,
"headings": [{ "level": 1, "text": "Parsing HTML with Node.js" }, { "level": 2, "text": "Processing HTML" }],
"language": "en",
"canonicalUrl": "https://docs.apify.com/academy/scraping-basics-javascript/parsing-html",
"modifiedAt": "2026-11-30T14:02:55.000Z",
"ogImage": "https://apify.com/og-image/docs-article?title=Parsing+HTML+with+Node.js",
"mainContentSource": "article",
"internalLinkCount": 59,
"externalLinkCount": 27,
"imageCount": 2,
"contentType": "text/html",
"sizeBytes": 96792,
"contentHash": "3e1e97fde456c054",
"changeStatus": null,
"domain": "apify.com",
"crawledAt": "2026-12-01T10:24:46.159Z"
}

What you get

  • Clean Markdown of the main content: navigation, headers, footers, sidebars, cookie / consent banners, share and newsletter boxes, ads and table-of-contents blocks are removed; the article / main block is detected automatically (or set your own CSS selector). Layout tables are flattened, data tables become Markdown tables, card links become linked headings, heading anchor icons and placeholder images are dropped.
  • Metadata: title, meta description, H1, heading outline, language, canonical URL, author, published / modified date (meta, JSON-LD, <time> or the Last-Modified header), site name, og:image, og:type, keywords.
  • LLM budgeting: wordCount, characterCount, estimatedTokens, optional maxMarkdownChars cut with a markdownTruncated flag, and minWordCount to skip thin pages (not charged).
  • Optional extras: plain text, cleaned html, internalLinks / externalLinks with anchor text, images with alt text, and every schema.org JSON-LD object (Article, Product, FAQ, Organization ...).
  • Change monitoring: contentHash on every row, plus a changeTrackingStore option that remembers hashes between scheduled runs and saves (and charges) only new or changed pages.
  • Plain-text files (.txt, .md) are passed through as-is. PDFs and other files are listed in RUN_SUMMARY.nonHtmlFiles and not charged (use our PDF Text Extractor for PDFs).

Use cases

  • RAG and vector databases: turn a documentation site, help centre, blog or knowledge base into Markdown chunks for Pinecone, Qdrant, Weaviate, pgvector, LangChain or LlamaIndex.
  • AI agents and MCP: give an agent a cheap "read this URL" tool that returns compact Markdown instead of raw HTML (fewer tokens).
  • Chatbot knowledge bases: feed a support bot your own site, refreshed on a schedule.
  • Scheduled monitoring: run daily or weekly with changeTrackingStore to get only the pages whose content changed: competitor pricing / feature pages, terms and policy pages, documentation updates, regulatory notices.
  • SEO and content audits: titles, descriptions, H1s, canonicals, word counts, heading outlines and link counts for every page of a site, from its sitemap.
  • Datasets for fine-tuning and research: bulk-convert article lists into clean text.

Pricing

$0.30 per 1,000 saved pages (pay per result, $0.0003 per page), no start fee. Failed pages, robots.txt skips, PDFs / non-HTML files, pages below minWordCount and unchanged pages (with change tracking) are never charged. Platform usage is included in that price for normal runs; a proxy you turn on is billed by Apify as usual.

Actor (Apify Store, 30 Nov 2026)Price per 1,000 pagesStart feeUsers
This actor$0.30nonenew
apify/web-fetch$1.50 (Free / Bronze plan), $1.00 Gold+$0.00005 per GB74,400
apify/rag-web-browser (fetch)$2.28$0.000225215,989
6sigmag/fast-website-content-crawler$3.00$0.00154,805
pumpkinapi/website-content-crawler$3.00listed340

That is 80% under apify/web-fetch on the Free plan. To be fair about the difference: Web Fetch and Website Content Crawler can render JavaScript in a real browser and work around bot protection; this actor reads the HTML the server sends. It suits documentation, blogs, news, wikis, company and e-commerce pages that are server-rendered (most of the web); single-page apps that build all content in the browser will come back thin. Rival speeds were not measured.

How to use

  1. Paste URLs or domains into Start URLs (one per line). An empty input runs a demo on the Apify Academy course (10 pages).
  2. Choose Crawl depth: 0 = only the listed URLs, 1 = plus the pages they link to, and so on. Which links to follow keeps the crawl in the start URL's folder by default.
  3. Optional: Also read sitemap.xml to convert a whole site fast, URL include / skip patterns, page budgets (maxResults, maxPagesPerSite), main-content selector, extra fields.
  4. Run, then download the dataset (JSON, JSONL, CSV, Excel, Markdown-in-JSON) or read it through the API. RUN_SUMMARY in the key-value store lists failures, skips and per-site counts.

Example inputs

Bulk list of single pages (no crawling), plain prose for an LLM:

{
"startUrls": ["https://en.wikipedia.org/wiki/Markdown", "https://www.rfc-editor.org/rfc/rfc9309.txt", "docs.python.org/3/tutorial/index.html"],
"maxCrawlDepth": 0,
"includeImagesInMarkdown": false,
"includeLinksInMarkdown": false
}

A whole docs site from its sitemap (local test: 714 pages, 0 failed, 38 s):

{
"startUrls": ["https://crawlee.dev/js/docs"],
"useSitemaps": true,
"maxCrawlDepth": 0,
"maxResults": 0,
"maxConcurrency": 20
}

Weekly change monitor of a pricing and blog section, only new / changed pages saved:

{
"startUrls": ["https://example.com/pricing", "https://example.com/blog/"],
"maxCrawlDepth": 1,
"maxPagesPerSite": 200,
"excludeUrlPatterns": ["/tag/", "?page="],
"changeTrackingStore": "example-com-monitor"
}

Input

FieldDefaultWhat it does
startUrlsdemoURLs or domains, one per line; bulk lists welcome
maxCrawlDepth10 = listed URLs only; N = follow links N levels deep (max 20)
maxResults50Max pages saved in total (0 = no limit)
maxPagesPerSite0Max pages per start URL (0 = no limit)
crawlScopesame-pathsame-path, same-hostname, same-domain or any
useSitemapsfalseAdd in-scope URLs from robots.txt sitemaps or /sitemap.xml
includeUrlPatterns / excludeUrlPatterns-Substrings or * wildcards matched on the full URL
onlyMainContenttrueStrip boilerplate and keep the main block
mainContentSelector / removeSelectors-Your own CSS selectors
includeLinksInMarkdown / includeImagesInMarkdowntrueKeep links / images in the Markdown
saveText, saveCleanHtml, saveLinks, saveJsonLdfalseExtra fields
minWordCount0Skip (and don't charge) thinner pages
maxMarkdownChars0Cut long pages
changeTrackingStore / saveUnchangedPages- / falseSave only new or changed pages across runs
respectRobotsTxttrueSkip URLs robots.txt disallows for all crawlers
maxConcurrency / maxRequestRetries10 / 2Speed and retries (fresh session on 401 / 403 / 429)
proxyConfigurationoffApify Proxy for sites that block cloud IPs

Bad values never crash a run: a non-number, an unknown scope or an invalid CSS selector is reported in RUN_SUMMARY.inputWarnings and replaced by the default; invalid start URLs are skipped and listed.

Integrations

Use the dataset from Make, Zapier, n8n, Google Sheets, Airbyte, Slack or any webhook, call it from the Apify API / JS and Python clients, or let an AI agent pick it through the Apify MCP server: input is a list of URLs, output is one Markdown row per page, cost is $0.0003 per page. LangChain and LlamaIndex have Apify dataset loaders, so the markdown field can go straight into a vector store.

FAQ

Does it render JavaScript? No. It reads the HTML the server returns, which covers server-rendered sites (most docs, blogs, news, wikis, shops). For apps that draw everything in the browser, use a browser-based crawler.

Does it get past Cloudflare or captchas? No, and it does not try. Blocked pages (401 / 403 / 429 after retries) are listed in RUN_SUMMARY.failures and not charged. Turning on Apify Proxy helps with sites that only rate-limit cloud IPs.

Does it respect robots.txt? Yes by default: URLs disallowed for all crawlers are skipped and counted. You can switch it off for your own sites.

How are tokens counted? estimatedTokens is characters / 4, the usual rule of thumb for English text with GPT- and Claude-style tokenizers. Use it for budgeting, not billing.

How does change tracking work? With changeTrackingStore set, each page's Markdown hash is saved in a named key-value store in your account. The next run compares hashes: unchanged pages are skipped (free), new and changed ones are saved with changeStatus. Use one store name per monitor.

Can I give it thousands of URLs? Yes. Paste them into startUrls with maxCrawlDepth: 0; duplicates are removed and invalid lines skipped. Use maxConcurrency 20-50 for big lists of different sites.

What about PDFs? They are listed in RUN_SUMMARY.nonHtmlFiles and not charged. Our PDF Text Extractor converts them.

Is the content mine to use? The actor fetches public pages you choose. You are responsible for respecting each site's terms and copyright when you store or reuse the text.

Need a custom scraper or a ready dataset? Hire me on Fiverr: https://www.fiverr.com/rel8ble