Website to Markdown Crawler & API for RAG avatar

Website to Markdown Crawler & API for RAG

Pricing

from $1.20 / 1,000 page reads

Go to Apify Store
Website to Markdown Crawler & API for RAG

Website to Markdown Crawler & API for RAG

Website to Markdown for LLMs and RAG, from $1.50 per 1,000 pages. Read single pages, crawl whole sites, map every URL, read PDFs and, with your own Anthropic key, pull AI fields you describe in plain words. Also runs as a fast HTTP API in standby mode and as an MCP server.

Pricing

from $1.20 / 1,000 page reads

Rating

0.0

(0)

Developer

Byteblisk

Byteblisk

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

17 days ago

Last modified

Features

Limited permissionsSingle-tenantServer interface

Share

Website to Markdown Crawler & API for RAG by Byteblisk turns any web page, or a whole website, into clean Markdown or structured JSON for LLMs, RAG pipelines, chatbots and AI agents. It strips menus, footers and cookie banners, crawls a site by depth and path rules, lists every URL of a domain, and, with your own Anthropic API key, can pull the fields you describe in plain words. Pricing is pay per event: $1.50 per 1,000 pages, and pages that come back empty are free. It also runs as an HTTP API and as an MCP server for Claude, Cursor and other agents. (In the API and MCP docs the same tool is called SiteReader.)

What can this web scraper and crawler do?

  • Read pages as Markdown. Only the main content, with links, images and page details when you ask for them.
  • Crawl whole sites. Explore a site by depth, path rules and a page limit, or discover every URL of a domain from its sitemap and links.
  • AI fields (your own Anthropic key). Describe what you need ("every open job with title, location and link") and get JSON back. This works only when you enter your own Anthropic API key in the secret input field. Anthropic bills the AI step to your key and this actor charges nothing for it; the pages are still charged as normal page reads.
  • Ready-made feeds. Greenhouse, Lever and Ashby job boards, Shopify stores, WordPress sites and RSS or Atom feeds, as clean items.
  • JavaScript pages. A real browser is used only where a page needs one, so the rest stays fast and cheap.
  • Platform features. Schedules, API access, webhooks and integrations come with Apify, and you can set a maximum cost per run.

Who uses it

  • AI engineers feeding RAG pipelines, vector databases and support chatbots with documentation and help-center pages
  • Growth and sales teams turning websites into lead lists, job lists and price lists
  • Researchers and analysts collecting web content in a repeatable way
  • Agent builders who need the live web as a tool

What data can this actor extract?

FieldDescription
urlThe address the page was finally read from, after redirects
markdownMain content as Markdown (menus, footers and banners removed unless Content is set to Full page)
textThe same content as plain text, for search indexes and vector databases
html, raw_htmlCleaned HTML, or the HTML exactly as the site sent it
links, imagesEvery link and image on the page, as absolute URLs
screenshotFull-page screenshot as a data URL (PNG, base64)
summaryA short AI summary of the page (3-5 sentences). Needs your own Anthropic key
fieldsThe fields you asked the AI to extract, shaped by your JSON schema when you give one. Needs your own Anthropic key
structuredWhat the page publishes for machines: JSON-LD, Open Graph tags, tables, headings, and items such as job postings, products and articles. No AI cost
infoTitle, description, language, status code, engine used (fetch, browser, pdf, docx, wayback) and the archive date when an archive copy was used
content_warningPresent when the page contains text that looks like instructions to an AI, so your agent treats the page as data

How to scrape a website to Markdown

  1. Open the Input tab and choose What to do: Read pages, Explore a site, Discover a site's URLs, AI fields across pages, Ready-made feed or Watch pages for changes.
  2. Add one or more URLs.
  3. Pick the Output you need. For AI fields, add AI fields, describe what to extract in AI: what to extract and enter your Anthropic API key.
  4. Click Start. Results appear in the Output tab and can be downloaded as JSON, CSV, Excel or HTML. URLs that failed are listed in the ERRORS record of the run's key-value store.

Input example

Read up to 50 pages of a documentation site as Markdown:

{
"mode": "explore",
"urls": [{"url": "https://docs.apify.com/"}],
"limit": 50,
"output": ["markdown"]
}

