Website to Markdown Crawler - Clean Content for AI & RAG avatar

Website to Markdown Crawler - Clean Content for AI & RAG

Pricing

from $0.70 / 1,000 page converteds

Go to Apify Store
Website to Markdown Crawler - Clean Content for AI & RAG

Website to Markdown Crawler - Clean Content for AI & RAG

Unofficial. Crawls a site politely from the address you give and returns one row per page: clean Markdown and plain text, title, headings, language, content hash. No browser, robots.txt respected, no login, no key. Pages that need JavaScript to show text come back thin.

Pricing

from $0.70 / 1,000 page converteds

Rating

0.0

(0)

Developer

Jack Sheward

Jack Sheward

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

5 days ago

Last modified

Features

Limited permissions

Share

Give it the address of a website or of a part of one (for example a documentation section). It reads the pages politely, breadth first, and returns one row per page: clean Markdown and plain text (headings, lists, links, block quotes, code blocks and simple tables kept), title, description, language, headings, how many link hops from the start, where the page was found, when it was last modified, a content hash that tells you whether it changed since an earlier run, and a word count. It uses plain web requests, no browser: it is the plain, honest and cheap crawler, and it says plainly what it cannot read (see Limits).

Use it to feed a documentation site or a public-body site into an AI or search pipeline, to build a knowledge base for retrieval (RAG), or to watch a site for changed pages by comparing contentHash between runs.

  • $1.00 per 1,000 pages. Pay only for rows delivered. No subscription.
  • Nothing to set up. No account, no API key, no proxies, no browser.
  • One site section at a time. Give it a start address and it stays on that host and under that directory, following links and the site's sitemaps.
  • Clean, consistent fields, ready for CSV, Excel, JSON or a database.
  • Runs on a schedule and connects to the Apify API, Make, Zapier, n8n and AI agents.

Who uses it

  • AI and search teams loading a documentation site or a public information site into an index.
  • Content teams checking which pages of a site changed between two runs.
  • Analysts exporting the titles, headings and text of one section of a site.

What you get

