Website to Markdown API | RAG Crawler, LLM Ready avatar

Website to Markdown API | RAG Crawler, LLM Ready

Pricing

from $0.48 / 1,000 page results

Go to Apify Store
Website to Markdown API | RAG Crawler, LLM Ready

Website to Markdown API | RAG Crawler, LLM Ready

Extract website pages to Markdown at a flat $0.65 per 1,000 pages on the free plan, no compute-unit billing, and failed, duplicate or empty pages never charged. Clean main-content Markdown for RAG and LLMs, headings and links kept.

Pricing

from $0.48 / 1,000 page results

Rating

0.0

(0)

Developer

Aurelix

Aurelix

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Features

Limited permissions

Share

What is Website to Markdown API?

Turn websites into clean Markdown your LLM can use, with menus, footers and cookie banners stripped, at a flat $0.65 per 1,000 pages, no login.

For RAG pipelines, AI agents and docs search. Plain HTTP with no browser, so runs start in seconds; robots.txt is always obeyed, and failed, duplicate or empty pages are free. Your first run with the example input costs about $0.014 (20 pages in our test run).

Website to Markdown API: example output from a real run

Website to Markdown API: 75-second demo video

โ–ถ Watch the 75-second demo

Start fromOne or more start URLs
ScopeUnder the start path or the whole site; include and exclude URL globs
Output13 fields per page; JSON, CSV, Excel, API
AutomateSchedules, webhooks, Zapier, Make, n8n, Google Sheets, MCP for AI agents
Price$0.65 per 1,000 pages (from $0.48 per 1,000 pages on paid Apify plans)
Free to tryRuns on Apify's free plan: the $5 monthly credit covers about 7,600 pages
Login neededNo

Why Website to Markdown API users pick this one

  • No compute-unit surprises. One flat price per page; failed, duplicate and empty pages are free.
  • RAG-ready rows. Title, headings, word count and URL on every page for chunking and citations.
  • Structure kept. Headings, lists, tables, code blocks and links stay Markdown; links made absolute.
  • Cheaper than the leading tools. $0.65 per 1,000 pages, no compute-unit billing.
  • Starts in seconds. Plain HTTP with no browser; robots.txt and Crawl-delay always obeyed.

Get started in 3 steps

  1. Paste one or more start URLs, e.g. https://docs.apify.com/academy, and set Max pages.
  2. Choose the scope: 'Under the start path' for one docs section, or 'Whole site'. Optionally add include or exclude URL globs such as /blog/.
  3. Click Start, then download JSON, CSV or Excel, or send the pages to your vector database, LangChain, LlamaIndex, Zapier, Make or n8n through the API.

โ–ถ Try it with the example input

The form opens with an example input already filled in: that run costs about $0.014 on the free plan.

How much does it cost to convert a website to Markdown?

Price change: From Dec 4, 2026 the per-run start fee becomes $0.005; per-result prices are unchanged.

Pay per event: you pay only for what the run returns, plus a small start fee. Bronze, Silver, Gold and higher Apify plans pay less per result. Paid plans pay $0.60 (Bronze), $0.54 (Silver) and $0.48 (Gold and higher) per 1,000 pages.

PagesFree planBronzeSilverGold
100$0.066$0.061$0.055$0.049
1,000$0.65$0.60$0.54$0.48
10,000$6.50$6.00$5.40$4.80

Totals include the $0.001 start fee per run, rounded to the cent (amounts under $0.10 to four decimals). Apify's free plan includes $5 of credit a month, enough for about 7,600 pages.

Flat $0.65 per 1,000 pages: no compute-unit surprises. Skipped pages are not charged: pages blocked by robots.txt, fetch errors, non-HTML responses, duplicate URLs or identical Markdown, pages that need JavaScript and pages with no main content.

Billing events

EventFree planBronzeSilverGold
page-result$0.65 per 1,000 pages$0.60 per 1,000 pages$0.54 per 1,000 pages$0.48 per 1,000 pages
apify-actor-start$0.001 per run$0.001 per run$0.001 per run$0.001 per run

Benchmarks: how we compare