Input options worth knowing

  • Browser steps take a JSON list, for example [{"do": "click", "selector": "#load-more"}, {"do": "wait", "ms": 1000}].
  • AI fields: end a URL with /* to let the actor pick the most relevant pages of that site.
  • Content, Keep only these parts and Remove these parts keep the Markdown short for AI. Wait after load (ms) helps job boards and widgets that load late (try 1000-2000).
  • robots.txt is ignored by default; choose Respect to follow each site's rules.
  • Discover also reads a site's /llms.txt (a list of pages written for AI) when it has one.
  • Custom HTTP headers and Cookies are sent only to the URLs of your run; pages read with cookies are never cached.
  • When a site blocks the request: choose Use the archive copy to get its latest Internet Archive copy, marked with its date.

Output example

{
"url": "https://books.toscrape.com/",
"markdown": "# All products\n\n* [A Light in the Attic](https://books.toscrape.com/catalogue/a-light-in-the-attic_1000/index.html) Β£51.77 ...",
"fields": {"books": [{"title": "A Light in the Attic", "price": "Β£51.77"}]},
"info": {"title": "All products | Books to Scrape - Sandbox", "status_code": 200, "engine": "fetch"}
}

How much does it cost to scrape websites?

The actor uses pay per event: you pay for what is done, and your free Apify monthly credit covers trying it.

EventPriceWhen it is charged
Page read$0.0015Each page read with a fast HTTP fetch, a PDF or Word file, or an archive copy
Page read in a browser$0.004Each page rendered in a real browser (JavaScript, steps, screenshots)
AI summary or AI fields$0 hereRun on your own Anthropic key, which Anthropic bills to you. The pages read are charged as page reads
Page through a country proxy+$0.005Extra per page read through Apify Proxy in the country you choose
Site map$0.01One list of a site's URLs

Empty pages are free. The Pricing tab always shows the current prices.

AI summaries and AI fields work only with your own Anthropic API key. Without a key the run reads no pages and returns one error row that says so, with nothing charged.

Cost examples

JobCost
1,000 simple pages as Markdown$1.50
1,000 JavaScript-heavy pages (real browser)$4.00
1,000 pages with AI fields, your own Anthropic key$1.50 here (AI billed by Anthropic to your key)
A site map of one domain$0.01
A page that comes back emptyfree
A real run: 50 pages of docs.apify.com to Markdown (about 307,000 characters)$0.075, 2 min 22 s

Use it as an API

Run the actor in standby mode and call it over HTTP with your Apify token:

curl -X POST "https://byteblisk--sitereader.apify.actor/v1/read" \
-H "Authorization: Bearer $APIFY_TOKEN" -H "Content-Type: application/json" \
-d '{"url": "https://example.com", "output": ["markdown", "links"]}'

Every answer has the same shape: {"ok": true, ..., "cost": {"units": 1}}, or {"ok": false, "error": "..."}. Long tasks (/v1/explore, /v1/read/batch, /v1/fields) return a job you follow at /v1/jobs/{id}. There is also a one-line GET /v1/read?url=.... The full API description is on the Server tab. Normal runs can also be started from the Apify API, the Python and JavaScript clients, or a schedule: see the API tab.

Connect your AI agent (MCP)

The actor is also an MCP server, so Claude, Cursor, VS Code and any MCP client can use it as a tool. Add this to your client's MCP settings (your Apify token goes in the header):

{
"mcpServers": {
"sitereader": {
"url": "https://byteblisk--sitereader.apify.actor/mcp",
"headers": {"Authorization": "Bearer <APIFY_TOKEN>"}
}
}
}

Tools: read, read_batch (up to 10 pages), discover, explore, fields, feed and usage. Pages that contain text trying to give orders to an AI are flagged with content_warning.

The AI parts (summary and fields) need an Anthropic key, and only normal runs take your key; the HTTP API and MCP have no field for it, so they do not offer AI today. An AI assistant connected over MCP can read the page as Markdown and do the AI step with its own model.

Tips

  • Keep Engine on Auto: the browser is used only where it is needed, which keeps runs cheap.
  • Use Content Main content and Remove these parts to keep Markdown short for AI.

How do I convert a website to Markdown for an LLM?

Run Website to Markdown Crawler & API for RAG in explore mode with the site's start URL: it follows links within the site and returns each page as Markdown, at $1.50 per 1,000 pages ($4 per 1,000 pages that need a real browser). Menus, footers and cookie banners are removed by default, so the text you feed to a model is the page content.

{
"mode": "explore",
"urls": [{"url": "https://docs.apify.com/"}],
"limit": 200,
"depth": 3,
"only_paths": ["^https://docs\\.apify\\.com/platform"],
"output": ["markdown", "text"]
}

Each dataset row has url, markdown, text and info (title, status code, language, engine used). limit caps the number of pages, depth the link levels from the start page, and only_paths and skip_paths take regular expressions to keep the crawl on the sections you want.

A real run of 50 pages of docs.apify.com took 2 min 22 s, produced about 307,000 characters and cost $0.075. Limits: pages behind a login are not read unless you provide cookies, and a site that blocks the request is listed in the ERRORS record of the run.

How do I convert a URL to Markdown in Python?

Call the actor with apify-client and read the markdown field from the dataset. One page read with a fast fetch costs $0.0015.

from apify_client import ApifyClient
client = ApifyClient("<YOUR_API_TOKEN>")
run = client.actor("byteblisk/sitereader").call(run_input={
"mode": "read",
"urls": [{"url": "https://example.com/pricing"}],
"output": ["markdown"],
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item["url"])
print(item["markdown"])

For many URLs, add them all to urls; they are read in one run. Pages that rely on JavaScript are rendered in a browser only when needed (engine is auto), and that page is billed at $0.004. Set "engine": "browser" to force it and "wait_ms": 1500 for content that loads late.

For a quick call without a run, the actor also runs as an HTTP API in standby mode; the curl example is in the section on using it as an API. Limits: a page that comes back empty is free, but it also gives you no text, so check info.status_code and the ERRORS record.

How do I convert a website to Markdown for RAG?

Crawl the site to Markdown, then split and embed it in your own pipeline. Use text for plain-text indexes and markdown when headings should guide your chunking. $1.50 per 1,000 pages covers the crawl; the actor does not chunk or embed.

{
"mode": "explore",
"urls": [{"url": "https://help.example.com/"}],
"limit": 500,
"content": "main",
"drop": ["nav", "footer", ".cookie-banner"],
"output": ["markdown", "structured"]
}

drop removes parts by CSS selector, keep does the opposite, and structured returns what the page publishes for machines (headings, tables, JSON-LD). Page url values make it easy to cite sources in answers. Use "mode": "discover" first to list a domain's URLs for $0.01 and check the size before you pay for the crawl.

If your RAG index should also cover what users say about your app, App Store Reviews Scraper & Google Play Reviews writes reviews in a similar record format.

Limits: pages that contain text addressed to an AI are flagged with content_warning, so your agent can treat them as data. Keep robots on respect if the site asks crawlers to stay out, since the default is ignore.

Is there a free website to Markdown converter?

Not free, but cheap: this actor costs $1.50 per 1,000 pages, and an Apify account comes with a monthly free credit that is enough to try it on your own pages. Pages that return nothing are not charged.

To test before you spend anything, read a single page:

{"mode": "read", "urls": [{"url": "https://example.com"}], "output": ["markdown"]}

That run costs $0.0015. Fifty pages cost about $0.075. A site where every page needs a browser costs $4 per 1,000, and AI fields (summaries and extraction) need your own Anthropic key in anthropic_api_key; Anthropic bills that key directly and this actor adds no charge for the AI step.

For one-off pages, a browser extension or a command-line tool on your machine may be enough. The actor is for the cases where you want many pages, a schedule, an API or the same output shape every time.

FAQ

Our Actors are ethical and do not extract any private user data, such as email addresses, gender, or location. They only extract what the user has chosen to share publicly. We therefore believe that our Actors, when used for ethical purposes by Apify users, are safe. However, you should be aware that your results could contain personal data. Personal data is protected by the GDPR in the European Union and by other regulations around the world. You should not scrape personal data unless you have a legitimate reason to do so. If you're unsure whether your reason is legitimate, consult your lawyers.

A site returned an error or blocked the request. What happens?

The actor stops reading that site for the run and lists the URL in the ERRORS record. Choose When a site blocks the request Use the archive copy to get the latest archived version instead.

Do I need an Anthropic key?

Only for the AI features: AI summary and AI fields. Enter your own key in the secret field Your Anthropic API key; Anthropic bills your key and this actor charges nothing for the AI step. Without a key, a run that asks for an AI feature reads no pages and returns one error row that says a key is needed, with nothing charged. Reading pages as Markdown never needs a key.

Can it read PDFs?

Yes. PDF and Word files are read as pages and billed as a fast page read.

What are the limits?

Max pages / URLs / results defaults to 50, Explore depth to 3 levels, and Seconds between requests to one site to 2. Change them in the Input tab, and set a maximum cost per run in the run options.

Support and other Byteblisk actors

Found a bug or need a feature? Open an issue in the Issues tab; we answer every one.

Built and supported by Byteblisk. The three actors share record conventions, API style and MCP design, so an AI agent can use them together:

More guides and examples: https://byteblisk.github.io