Website to Markdown for LLMs & RAG | $1/1K Pages avatar

Website to Markdown for LLMs & RAG | $1/1K Pages

Pricing

from $1.00 / 1,000 pages

Go to Apify Store
Website to Markdown for LLMs & RAG | $1/1K Pages

Website to Markdown for LLMs & RAG | $1/1K Pages

Crawl a website or a list of URLs and get clean Markdown of the main content for ChatGPT, LLMs, RAG and vector databases. Removes menus, footers and cookie banners, keeps tables and links, and builds one llms-full.md file. No browser, no proxies, pay per page.

Pricing

from $1.00 / 1,000 pages

Rating

0.0

(0)

Developer

Tim Tonat

Tim Tonat

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

10 days ago

Last modified

Features

Limited permissions

Share

What does Website to Markdown for AI, LLMs & RAG do?

This Actor crawls a website and turns every page into clean Markdown, ready for ChatGPT, Claude, custom GPTs, RAG pipelines and vector databases. Enter a homepage (or a list of URLs) and get one row per page with the main content as Markdown, plus one combined llms-full.md file with the whole site.

Menus, headers, footers, forms, language switchers and cookie banners are removed automatically. Headings, lists, tables, links and images are kept, and relative links become absolute URLs. It reads the HTML directly, without a browser and without proxies, so runs are fast and cheap.

Try it in one click: the form is prefilled with the Apify Academy and a limit of 20 pages. That first run takes a few seconds and costs about $0.02. No API key, no subscription.

Why use this website to Markdown converter?

  • Build a knowledge base for your chatbot: feed your docs, help center or product pages into a custom GPT, Claude Project or RAG app
  • Create llms-full.txt for your website: the combined file lists every page with its title and source URL
  • Clean input for embeddings: no navigation noise repeated on every page, so vector search finds real content
  • Stay focused with URL patterns: crawl only /docs/** or exclude /tag/**
  • Pay per page: you control the cost with Max pages
  • Run it from the Apify API, Make, Zapier, n8n or LangChain, or schedule it to keep your knowledge base fresh

What data does it return?

FieldDescription
urlFinal URL of the page
title, description, langPage title, meta description and language
markdownMain content as Markdown
wordCountWords in the main content
crawlDepth, foundOnClicks from the start URL and the page that linked to it
truncatedTrue if the Markdown was cut at 2 million characters
errorReason if the page could not be loaded

The key-value store record llms-full.md contains all pages in one file, each starting with its title and source URL. It is limited to 8 MB; the dataset always contains every page in full.

How to convert a website to Markdown

  1. Click Try for free.
  2. Enter your homepage in Start URLs.
  3. Check Max pages: the form starts at 20, so you can look at the result before converting the whole site.
  4. Optional: limit the crawl with Include URLs, e.g. https://example.com/docs/**.
  5. Click Start.
  6. Download the dataset as JSON, CSV or Excel, or open llms-full.md in the Storage tab.

How much does it cost?

This Actor uses pay per event: a fixed price per converted page, and platform usage is included. It costs $0.001 per page, so 1,000 pages cost $1. The Pricing tab always shows the binding price. Pages that return an error or can't be reached are not charged. With Max pages you always know the maximum cost in advance.

ExamplePagesCost
First test run20about $0.02
Help center or product docs500about $0.50
Large documentation site5,000about $5.00

Use it from Python (e.g. for a RAG pipeline)

from apify_client import ApifyClient
client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("veedel_digital/website-markdown").call(
run_input={"startUrls": [{"url": "https://docs.example.com/"}], "maxPages": 500}
)
for page in client.dataset(run["defaultDatasetId"]).iterate_items():
print(page["url"], page["wordCount"]) # split page["markdown"] into chunks and embed them

The same works from JavaScript (apify-client), the REST API, n8n, Make, Zapier, and from AI agents through the Apify MCP server.

Use it with AI agents (MCP)

This Actor works as a tool for Claude, ChatGPT, Cursor and other AI assistants through the Apify MCP server. Add this server URL to your MCP client:

https://mcp.apify.com?tools=veedel_digital/website-markdown

Then ask in plain language, for example: "Convert the documentation at this URL to Markdown so you can answer questions about it."

The assistant fills in the input, runs the Actor and works with the results. You pay the same price per result as in Apify Console.

Input

See the Input tab for all options.

{
"startUrls": [{ "url": "https://example.com/docs/" }],
"crawlSite": true,
"maxPages": 100,
"includeUrlGlobs": ["https://example.com/docs/**"],
"excludeUrlGlobs": ["**/changelog/**"],
"removeSelectors": ".newsletter-box, #related-posts"
}

Output

You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.

{
"url": "https://example.com/docs/getting-started/",
"statusCode": 200,
"crawlDepth": 1,
"foundOn": "https://example.com/docs/",
"title": "Getting started | Example Docs",
"description": "Install Example and run your first project in five minutes.",
"lang": "en",
"wordCount": 640,
"truncated": false,
"markdown": "# Getting started\n\nInstall the CLI:\n\n```\nnpm i -g example\n```\n\n| Plan | Price |\n| --- | --- |\n| Free | $0 |",
"error": null
}

All Actors by Veedel Digital: apify.com/veedel_digital

FAQ

Does it work with JavaScript-heavy sites?

The Actor reads the HTML the server delivers. Most websites, docs and blogs deliver their content this way. Single-page apps that render everything in the browser return little or no content; for those, use a browser-based crawler.

How does it find the main content?

It uses the page's <main> element (or a single <article>) when there is one. Otherwise it takes the whole page and removes header, footer, navigation, forms and cookie banners. If a site has extra boxes you don't want, add their CSS selectors in Remove elements.

How do I keep my knowledge base up to date?

Create a Schedule (e.g. weekly) in Apify Console and connect the run to your pipeline with a webhook or an integration. Each run converts the current version of every page.

Will it overload my server?

No. It follows robots.txt by default and uses at most 10 parallel requests.

Something does not work

Please open an issue in the Issues tab with the URL and the run ID. You can also start the Actor programmatically from the API tab.