One row per page. A row from a default run (the start page of the prefilled input is https://go.dev/doc/; this is one of the pages it found):

{
"url": "https://go.dev/doc/editors",
"canonical": "https://go.dev/doc/editors",
"title": "Editor plugins and IDEs - The Go Programming Language",
"description": null,
"language": "en",
"markdown": "1. [Documentation](https://go.dev/doc/)\n2. [Editor plugins and IDEs](https://go.dev/doc/editors)\n\n# Editor plugins and IDEs\n\n## Introduction\n\nThis document lists commonly used editor plugins and IDEs from the Go ecosystem that make Go development more productive and seamless. A comprehensive list of editor support and IDEs for Go development is available at [the wiki](https://go.dev/wiki/IDEsAndTextEditorPlugins).\n\n## Options\n\nThe Go ecosystem provides a variety of editor plugins and IDEs to enhance your day-to-day editing, navigation, testing, and debugging experience.\n\n- [Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=golang.go): Go extension provides support for the Go programming language\n- [GoLand](https://www.jetbrains.com/go): GoLand is distributed either as a standalone IDE or as a plugin for IntelliJ IDEA Ultimate\n- [vim](https://github.com/fatih/vim-go): vim-go plugin provides Go programming language support\n\nNote that these are only a few top solutions; a more comprehensive community-maintained list of [IDEs and text editor plugins](https://go.dev/wiki/IDEsAndTextEditorPlugins) is available at the Wiki.",
"text": "Documentation\nEditor plugins and IDEs\n\nEditor plugins and IDEs\n\nIntroduction\n\nThis document lists commonly used editor plugins and IDEs from the Go ecosystem that make Go development more productive and seamless. A comprehensive list of editor support and IDEs for Go development is available at the wiki.\n\nOptions\n\nThe Go ecosystem provides a variety of editor plugins and IDEs to enhance your day-to-day editing, navigation, testing, and debugging experience.\n\nVisual Studio Code: Go extension provides support for the Go programming language\nGoLand: GoLand is distributed either as a standalone IDE or as a plugin for IntelliJ IDEA Ultimate\nvim: vim-go plugin provides Go programming language support\n\nNote that these are only a few top solutions; a more comprehensive community-maintained list of IDEs and text editor plugins is available at the Wiki.",
"truncated": false,
"wordCount": 131,
"headings": [
{
"level": 1,
"text": "Editor plugins and IDEs"
},
{
"level": 2,
"text": "Introduction"
},
{
"level": 2,
"text": "Options"
}
],
"depth": 1,
"foundOn": "https://go.dev/doc/",
"lastModified": null,
"contentHash": "d91826c1768aec01a6c2d03329350c911b16ab4a8a6089a98c6f014c7a19531b",
"site": "https://go.dev/doc/",
"scrapedAt": "2026-11-12T23:06:05Z"
}
  • url is the page address after redirects, without the #fragment. canonical is the address from the page's canonical link, made absolute, or null.
  • title, description and language come from the title element, the description meta tag (or og:description) and the lang attribute of the page. Each is null when the page gives none.
  • markdown is the page content with headings (#), lists, links (made absolute), block quotes, code blocks (with the language when the page names it) and simple tables kept. text is the same content as plain text. Each is at most 200,000 characters; truncated is true when either was cut at that size or the page was only read in part (see Limits).
  • wordCount is the number of words in text. headings lists the h1 to h3 headings of the returned content in page order as objects with level and text, at most 50.
  • depth is the number of link hops from the start page: 0 for the start page. A page that came from a sitemap is shown with depth 1. foundOn is the page that linked to it, sitemap, or start.
  • lastModified is the page's Last-Modified header or, when it has none, the date from the sitemap, as ISO 8601; null when neither exists.
  • contentHash is the SHA-256 of the returned markdown, as 64 hexadecimal characters. The same page gives the same hash while its content does not change; the hash also changes when you change onlyMainContent, because the Markdown changes.
  • site is the start address the page belongs to. scrapedAt is the time it was read, in UTC.

Input

FieldWhat it does
Start URLsWhere the crawl starts, one per line, up to 50. A bare domain gets https://. A page belongs to the crawl when it is on the same site as the start address (with or without www.) and its path starts with the start address's directory: https://example.org/docs/intro starts a crawl of /docs/. The last part of the path is taken as a file name unless the address ends with /: https://example.org/docs (no trailing slash) starts a crawl of the whole site, https://example.org/docs/ of /docs/ only.
Pages per start addressHow many addresses are requested for each start address, breadth first. Default 100, at most 5,000. Addresses that give no row (see What is not charged) count too, because they were requested.
Maximum depthHow many link hops from the start page a page may be found. Default 5. 0 follows no links. Pages found through a sitemap are not limited by it, so with the sitemap on (the default) 0 still reads the sitemap's pages: turn the sitemap off to read only the start page.
Also use the sitemapDefault on. After the start page, adds the pages of the site's sitemaps that belong to the crawl: the ones named in robots.txt, otherwise /sitemap.xml, otherwise /sitemap_index.xml.
Only addresses containingUp to 50 plain pieces of text (not patterns). When set, only pages whose address contains at least one of them (letter case ignored) are returned. Other pages are still read for their links, up to the page limit, so the crawl can reach the matching ones.
Skip addresses containingUp to 50 plain pieces of text (not patterns). A page whose address contains any of them (letter case ignored) is neither requested nor returned. The start page itself is always read, for its links.
Only the main contentDefault on. See Limits for what that keeps. Turn off to keep the whole page body.
Maximum resultsStop after this many pages in total. Default 100.

Pages are read in this order: the start page, then the sitemap addresses, then the links found on the pages, each page's links in the order they appear. Rows appear in the Output tab as pages are read. Two addresses that differ only by the #fragment, by www., by http or https, by the port :80 or :443 or by a relative path such as ../ or ./ in a link are one page and read once. A different query string, a trailing slash or letter case in the path make a different page. A page whose canonical link points to a page that was already returned is skipped.

What is not charged

An address that gives no row costs nothing. The run log and the final status message count them per reason:

  • the site's robots.txt disallows it (disallowed by robots.txt), or the robots.txt could not be read because the site answered it with a server error;
  • the site refused an automated request: HTTP 401 or 403 (also 407 and 451), a login redirect, a CAPTCHA or bot-challenge page, or a rate limit that did not go away. That site is then left alone for the rest of the run. Nothing is worked around, and a paywall or login wall is never bypassed;
  • the address is not public (private, local and internal addresses, addresses with a user name or password, ports other than 80 and 443), or it leads to another site (a redirect to a site other than your start addresses is refused);
  • the answer is not HTML with status 200 (a PDF, an image, JSON, an HTTP error, a redirect loop, a page larger than 3 MB). The log gives the reason;
  • the page holds no text after the content is cut down (for example a page that only builds its text with JavaScript);
  • the page does not match "Only addresses containing", or its canonical link points to a page already returned, or it ended outside the start address's directory after a redirect;
  • the address is a file type that is not read (images, archives, PDF, CSS, JavaScript, JSON, XML and so on) and is not requested at all.

The run fails only when no page at all could be returned, and then the message lists the reasons.

How to run it

  1. Open the Input tab. The prefilled example (the documentation of go.dev, 20 pages) works as it is; replace the address with yours.
  2. Press Start. Rows appear in the Output tab as pages are read.
  3. Download the results as JSON, CSV, Excel, XML or HTML, or read them through the Apify API.

Requests are made one at a time and at least a second apart, so a run takes roughly a second per page requested plus a few seconds for each site's robots.txt and sitemap. The default 20-page run took about 40 seconds. 1,000 pages take roughly 20 to 40 minutes, so for large sites start with a small page limit, or split the site into directories with several start addresses.

How much does it cost?

$1.00 per 1,000 pages ($0.001 per page), plus Apify's standard start charge of $0.00005 per run. There is no subscription and no rental fee.

ResultsCost
100$0.10
1,000$1.00
10,000$10.00

You pay only for rows delivered (the page charge). Platform usage is included in that price, and a run stops at the spending limit you set. The Pricing tab always shows the current price.

FAQ

Do I need an account, an API key or a proxy? No. The Actor reads public pages only and needs nothing from you besides the input.

Why did a page I can see in my browser not come back, or come back nearly empty? Most likely the page builds its text with JavaScript, which this Actor does not run, or the site disallows it in robots.txt, or the site refused an automated request. The log says which.

Can I run it on a schedule and find changed pages? Yes. Put it on an Apify schedule and compare contentHash (or lastModified) with the previous run, per url.

Can I use the text I get back? The text belongs to its publisher. The Actor returns what the site publishes to an anonymous visitor. Check the site's terms and licence before you reuse it, store it or train a model on it.

Is it safe to give it any address? The Actor only fetches public web addresses on the standard ports; private, local, internal, multicast and reserved addresses are refused, also when a redirect leads there, and so is any redirect to a site you did not start from. Every download has a size limit, every page a time limit, and pages are read with a one-pass HTML parser that stops once a tag or comment that never ends has held back more than 100 KB. Pages of 2 MB of hostile markup (endless tags, quotes and comments, attribute floods, deep nesting, 100,000 links, huge tables) were read in the tests with bounded time and output. The memory of a whole run was not measured.

Something looks wrong? Open the Issues tab on this page and include the input you used.

Limits

  • robots.txt is obeyed. A page that the site's robots.txt disallows for this Actor is not read. A site that bars all bots cannot be read at all. The Actor identifies itself honestly and does not imitate a browser, so it also cannot read sites that only serve browsers.
  • No browser, no JavaScript. Pages are not rendered. A page that needs JavaScript to show its text comes back thin or not at all, and links that a script adds are not followed. This Actor is not a replacement for a browser-based crawler on such sites.
  • One request at a time, a second apart. That is why large crawls are slow.
  • Scope. Only the start address's site (with or without www.) and its directory are crawled. Other subdomains, other sites and everything outside the directory are not. A start address that redirects to another site cannot be read; give the new address instead. A start address that redirects within its site moves the scope to where it ended. A page found by a later link that redirects outside the directory is not returned. A page already returned for one start address is not returned again for another.
  • Which links are followed. a links with an http or https address, except links marked nofollow, ugc or sponsored, links to files such as images, PDFs, archives, CSS, JavaScript, JSON and XML, mailto:, tel: and javascript: links. At most 5,000 links per page and 100,000 waiting addresses per start address are looked at. An address longer than 2,000 characters is dropped, not cut. Query strings are kept as they are: tracking parameters make separate pages.
  • Sitemaps. At most 10 sitemap files are read per start address, with index files followed two levels down. A sitemap on another site is not read. Only urlset XML sitemaps, sitemap indexes and plain-text sitemaps (also gzipped) are understood; RSS and Atom feeds are not. Reading stops once as many matching addresses are found as the page limit allows. XML with a DOCTYPE or entities is refused. Sitemap files are limited to 20 MB (50 MB unpacked).
  • Main content. With "Only the main content" on, the page's main element (or role="main") is kept when it has one; otherwise its article elements; otherwise the page without nav, aside, form, header and footer elements and without elements with the roles banner, navigation, contentinfo, complementary or search. Inside main and article, a header is kept and nav, aside, form and footer are not. This is a rule about page structure, not a judgement about content: a site that puts its menu inside main gets the menu. With it off, the whole body is kept, navigation and footer included. In both modes script, style, noscript, template, svg, iframe, object, canvas, audio, video, select, textarea, button and hidden elements (hidden, aria-hidden="true", display:none, visibility:hidden) are left out.
  • What the Markdown keeps and what it does not. Kept: headings, ordered and unordered lists (nested up to the depth the page has, indented at most six levels), links, block quotes, code blocks, inline code and simple tables. Not kept: images and their alt text, bold and italic marks, forms, and the layout of complex pages. A table is written as a Markdown table with its first row as the header, at most 200 rows and 20 columns, a cell cut at 500 characters; a nested table is flattened into its cell; a table with a single cell is written as a paragraph. Text on the page that looks like Markdown or HTML (square brackets, angle brackets, backticks) is written with a backslash in front, so it cannot turn into a link or a tag. A link longer than 500 characters, a mailto:, tel: or javascript: link and a link that only points to a fragment of the page keep their text but lose the link.
  • Email addresses and phone numbers are replaced, always. The shared scrubber replaces email addresses with [email removed] in every text field, and phone numbers with [phone removed] in free text (long strings of several words), including in markdown, text, title, description and headings, before any text is cut to length. This is a property of the tool: if you need the email addresses or phone numbers that a site publishes, use another tool. A person's name, a social-media handle or a personal website written in a page is not removed, and links to profiles stay in the Markdown as the site publishes them. Links to WhatsApp, Signal and Viber, Telegram links that hold a phone number, links with a phone parameter and links that hold an email address keep their text but lose the link, and such addresses are not followed. The scrubber also acts on text that looks like an address or a number inside a link in the Markdown, so such a link can be altered. The addresses in url, canonical, foundOn and site are delivered as they are.
  • Size limits. A page is read up to 3 MB of download and 3,000,000 characters of markup; at most 500,000 characters of text and 20,000 blocks are collected from a page; markdown and text are cut at 200,000 characters each. When any limit cut something, or reading stopped early (a tag or comment that never ended, or the page took more than 20 seconds to read), truncated is true.
  • Redirects are followed one step at a time, at most 5, and every step is checked against robots.txt and the address rules. The address a name resolves to is checked before each request and each redirect step; the connection itself resolves the name again, so a name that changes its answer between the two is not covered.
  • Server errors are retried. The shared client asks again up to three times, with pauses, when a site answers with a 5xx status. A bot-challenge page is never retried, whatever its status code. A rate limit (HTTP 429) is waited out once; if it persists the site counts as refusing.
  • Time limits. Each page gets at most 60 seconds (robots.txt, download and redirects together) and 20 more for reading its markup. A site that does not answer twice in a row is left alone for the rest of the run. A run stops early once addresses that gave no answer have together taken more than 15 minutes; rows already delivered are kept, and the log says how many addresses were not read.
  • Pages are read as an anonymous visitor. The Actor keeps no cookies, does not log in, does not solve CAPTCHAs and does not work around blocks. It cannot read content behind a login or a paywall.
  • Languages and encodings. The page's declared character set is used when it is a text character set known to Python, otherwise UTF-8; the language field is only what the page declares, not detected.
  • Unofficial. Not affiliated with, endorsed by or sponsored by any of the sites it reads. Check each site's terms before using the data commercially.