Webpage to Markdown – Clean Content for LLM & RAG
Pricing
from $1.00 / 1,000 page converteds
Webpage to Markdown – Clean Content for LLM & RAG
Convert web pages into clean Markdown for LLMs, RAG and AI agents: main-content extraction (Readability), title, description, language, word and link counts, optional chunking with overlap. Plain HTTP, no browser, respects robots.txt.
Pricing
from $1.00 / 1,000 page converteds
Rating
0.0
(0)
Developer
Adam Plänitz
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
a day ago
Last modified
Categories
Features
Share
Turn any list of web pages into clean Markdown for LLMs, RAG pipelines and AI agents. The Actor fetches each URL with a plain HTTP request (no browser), extracts the main content with Mozilla Readability – menus, headers, footers, sidebars, cookie banners and scripts are dropped – and converts it to Markdown with headings, lists, tables, code blocks and absolute links. You also get title, description, language, word and link counts and, optionally, ready-to-embed chunks with overlap. Export as JSON, CSV or Excel, or connect to LangChain, LlamaIndex, Make, Zapier, n8n or webhooks.
What does it do?
For every URL:
- Fetch the page with one HTTP GET (redirects followed, charset detected from header, BOM or
<meta>). robots.txt is respected by default. - Extract the main content with Mozilla Readability (the engine behind Firefox Reader View). If Readability finds too little (e.g. on home pages or documentation portals), the
<main>element or the cleaned page body is used instead – theextractionMethodfield tells you which. - Convert to Markdown with Turndown + GitHub-flavoured Markdown tables: ATX headings (
#),-bullet lists, fenced code blocks, tables (cells with lists are flattened so the table stays valid), absolute link URLs. Citation markers like[1]are removed by default; images are optional. - Chunk (optional): split the Markdown into pieces of at most N characters with overlap, cut at paragraph, line or sentence boundaries. Every chunk carries its character offset and the nearest heading above it – useful as metadata in a vector store.
Plain-text and Markdown responses (text/plain, text/markdown) are passed through unchanged.
Who is it for?
- RAG / chatbot builders: feed documentation, help-center or knowledge-base pages into a vector database.
- AI agents and LLM apps: give a model the readable content of a page instead of 200 KB of HTML – far fewer tokens.
- Content and SEO teams: archive articles as Markdown, compare word counts, migrate content to a CMS or static site generator.
Input
| Field | Default | Description |
|---|---|---|
| URLs | – | One per line. Bare domains become https://domain/. Duplicates are removed. |
| Content | Main content | Main content (Readability with fallback) or Full page (whole body without scripts, navigation, header, footer). |
| Keep links | on | Markdown links with absolute URLs; off = link text only (saves tokens). |
| Keep images | off |  references. |
| Remove citation markers | on | Drops [1], [citation needed] etc. |
| Chunk size | 0 (off) | Maximum characters per chunk, e.g. 2000. |
| Chunk overlap | 200 | Characters shared by consecutive chunks (at most half the chunk size). |
| Respect robots.txt | on | Disallowed pages get a free error row. |
| Parallel requests | 5 | 1–30; requests to the same host are spaced by 0.3 s. |
| Timeout per page | 30 s | |
| Maximum page size | 10 MB | |
| Proxy | none | Only needed for sites that block cloud servers. |
Output example (shortened)
{"url": "https://en.wikipedia.org/wiki/Markdown","finalUrl": "https://en.wikipedia.org/wiki/Markdown","statusCode": 200,"title": "Markdown - Wikipedia","description": null,"language": "en","canonicalUrl": "https://en.wikipedia.org/wiki/Markdown","siteName": null,"publishedTime": null,"markdown": "From Wikipedia, the free encyclopedia\n\n| Markdown |\n| --- |\n…\n\n**Markdown** is a [lightweight markup language](https://en.wikipedia.org/wiki/Lightweight_markup_language \"Lightweight markup language\") for creating formatted text using a plain-text editor. …","wordCount": 3013,"charCount": 37200,"linksCount": 327,"imagesCount": 2,"chunkCount": 23,"chunks": [{ "index": 0, "text": "From Wikipedia, the free encyclopedia …", "charStart": 0, "charCount": 1987, "heading": null },{ "index": 1, "text": "… ## History …", "charStart": 1795, "charCount": 1968, "heading": "History" }],"extractionMethod": "readability","contentType": "text/html","responseTimeMs": 412,"warning": null,"fetchedAt": "2026-11-17T21:00:00.000Z","errorCode": null,"error": null}
chunkCount and chunks only appear when a chunk size is set. linksCount counts the http(s) links in the extracted content. URLs that could not be converted produce a row with errorCode and error (e.g. HTTP_404, ROBOTS_TXT, ENOTFOUND, UNSUPPORTED_CONTENT_TYPE, NO_TEXT). Pages with fewer than 50 words get a warning.
The Overview table shows URL, title, language, words, links, chunks, extraction method, status and the Markdown. The run summary (key-value store record RUN-SUMMARY) lists counts, extraction methods and error codes.
Pricing and speed
See the Pricing tab. You pay per converted page; rows for pages that could not be converted (HTTP errors, DNS errors, timeouts, robots.txt, unsupported content types, pages without any text) are free. Duplicates are removed before fetching. You can set a maximum cost per run – the Actor stops cleanly when it is reached.
No browser is needed, so runs are fast and cheap. In a cloud test with the default 1 GB memory, 50 mixed pages (20 long Wikipedia articles, documentation pages, news home pages, the 280-chunk RFC 9110) took 45 seconds including chunking. Very long pages take a few seconds each; more memory also means more CPU and faster parsing.
Data, licences and responsible use
- The Actor only fetches the URLs you provide (no crawling) and respects robots.txt by default. The converted content belongs to the respective website owners – check the site's terms and copyright before reusing it (e.g. Wikipedia text is CC BY-SA and requires attribution).
- Private, loopback and internal addresses are refused.
- Open-source components: Mozilla Readability (Apache-2.0), Turndown and turndown-plugin-gfm (MIT), linkedom (ISC), robots-parser (MIT). Not affiliated with Mozilla or any of the websites mentioned.
Limits
- No JavaScript rendering. Pages that load their content with JavaScript only (many single-page apps) return little or no text – you get a warning or a free
NO_TEXTrow. - Sites with bot protection may answer with 403/429 (free row); a proxy can help.
- Main-content detection is heuristic. On home pages, portals and listing pages there is no single "article" – use Full page if you need everything.
- PDFs, images and other binary files are not converted.
- One URL = one page; links are not followed.
Questions or feature requests? Please open an issue in the Issues tab.