Website Content Crawler: Markdown for AI & RAG
Pricing
from $0.60 / 1,000 page or files
Website Content Crawler: Markdown for AI & RAG
Crawl websites and save each page's main content as clean Markdown and text, with metadata, sitemaps, llms.txt and RAG chunks. For LLMs, AI agents, vector databases and knowledge bases. Fast HTTP crawler, no browser.
Pricing
from $0.60 / 1,000 page or files
Rating
0.0
(0)
Developer
API Creators
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
5 days ago
Last modified
Categories
Features
Share
Website Content Crawler crawls any website and saves the main content of every page as clean Markdown and plain text, with title, description, language, canonical URL, Open Graph and JSON-LD metadata. It drops menus, footers, cookie banners and pop-ups, so the output is ready for LLMs, RAG pipelines, vector databases, custom GPTs, AI agents and knowledge bases.
It's a fast HTTP crawler with no headless browser, so it crawls hundreds of pages per minute and costs a fraction of browser-based crawlers.
What can Website Content Crawler do?
- 🕸️ Crawl whole sites or sections. Start from any URL and follow links below it, with depth, page and pattern limits.
- 🗺️ Find every page. Optionally read sitemaps (including sitemap indexes and
.xml.gz) and/llms.txtfiles to find pages that aren't linked. - 🧹 Main content only. Mozilla Readability extracts the article; navigation, footers, scripts, banners and cookie consent pop-ups are removed. You can also keep or remove your own CSS selectors.
- 📝 Markdown that keeps structure. Headings, lists, tables, links, images and fenced code blocks are preserved.
- ✂️ RAG chunks built in. Split each page into chunks of a chosen size and overlap, ready for embeddings.
- ♻️ Incremental updates. Crawl only pages changed since a date, using sitemap dates,
Last-Modifiedand304responses. - 📎 Linked files. Download PDFs, Word, Excel, PowerPoint and CSV files linked from pages.
- 🔁 No duplicates. Pages are de-duplicated by canonical URL and redirects; tracking parameters are ignored.
- 🛡️ Built-in proxies. Datacenter IPs first, residential IPs only for sites that block them. No setup needed.
What data does it extract?
| Field | Description |
|---|---|
url | The page URL |
crawl.loadedUrl, crawl.depth, crawl.referrerUrl, crawl.httpStatusCode, crawl.loadedTime | How and when the page was crawled |
metadata.title, metadata.description, metadata.author, metadata.keywords | Page metadata |
metadata.languageCode, metadata.canonicalUrl | Language and canonical URL |
metadata.openGraph, metadata.jsonLd | Open Graph tags and structured data (JSON-LD) |
metadata.headers | HTTP response headers |
markdown | Main content as Markdown |
text | Main content as plain text |
chunks | Markdown split into chunks (optional) |
html / htmlUrl | Cleaned content HTML, in the dataset or as a file (optional) |
fileUrl | Link to a downloaded document (for file results) |
crawl.warning | Set when a page needs JavaScript to show its content (see FAQ) |
How do I crawl a website for AI or RAG?
- Enter one or more Start URLs, e.g.
https://docs.example.com/. - Optionally turn on Load URLs from sitemaps and set Max pages.
- Click Start. Each page appears in the dataset as it's crawled.
- Export the results as JSON, CSV or Excel, or connect them to LangChain, LlamaIndex, Pinecone, Qdrant or a custom GPT through Apify integrations.
The crawler stays inside the start URL's path: https://example.com/blog covers /blog/post-1 but not /pricing. Add Include URL patterns to go wider, or Exclude URL patterns to skip sections.
Input example
{"startUrls": [{ "url": "https://developer.mozilla.org/en-US/docs/Web/HTML" }],"maxCrawlPages": 500,"maxCrawlDepth": 3,"useSitemaps": false,"excludeUrlGlobs": [{ "glob": "https://developer.mozilla.org/**/contributors.txt" }],"splitIntoChunks": true,"chunkSize": 1500}
Output example
Real result (text shortened):
{"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes","crawl": {"loadedUrl": "https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes","loadedTime": "2026-11-20T14:25:20.850Z","referrerUrl": "https://developer.mozilla.org/en-US/docs/Web/HTML","depth": 1,"httpStatusCode": 200},"metadata": {"canonicalUrl": "https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes","title": "Global attributes - HTML | MDN","description": "Global attributes are attributes common to all HTML elements; they can be used on all elements, though they may have no effect on some elements.","author": null,"keywords": null,"languageCode": "en-US","openGraph": [],"jsonLd": [],"headers": { "content-type": "text/html", "last-modified": "Fri, 20 Nov 2026 13:12:38 GMT" }},"screenshotUrl": null,"text": "Global attributes are attributes common to all HTML elements; they can be used on all elements, though they may have no effect on some elements.\nGlobal attributes may be specified on all HTML elements…","markdown": "# Global attributes - HTML | MDN\n\n**Global attributes** are attributes common to all HTML elements; they can be used on all elements, though they may have no effect on some elements.\n\nGlobal attributes may be specified on all [HTML elements](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements), _even those not specified in the standard_…"}
A run summary (pages per minute, traffic, skipped and failed URLs) is saved in the key-value store as SUMMARY.
How much does it cost to crawl a website?
You pay per saved page or file. Pages skipped as duplicates, failed pages and blocked pages are free.
| Plan | Price per 1,000 pages |
|---|---|
| Free | $1.00 |
| Bronze | $0.80 |
| Silver | $0.70 |
| Gold, Platinum, Diamond | $0.60 |
Crawling 10,000 documentation pages costs $6–10. Set Max pages or a maximum cost per run to stay within budget.
How do I use it from code?
Python
from apify_client import ApifyClientclient = ApifyClient("<YOUR_API_TOKEN>")run = client.actor("api_creators/website-content-crawler").call(run_input={"startUrls": [{"url": "https://docs.example.com/"}],"useSitemaps": True,"maxCrawlPages": 1000,})for page in client.dataset(run["defaultDatasetId"]).iterate_items():print(page["url"], len(page["markdown"]))
JavaScript
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: '<YOUR_API_TOKEN>' });const run = await client.actor('api_creators/website-content-crawler').call({startUrls: [{ url: 'https://docs.example.com/' }],splitIntoChunks: true,});const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(items[0].chunks);
What can I use it for?
- RAG and chatbots: load documentation, help centers or blogs into a vector database so a chatbot answers from your content.
- Custom GPTs and AI assistants: export a whole site as a knowledge file.
- AI agents: give an agent clean page text instead of raw HTML, which uses far fewer tokens.
- LLM fine-tuning and evaluation datasets.
- Content audits and migrations: get every page's title, description, canonical URL and text in one table.
- Change monitoring: re-crawl only pages changed since the last run.
Is it compatible with Apify's Website Content Crawler?
Yes, for the HTTP options. The input fields and output fields have the same names (startUrls, includeUrlGlobs, maxCrawlDepth, htmlTransformer, removeElementsCssSelector, url, crawl, metadata, text, markdown, …), so existing inputs and pipelines work unchanged. Browser-only options (waiting, scrolling, clicking, screenshots) and AI summaries aren't available, because this crawler doesn't run a browser.
FAQ
Does it render JavaScript?
No. It reads the HTML the server sends, which covers documentation, blogs, news, help centers and most company sites. Single-page apps that build all their content in the browser come back nearly empty; those pages get a crawl.warning, so you can spot them.
Will it get blocked?
Most sites are fine. Sites behind strict bot protection (CAPTCHAs or JavaScript challenges) are skipped rather than forced: the crawler never solves CAPTCHAs. Such pages are listed under failedUrls in the run summary and cost nothing.
Does it crawl pages behind a login? No. It crawls public pages only.
How do I avoid crawling the whole internet? The crawler never leaves the start URL's path unless you add Include URL patterns. Max pages, Max crawling depth and Max results cap a run.
Can I crawl only the pages I list?
Yes: set Max crawling depth to 0 and put all URLs in Start URLs, or link a text file with one URL per line.
Is web crawling legal? Crawling publicly available pages is generally legal, but you're responsible for how you use the content, including copyright and personal data under GDPR and similar laws. Turn on Respect robots.txt to follow site owners' crawling rules.
Need a feature or found a problem? Open an issue on the Issues tab.