TestInputResultRun timePeak memory
First run (prefilled input)docs.apify.com/academy, Max pages 2020 pages for $0.031 in total28 s66 MB
Throughputdocs.python.org/3/library, run timeout 600 s172 pages, stopped itself cleanly before the timeout (about 1,300 pages an hour)512 s129 MB
Content accuracy10 real pages: Wikipedia, Python docs, MDN, GNU, Go, Martin Fowler, PostgreSQL docs, Apify docs, 2 practice shops98.5% to 100% of the content blocks kept on every page; 0 boilerplate blocks leaked6 s74 MB
Huge pageone 15.8 MB HTML pageskipped, not charged, run SUCCEEDED2 s51 MB
Large pages at once3 Wikipedia pages of about 1.9 MB each3 pages converted5 s130 MB
Mixed bad inputsan HTTP 429 URL, an HTTP 404 URL and 2 good sites, Max pages 44 pages; the 429 and the 404 named in the status and not charged16 s92 MB
Blocked site3 start URLs all disallowed by robots.txt0 pages, 0 page charges, run SUCCEEDED3 s48 MB

Measured on Apify cloud runs at the default 256 MB, plain HTTP, no proxy, one run per row. Accuracy compares each page's Markdown with an independent parse of the same page's content blocks (10 pages). The first-run cost includes the $0.001 start fee; its time and memory come from a cost-test run on the same input.

What data you get

Website to Markdown API crawls a website and turns each page into one row of clean Markdown of its main content, with navigation, headers, footers, sidebars, cookie banners and scripts stripped and headings, lists, tables, code blocks and links kept. Each row also carries the URL, title, meta description, language, last-modified date, headings, links and word count for chunking and citations. Crawl one docs section or the whole site, with include and exclude URL globs.

  • url (final, after redirects), title, meta description, language, last_modified (ISO 8601 UTC)
  • markdown: the page's main content as Markdown
  • headings: [{level, text}] of the main content
  • links: absolute URLs linked from the main content
  • word_count, crawl_depth, http_status, scraped_at

Website to Markdown API: a real web page and the output this Actor returned for it

urltitleword_countlanguagelast_modifiedmarkdown
https://docs.apify.com/academyApify Academy | Academy | Apify Documentation231en2026-11-04T01:19:44Z# Apify Academy Learn everything about web scraping and ...
https://docs.apify.com/academy/scraping-with-aiWeb scraping with AI and Apify | Academy | Apify Docume...419en2026-11-04T01:19:43Z# Web scraping with AI and Apify **Learn how to use AI t...
https://docs.apify.com/academy/api-scrapingAPI scraping | Academy | Apify Documentation889en2026-11-04T01:19:43Z# API scraping **Learn all about how the professionals s...
https://docs.apify.com/academy/anti-scrapingAnti-scraping protections | Academy | Apify Documentation2442en2026-11-04T01:19:43Z# Anti-scraping protections **Understand the various ant...

One full page record, exactly as a real run returned it (long text and lists shortened here). From a real run:

{
"url": "https://docs.apify.com/academy",
"title": "Apify Academy | Academy | Apify Documentation",
"description": "Learn everything about web scraping and automation with our free courses that will turn you into an expert scraper devel... [5 more characters]",
"language": "en",
"last_modified": "2026-11-04T07:17:58Z",
"markdown": "# Apify Academy\n\nLearn everything about web scraping and automation with our free courses that will turn you into an exp... [2378 more characters]",
"headings": [
{
"level": 1,
"text": "Apify Academy"
},
{
"level": 2,
"text": "Beginner courses"
},
{
"level": 4,
"text": "Web scraping with AI"
},
"... [8 more]"
],
"links": [
"https://docs.apify.com/academy/scraping-with-ai",
"https://docs.apify.com/academy/scraping-basics-javascript",
"https://docs.apify.com/academy/scraping-basics-python",
"... [5 more]"
],
"word_count": 231,
"crawl_depth": 0,
"http_status": 200,
"source_url": "https://docs.apify.com/academy",
"scraped_at": "2026-11-04T11:25:08Z"
}

Use cases

  • AI developers loading documentation sites into a vector database for RAG
  • Teams building a chatbot or support assistant on their own help center
  • Researchers turning blogs and knowledge bases into clean text
  • AI agents that need a site's pages as Markdown through MCP

Use-case recipes

Load a docs section into a vector database

