Website to Markdown avatar

Website to Markdown

Pricing

from $0.80 / 1,000 result items

Go to Apify Store
Website to Markdown

Website to Markdown

Website to Markdown converter for LLM and RAG pipelines. Turn any URL into clean main-content Markdown with title, description, language, links and images. Optional site crawling, JS rendering and automatic proxy escalation on Cloudflare blocks. Pay only for pages that succeed.

Pricing

from $0.80 / 1,000 result items

Rating

0.0

(0)

Developer

Viktor Dubnytskiy

Viktor Dubnytskiy

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

13 days ago

Last modified

Features

Limited permissions

Share

Turn any web page into clean Markdown for an LLM, a RAG index or a vector database. Paste URLs (or switch on crawling) and get one row per page: the main content as Markdown, with navigation, footers, sidebars and cookie banners left out, plus title, meta description, language, links and images.

Try it: the prefilled example returns 1 row in about 25 seconds and costs about $0.001. Results cost $1 per 1,000.

What you get

Real rows from a test run with a Python docs page, a BBC News article and an npm page behind Cloudflare:

pagewordsproxy tierstatus
Coroutines and tasks (docs.python.org)6858none200
India's opposition rallies against voter roll revision (bbc.com)899none200
react - npm (npmjs.com, Cloudflare)123unblocker (escalated automatically)200

One row from the example dataset (the prefilled input). The Markdown is cut here for space; in the dataset it is the whole page:

{
"url": "https://docs.python.org/3/library/asyncio-task.html",
"finalUrl": "https://docs.python.org/3/library/asyncio-task.html",
"statusCode": 200,
"title": "Coroutines and tasks — Python 3.15.2 documentation",
"description": "This section outlines high-level asyncio APIs to work with coroutines and Tasks. Coroutines, Awaitables, Creating tasks, Task cancellation, Task groups, Sleeping, Running tasks concurrently, Eager ...",
"language": "en",
"markdown": "# Coroutines and tasks\n\nThis section outlines high-level asyncio APIs to work with coroutines and Tasks.\n\n## Coroutines\n\n**Source code:** Lib/asyncio/coroutines.py\n\nCoroutines declared with the async/await syntax is the preferred way of writing asyncio applications. For example, the following snippet of code prints “hello”, ...",
"textLength": 44186,
"wordCount": 6858,
"fetchedAt": "2026-11-01T18:25:23.646920Z",
"contentHash": "5310d219f80a87aa9e1f7832e3929796",
"tierUsed": "none",
"extractor": "trafilatura",
"error": null
}

Full row: url, finalUrl, statusCode, title, description, language, canonicalUrl, markdown, textLength, wordCount, links (with includeLinks), images (with includeImages), contentType, contentHash, extractor, tierUsed, fetchMode, depth, fetchedAt, error.

Use cases

  • RAG and vector databases: crawl a documentation site and load clean Markdown chunks instead of raw HTML full of menus.
  • LLM agents and summaries: give a model the article text of a URL in a few hundred tokens, not the 300 KB page.
  • Content change alerts: run the same URLs on a schedule in monitor mode and get a row only when a page's text really changed.

Try it in 10 seconds

One page: hit Start, the input already works (urls: ["https://docs.python.org/3/library/asyncio-task.html"]).

Crawl a docs section:

{
"urls": ["https://docs.python.org/3/library/asyncio.html"],
"crawl": true,
"maxPages": 50,
"maxDepth": 2,
"includeUrlPatterns": ["https://docs.python.org/3/library/asyncio-*"]
}

Monitor mode: save a task with

{
"mode": "monitor",
"monitorStateId": "pricing-pages",
"urls": ["https://example.com/pricing", "https://example.com/terms"],
"webhookUrl": "https://your-endpoint.example.com/hook"
}

and schedule it. Each run charges one monitor-check event and returns only pages that are new or whose Markdown changed since the last run (one change event each).

