Website to Markdown — URL & Website Content Crawler avatar

Website to Markdown — URL & Website Content Crawler

Pricing

from $1.00 / 1,000 results

Go to Apify Store
Website to Markdown — URL & Website Content Crawler

Website to Markdown — URL & Website Content Crawler

Website to Markdown converter and content crawler for LLMs and RAG. Turn a URL, a list of URLs or a same-site crawl into clean Markdown: scripts, menus and footers removed; headings, lists, links, tables and code kept. HTML to Markdown, no browser.

Pricing

from $1.00 / 1,000 results

Rating

0.0

(0)

Developer

Ponderable Hydrometer

Ponderable Hydrometer

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

6 days ago

Last modified

Features

Limited permissions

Share

Turn a URL, a list of URLs or a small website into Markdown an LLM can actually use. Headings, lists, links, tables and code survive; scripts, menus and cookie banners do not. Point it at a documentation page with a crawl depth of 1–2 to build a RAG corpus in one run.

What you can do with it

  • Build a RAG or fine-tuning corpus from a docs site, a help centre or a blog: one Markdown document per page.
  • Feed pages to an LLM or an AI agent as clean text instead of raw HTML.
  • Archive or diff content: store the Markdown of important pages and compare it on the next run.
  • HTML to Markdown at scale: convert a list of URLs in one run.

Input

FieldTypeDefaultDescription
urlsarray—Start pages. A bare domain such as example.com is accepted.
crawlDepthinteger0Follow same-site links this many levels deep (0–5).
maxPagesinteger50Total page cap across all start URLs.
modestringmainmain keeps the article body and drops menus, footers and sidebars; full keeps the whole page body.

Input example:

{
"urls": ["https://docs.apify.com/platform/actors"],
"crawlDepth": 1,
"maxPages": 20,
"mode": "main"
}

What you get

One row per page: url, finalUrl, title, description, depth, markdown, words.

Output sample

{
"url": "https://docs.apify.com/platform/actors",
"finalUrl": "https://docs.apify.com/platform/actors",
"title": "Actors | Platform | Apify Documentation",
"description": "Learn how to develop, run and share serverless cloud programs.",
"depth": 0,
"markdown": "# Actors\n\nActors are serverless cloud programs that can do almost anything…",
"words": 812
}

Use it from the API or an AI agent

Start a run and read the Markdown back in one HTTP call:

curl -X POST "https://api.apify.com/v2/acts/ponderable_hydrometer~website-to-markdown/run-sync-get-dataset-items?token=<YOUR_API_TOKEN>" \
-H "Content-Type: application/json" \
-d '{"urls": ["https://docs.apify.com/platform/actors"], "crawlDepth": 0}'

AI agents can call it through the Apify MCP server: https://mcp.apify.com?tools=ponderable_hydrometer/website-to-markdown.

How it works

Each page is fetched over plain HTTP and parsed. In main mode Mozilla's Readability picks out the main content; if it finds none, the page body is used with navigation, header, footer and sidebar elements removed. The HTML is then converted to Markdown with ATX headings, fenced code blocks and - bullets. With crawlDepth above 0, links that stay on the same origin (same scheme, host and port) are queued, up to maxPages.

Limits and good to know

  • No browser. Pages are fetched without running JavaScript, so content that only appears after scripts run (many single-page apps) is not included.
  • Same site only. The crawl does not leave the start URL's origin and skips files such as PDFs, images, audio and video. Crawling does not read robots.txt; use it on sites you may crawl.
  • Pages that fail or have no text produce no row and no charge. That includes error responses, non-HTML content and empty pages. If no page at all can be converted, the run ends as FAILED.
  • main mode is a heuristic. On unusual layouts it can drop a section you wanted; switch to full for those pages.
  • maxPages counts converted pages, which are the billed results. words is a whitespace word count of the Markdown.
  • Sites that block automated requests may answer with an error; those pages are skipped.

FAQ

Does it handle pages behind a login? No. It fetches public pages only.

Can it return HTML or plain text instead? No, the output is Markdown.

How do I convert a sitemap's worth of pages? Pass the URLs in urls with crawlDepth: 0, or start from an index page with a crawl depth of 1–2.

Pricing

Pay per result — $1.00 per 1,000 results (one page = one result), plus Apify's standard per-run start event ($0.00005 per GB of memory, so a fraction of a cent per run). No subscription.