For AI developers building RAG on product documentation. Set startUrls to the docs section and keep scope on path. Split each row's markdown on its headings, embed the chunks, and store url and title with each chunk so answers can cite the page.

{
"startUrls": [
"https://docs.apify.com/academy"
],
"maxPages": 50,
"scope": "path"
}

Build a support chatbot from your help center

For support teams. Point startUrls at the help center home, set scope to domain, and exclude pages that are not answers, such as search and tag listings. Feed markdown to the chatbot's knowledge base and use last_modified to spot articles nobody has updated in a long time.

{
"startUrls": [
"https://example.com/help/"
],
"maxPages": 100,
"scope": "domain",
"excludeGlobs": [
"**/search**",
"**/tags/**"
]
}

Copy a blog into clean text for research

For researchers and writers. Use includeGlobs to keep only article URLs. Sort the rows by word_count to find the long-form pieces, and read description and headings for a quick outline before opening the full markdown.

{
"startUrls": [
"https://example.com/blog/"
],
"maxPages": 30,
"scope": "path",
"includeGlobs": [
"https://example.com/blog/**"
]
}

Keep the corpus fresh after the first copy

For teams that re-embed on a schedule. Run this Actor once for the full copy. Then schedule Website Change Tracker on the same startUrls and re-run this Actor only on the pages it reports as added or changed, so you re-embed only those.

{
"startUrls": [
"https://docs.apify.com/academy"
],
"maxPages": 20,
"scope": "path"
}

Input

FieldTypeWhat it doesDefault
startUrls (Start URLs)arrayPages to start from, e.g. ['https://docs.apify.com/academy'].["https://docs.apify.com/academy"]
maxPages (Max pages)integerStop after this many pages are converted (and charged), e.g. 100.50
scope (Crawl scope)string'path' = only URLs under the start URL's folder (start https://example.com/docs/ crawls /docs/...), 'domain' = the whole site of each..."path"
includeGlobs (Include URL globs)arrayFollow only links whose full URL matches one of these patterns, e.g. ['https://docs.apify.com/academy/**'].
excludeGlobs (Exclude URL globs)arrayNever follow links whose full URL matches one of these patterns, e.g. ['/changelog/', '**?page=*'].

All 5 fields, with examples: see the Input tab.

Use with AI agents (MCP)

MCP (Model Context Protocol) is the open standard that lets AI assistants such as Claude, ChatGPT and Cursor call outside tools. Apify's hosted MCP server at https://mcp.apify.com/?tools=aurelix/website-to-markdown gives your assistant this Actor only: it fills in the input from your request, runs it and reads the pages back, at the same per-result price as a run started by hand.

Example prompts

  • "Crawl https://docs.apify.com/academy, up to 100 pages, and give me each page as Markdown with its title and URL so I can load it into a vector database"
  • "Turn every page under https://example.com/help/ into Markdown, skip anything under /changelog/, and list the pages with their word counts in a table"
  • "Fetch the whole site https://example.com as Markdown, at most 50 pages, and tell me which pages are longest and what headings they use"

Claude Desktop and claude.ai

Settings > Connectors > Add custom connector, name it Apify, paste https://mcp.apify.com/?tools=aurelix/website-to-markdown, keep the detected OAuth settings, select Add and sign in to Apify.

Claude Code

$claude mcp add --transport http apify "https://mcp.apify.com/?tools=aurelix/website-to-markdown"

Cursor and VS Code

Add this to ~/.cursor/mcp.json (Cursor); in VS Code's .vscode/mcp.json put the same entry under "servers" with "type": "http". Sign in to Apify when asked.

{
"mcpServers": {
"apify": {
"url": "https://mcp.apify.com/?tools=aurelix/website-to-markdown"
}
}
}

ChatGPT

Turn on Developer mode, open Settings > Apps & Connectors > Create, paste the URL above as the MCP server URL, choose OAuth and authorize Apify.

Clients without sign-in send Authorization: Bearer <YOUR_APIFY_TOKEN> instead. No Apify account? This Actor supports Apify's agentic payments: an agent can pay per run with a prepaid, spend-capped token, bought with x402 stablecoin payments.

n8n AI agent