How it works

  1. Fetch: each page is requested with a real browser TLS fingerprint. With proxyTier: auto the actor starts without a proxy and steps up to datacenter, residential and Apify Web Unblocker only when the site answers with a block or a Cloudflare challenge. The tier that worked is remembered per domain, so the next pages of that site skip the dead tiers.
  2. Extract: the main content is found with trafilatura. If a page has almost no article text (landing pages), the actor falls back to readability and then to the whole page body with nav, header, footer, aside, forms and cookie banners removed. The extractor field tells you which one was used.
  3. Crawl (optional): links found on a page are queued breadth-first, filtered by domain, glob patterns, depth and the page budget. Tracking parameters (utm_*, gclid, fbclid, ref) are removed, canonical URLs are respected, and a page whose content repeats one already returned is skipped. Images, documents, feeds and archives are never queued. A link that redirects to another domain comes back as a free row with error: "redirected off-domain".
  4. Pacing: at least domainDelaySecs (1 s by default) between two requests to the same site.

Input

FieldMeaningDefault
urlsPages to convert (start pages when crawling)Python docs page
crawlFollow links found on the pagesfalse
maxPages, maxDepthCrawl budget and depth10, 2
sameDomainOnlyFollow only links on the start page's domaintrue
includeUrlPatterns, excludeUrlPatternsGlob filters for discovered links, e.g. */docs/*empty
renderJs, waitForRender with headless Chromium, optionally wait for a CSS selectorfalse
proxyTier, proxyCountryauto, none, datacenter, residential, unblockerauto
includeLinks, includeImagesKeep links / images in the Markdown and list them in the rowfalse
domainDelaySecs, timeoutPause per domain, timeout per page (seconds)1, 45
maxItemsStop after this many successful pages10 in the example, 100 otherwise
mode, monitorStateId, webhookUrl, telegramBotToken, telegramChatIdMonitor mode and alertsscrape

Pricing

EventPrice
result$0.001 per successful page ($1 per 1,000)
failed pagefree (listed with an error field)
monitor-check$0.005 per monitor run
change$0.001 per new or changed page in monitor mode

Apify subscribers pay less: SILVER -10%, GOLD and higher -20%.

A page that fails (404, 5xx, a block on every tier, a PDF or other non-HTML file, a private address) is still listed in the dataset, free of charge. Proxy traffic and compute are billed by Apify on top, and residential or Unblocker traffic is used only when auto actually needs it.

Found it useful? A short review on the Store page helps other people find this actor. If something is wrong, open an issue on the actor page.

Limits

  • PDFs, images, JSON and other non-HTML files are skipped with a reason in error and are never downloaded. Pages larger than 10 MB are cut at 10 MB.
  • Private, loopback, link-local and internal addresses (localhost, 10.x, 169.254.169.254, *.internal) are refused, also when a public URL redirects to them. Plain text and Markdown files are passed through as is.
  • With renderJs every page opens a fresh browser, so it is several times slower. Give the run 2048 MB of memory. Some sites (Medium, for example) still block headless browsers.
  • Pages are fetched one at a time, which keeps the per-domain pacing simple. Large crawls take a while.
  • No login, no cookies, no paywalled content.

FAQ

Why is a page in the dataset with an empty markdown? It failed, and the error field says why. Failed pages are not charged. If every page failed, the RUN_SUMMARY record in the key-value store carries emptyReason (blocked or upstream_error).

How is this different from saving the HTML? The Markdown keeps headings, lists, tables and code blocks of the article and drops everything around it. A typical news page goes from about 300 KB of HTML to 5 KB of Markdown.

What does monitor mode compare? The SHA-256 hash of the Markdown (contentHash). Layout changes, ads and timestamps outside the main content do not trigger a change.

Changelog

  • 0.1: initial release. URL list or crawl, main-content Markdown, metadata, links and images, proxy escalation, optional JS rendering, monitor mode, free rows for failed pages, private-address protection.