Website Crawler to Markdown for AI & RAG
Pricing
from $1.00 / 1,000 pages
Website Crawler to Markdown for AI & RAG
Crawl a website or docs section into clean Markdown for LLMs and RAG. Follows links in scope, reads sitemaps and PDFs, respects robots.txt. $1 per 1,000 pages.
Pricing
from $1.00 / 1,000 pages
Rating
0.0
(0)
Developer
Владислав Новік
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
a day ago
Last modified
Categories
Features
Share
Pricing: $1.00 per 1,000 pages, one Markdown document per page. Failed pages, robots.txt skips and duplicates are free.
Crawl a website, a docs section or a blog into clean Markdown and plain text, one dataset row per page, ready for LLMs, RAG pipelines, vector databases and AI agents. Menus, ads and footers are removed; headings, lists, tables, code blocks and (if you want) links and images stay. Reads HTML pages and PDF files.
What it does
- Starts from one or more URLs and follows links level by level (breadth-first).
- Stays on the start site and, by default, inside the start URL's path:
https://site.com/docs/crawls only/docs/...pages.www.site.comandsite.comcount as the same site. - Can also take page URLs from the site's sitemap:
<start path>/sitemap.xml, theSitemap:lines of robots.txt and/sitemap.xml, including sitemap index files. - Include and exclude URL patterns, a page limit and a link depth limit.
- If a start URL redirects (to
https://,www.or/en/latest/), the crawl continues from the address it lands on. - The same page under two addresses (after a redirect, or
/docs/and/docs/index.htmlwith the same text) is returned and charged once.
Who is it for
- RAG and support bots over documentation: crawl
https://docs.yourproduct.com/and load the Markdown into your vector store. - LLM context: give a model a whole docs section or knowledge base as Markdown instead of raw HTML and save tokens.
- Content audits and migrations: titles, word counts and link depth for every page; broken links come back as
errorrows.
Input
| Field | Description | Default |
|---|---|---|
startUrls | Where the crawl starts: a site, a docs section or a single page (required). | — |
maxPages | Stop after this many pages in total, 1-10000. | 100 |
maxDepth | How many clicks away from the start URL to follow links (0 = only the start pages). | 3 |
sameDomainOnly | Follow only links on the start URL's site. | true |
stayInPath | Crawl only pages under the start URL's path. Turn off to crawl the whole site. | true |
includeUrlGlobs | Crawl only URLs matching one of these patterns, e.g. https://site.com/blog/*. | — |
excludeUrlGlobs | Skip URLs matching any of these patterns, e.g. */tag/*. | — |
useSitemap | Also take pages from the site's sitemap (inside the same scope). | false |
outputFormat | markdown, text or both. | both |
includeLinks | Keep hyperlinks in the Markdown. | true |
includeImages | Keep image references in the Markdown. | false |
maxConcurrency | Pages read at the same time, 1-10. | 3 |
respectRobotsTxt | Do not read pages that robots.txt disallows. | true |
{"startUrls": ["https://docs.python.org/3/tutorial/"],"maxPages": 50,"maxDepth": 2,"outputFormat": "markdown"}
Output
One dataset row per page:
{"url": "https://docs.python.org/3/tutorial/interpreter.html","finalUrl": "https://docs.python.org/3/tutorial/interpreter.html","status": "ok","depth": 1,"title": "2. Using the Python Interpreter","markdown": "# 2. Using the Python Interpreter\n\n## 2.1. Invoking the Interpreter\n\nThe Python interpreter is usually installed as `/usr/local/bin/python3.15`...","text": null,"wordCount": 914,"contentType": "text/html","fetchedAt": "2026-11-27T20:15:00Z","error": null}
status is ok, error (the page could not be read, for example a broken link) or skipped (a start URL that robots.txt disallows). depth is the number of clicks from the start URL. The run's status message sums it up: pages, errors, robots.txt skips and duplicates. PDFs: text from the first 50 pages.
Pricing
$1.00 per 1,000 pages (event page). You pay only for rows with status ok. Errors, robots.txt skips and duplicate pages are free. A 300-page docs site costs $0.30.
Set a spending limit for the run if you like: when it is reached, the crawl stops and returns nothing beyond the limit.
Good manners and limits
- robots.txt is respected by default. Pages it disallows are not read; for start URLs you get a
skippedrow, deeper links are only counted in the status message and do not use upmaxPages. - Crawl only sites you have the right to crawl: you are responsible for how you use the content and for following each site's terms of use. The Actor never logs in, sends no cookies and does not get around paywalls, CAPTCHAs or other protection.
- It identifies itself honestly: User-Agent
website-crawler-markdown/0.1 (Apify actor; +https://apify.com/librevlad/website-crawler-markdown); the robots.txt token iswebsite-crawler-markdown. - 3 pages at a time by default, at most 10, to keep the load on the site low.
- JavaScript is not executed: the Actor reads the HTML the server sends. That keeps it fast and cheap for documentation, blogs and help centers; pages that render content only in the browser may come back empty.
- Limits: 3 MB per HTML page, 15 MB per PDF, about 25 seconds per page. Private, local and internal network addresses are blocked.
FAQ
Only a few pages instead of the whole site? By default the crawl stays inside the start URL's path. Start from the site root or turn off stayInPath, and raise maxDepth or maxPages. On sites with few links between pages, turn on useSitemap.
Why fewer pages than maxPages? maxPages counts every page taken into the crawl, including pages that failed. The site may also simply have fewer pages in scope.
I have a list of URLs, not a site. Put them into startUrls and set maxDepth to 0, or use Website to Markdown for AI.
Am I charged for errors? No, only for rows with status ok.
Scanned PDFs? No OCR: only PDFs with a text layer give text.
How do I chunk and index the output? See docs-to-rag, an open-source example that splits the Markdown at headings without cutting code blocks and loads the chunks into Chroma. Its crawl_apify.py runs this Actor and saves the pages for the next steps.
More actors from the same developer
Pay only for results, no logins:
- Website to Markdown — turn a list of pages and PDFs into clean Markdown or text.
- Website Screenshot & PDF — full-page and mobile screenshots, URL to PDF.
- YouTube Transcript Scraper — transcripts as plain text, timestamped segments or SRT.
- YouTube Search & Channel Videos — search results and every video of a channel.
- YouTube Shorts Scraper — Shorts from keyword search and from channels' Shorts tab.
- App Store Scraper — app details, keyword search positions and reviews from Apple's public API.
- Google Trends Scraper — interest over time, interest by region and related queries.
- Threads Scraper — public Threads posts and profiles without login.