Give an AI Agent node an MCP Client Tool with the endpoint https://mcp.apify.com/?tools=aurelix/website-to-markdown and a Bearer credential holding your Apify token.

Use it from AI agents (MCP), the API or no-code

Copy this to your AI assistant

Use the Apify Actor aurelix/website-to-markdown (Website to Markdown API) through Apify's MCP server or API. Main input: startUrls (Start URLs). Example input: {"startUrls": ["https://docs.apify.com/academy"], "maxPages": 100, "scope": "path", "excludeGlobs": ["**/changelog/**"]}. Each result is one page with fields such as url, title, description, language, last_modified, markdown, headings, links. It costs $0.65 per 1,000 pages on Apify's free plan plus a $0.001 start fee per run, and needs no login.

MCP server URL for this Actor: https://mcp.apify.com/?tools=aurelix/website-to-markdown (setup for each client in the section above).

API

Start a run and read the dataset with Apify's REST API or the Python and JavaScript clients:

from apify_client import ApifyClient
client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("aurelix/website-to-markdown").call(run_input={'startUrls': ['https://docs.apify.com/academy'], 'maxPages': 100, 'scope': 'path', 'excludeGlobs': ['**/changelog/**']})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)

No-code: schedule it in 3 clicks

Send the results to Google Sheets, Zapier, Make, n8n, Slack or any webhook URL.

  1. Fill in the input, then click Save as a new task.
  2. In the task, click Schedule and pick daily or weekly (Apify Schedules).
  3. Open the task's Integrations tab to send every run's results to Slack, Google Sheets, email or any webhook.

Prefer n8n or Make? Ask in the Issues tab and we will share a ready-made workflow for it.

FAQ

Can I convert a website to Markdown without login?

Yes. It never logs in and needs no account on the site, only a free Apify account to run it. It reads the pages a logged-out visitor can see.

Is there a website to Markdown API?

You can use this Actor as one. Start it with Apify's REST API or the Python and JavaScript clients and read the results as JSON (see the code above), or call it from an AI agent through MCP.

How much does it cost to convert a website to Markdown?

About $0.65 for 1,000 pages on Apify's free plan and from $0.48 on paid plans, start fee included. The free $5 monthly credit covers about 7,600 pages.

Can I export the Markdown to Excel or Google Sheets?

Yes. Download the results as Excel, CSV, JSON, XML or HTML from the run's Storage tab, or send them to Google Sheets with Apify's Google Sheets integration or the API.

It reads only public data any logged-out visitor can see: the website you choose (crawl only sites you have the right to crawl). It goes at a polite pace, respects robots.txt, never logs in and never solves CAPTCHAs. It returns each page's main content as Markdown with title, headings and links; the content is returned as the site published it; copyright in it stays with its owner. To have a record removed, open an issue on this Actor's Issues tab; if a site owner formally asks us to stop, this Actor will stop. You are responsible for using the data lawfully, incl. anti-spam and privacy laws; this is not legal advice.

Does it work for JavaScript-heavy sites?

No. It uses plain HTTP without a browser, so pages that need JavaScript to show their content are skipped and not charged.

Is there a cheaper website content crawler for RAG on Apify?

For sites that serve their text in HTML, yes. This Actor charges a flat $0.65 per 1,000 pages on the free plan and from $0.48 on paid plans at 256 MB, and failed, duplicate and empty pages are not charged, cheaper than the leading tools. This tool doesn't render JavaScript; it reads server HTML only, so JavaScript-only sites are not covered.

How do I feed a website into ChatGPT, Claude or an n8n AI agent?

Two ways. For a fixed workflow, add Apify's n8n or Make node, choose Run Actor, enter aurelix/website-to-markdown and map the dataset to the next step. For an AI agent (Claude, ChatGPT, Cursor or an n8n AI Agent node), add https://mcp.apify.com/?tools=aurelix/website-to-markdown as an MCP server and ask for pages as Markdown in plain words; setup for each client is in the section above. Runs bill your own Apify account at the same per-result price.

Does it respect robots.txt?

Always, and it cannot be switched off. Disallowed URLs are never requested, Crawl-delay is honoured, redirects into disallowed paths are not followed, and a site whose robots.txt returns a server error is not crawled. Links on pages marked nofollow are not followed.

What is 'main content'?

The page's