URL to Markdown Scraper: HTML to Markdown for LLMs
Pricing
from $0.76 / 1,000 page converteds
URL to Markdown Scraper: HTML to Markdown for LLMs
Scrape any URL to clean Markdown: HTML to Markdown for LLMs and RAG. Convert one page, a whole docs site or public Notion pages, with optional chunks for embeddings. Keeps the article, drops menus and banners. Title, author, date. Failed pages are free.
Pricing
from $0.76 / 1,000 page converteds
Rating
0.0
(0)
Developer
Scrapewise Data
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
1
Monthly active users
7 days ago
Last modified
Categories
Features
Share
URL to Markdown Scraper: convert HTML to Markdown for LLMs and RAG
Paste a list of page URLs, or one starting URL to crawl, and this URL to Markdown scraper returns clean Markdown and plain text, ready to paste into a prompt, index in a RAG pipeline or save as a document. It turns HTML to Markdown for articles, documentation pages and blog posts, with title, author and date.
Turn on crawlLinks to convert a whole docs site in one run, and chunkSizeWords to get every page already split into chunks for embeddings. Public Notion pages work too. Failed pages are free.
Quick start
One page:
{ "urls": ["https://en.wikipedia.org/wiki/Markdown"] }
A whole documentation site, split for RAG:
{"urls": ["https://www.python-httpx.org/"],"crawlLinks": true,"maxPages": 200,"maxDepth": 3,"urlMustContain": "python-httpx.org","chunkSizeWords": 300,"chunkOverlapWords": 40}
A public Notion page and its subpages:
{"urls": ["https://notion.notion.site/Habit-tracker-6c74e120b02742b99e3cbcc2f6aa7814"],"crawlLinks": true,"maxPages": 50}
Use cases
- Docs to RAG. Point it at a product's documentation, crawl the site and load the chunks into your vector database. Every chunk carries the section heading, so retrieval shows where an answer came from.
- Give an AI agent a web page. Through the Apify MCP server an assistant can read any page as Markdown instead of raw HTML, at a fraction of the tokens.
- Knowledge base export. Help centers and wikis become one Markdown file per page, with title, author and date.
- Notion wiki to RAG. A team handbook, a docs site or a template published on Notion becomes Markdown with its headings, to-dos, toggles, tables and database rows.
- Competitor and content monitoring. Convert the same pages on a schedule and diff the
textfield to see what changed. - Clean input for summaries. Articles without menus, cookie banners and footers make shorter, better prompts.
What comes out
| Field | What it holds |
|---|---|
markdown | headings, lists, links, images, quotes and code blocks, with every link absolute |
text | the same content as plain text, for embeddings and search |
wordCount, charCount, headingCount, linkCount, imageCount | size and shape of what was found |
title, description, author, publishedAt, language, siteName, imageUrl, canonicalUrl | the metadata a document pipeline usually wants |
finalUrl, statusCode, htmlBytes, renderedByJavaScript | what actually happened when fetching |
chunks | with chunkSizeWords: index, section, text, wordCount of each piece |
crawlDepth, source | with crawlLinks: clicks from the start page, and the start URL it came from |
platform | web for normal pages, notion for Notion pages |
notionBlockCount, notionSubpageCount, lastEditedAt | Notion pages only: blocks read, subpages linked, last edit time |
Crawl a whole site
With crawlLinks on, every URL you give is a starting point. The Actor reads the links on each page
(menus included, which is where documentation lists its pages), keeps only pages on the same host,
skips files such as PDFs, images and archives, and goes breadth first until maxPages per starting
URL or maxDepth clicks. urlMustContain narrows it to a section, for example /docs/ or /blog/.
Each URL is converted once, even when many pages link to it.
Notion pages to Markdown
Public Notion pages (https://<workspace>.notion.site/... and https://www.notion.so/..., the ones
shared with "Publish" or "Share to web") are built by JavaScript, which most converters miss. For these
URLs the Actor converts the page in page order and writes:
- headings, paragraphs, bulleted, numbered and to-do lists (
- [x]for checked items), toggles with their content, quotes, callouts with their emoji, code blocks with the language, dividers, equations and simple tables - bold, italic, strikethrough, inline code, links and date mentions
- images (Notion uploads come as a link that opens without login), videos, files, embeds and bookmarks as Markdown links
- columns one after the other, synced blocks with their content
- subpages as links with their title, so
crawlLinkscan follow them - inline databases as a Markdown table with the title and up to 7 columns of the first 50 rows
With crawlLinks on, the Actor follows the subpages, linked pages of the same workspace and database
rows (each row is a Notion page), up to maxPages and maxDepth, and converts each page once.
A workspace URL without a page id (https://<workspace>.notion.site) starts from its home page.
Limits: only pages shared to the web can be read; a private or deleted page comes back as a free
NOTION_PRIVATE or NOT_FOUND row. Database tables show stored values (text, select, date, number,
checkbox, URL, people), not formulas, rollups or relations, and only the first 50 rows; turn on
crawlLinks to get every row as its own page. Buttons and forms are skipped.
Chunks for RAG
Set chunkSizeWords (300 to 500 is common for embeddings) and every page gets a chunks array next
to the full markdown:
"chunks": [{ "index": 0, "section": "HTTPX", "text": "HTTPX is a fully featured HTTP client for Python 3 ...", "wordCount": 148 },{ "index": 1, "section": "Features", "text": "HTTPX builds on the well-established usability of requests ...", "wordCount": 146 }]
Chunks are cut only between paragraphs, so a code block or a list item is never split in half, and
chunkOverlapWords repeats the end of one chunk at the start of the next.
Why it is not just "strip the tags"
- It finds the article.
<article>,<main>,[role=main], or the densest block of paragraphs, and drops navigation, footer, sidebar, cookie banner, script and style. - It survives minified HTML. Attributes without quotes (
href=/docs class=x) are common in production builds and break naive parsers; here they are handled. - It tells you when a page is JavaScript-only.
renderedByJavaScriptis true when the HTML is big but the text is tiny, so you know the page needs a browser instead of getting a stub and not noticing. - You can set a floor.
minWordsturns anything thinner into a free error row, so a broken page never enters your dataset as if it were content.
Errors, all free
| errorCode | Meaning |
|---|---|
NOT_FOUND | 404 or 410, or a Notion page that does not exist or is not shared to the web |
NOTION_PRIVATE | The Notion page exists but is private. Share it to the web and run again. |
BLOCKED | 401 or 403: the site refused the request. Turn the proxy on and try again. |
FETCH_FAILED | DNS, timeout or a server error that did not clear on retry |
TOO_LITTLE_TEXT | The page came back with less text than your minWords |
ITEM_UNREADABLE | The page came in a shape this Actor cannot read |
UNEXPECTED | Something unforeseen broke on that page; the rest of the run still delivers |
Pricing
US$ 1.00 per 1,000 pages, pay per event: no monthly fee, no charge per run, error rows free. A thousand pages for a RAG index cost US$ 2.00.
Public Notion pages: US$ 10.00 per 1,000 pages from November 2026 (until then they cost the same as any page). A Notion page is converted with its subpages and database rows, which takes more work per page. Notion pages that fail or do not exist are free like any error row.
FAQ
How is this different from stripping the tags myself? The Actor picks the content block
(<article>, <main>, [role=main] or the densest block of paragraphs) and drops navigation,
footer, sidebar, cookie banner and script, so what you get is the article and not the whole page.
What if the page only renders with JavaScript? You still get whatever is in the HTML, and
renderedByJavaScript is set to true so you can route those URLs to a browser-based Actor
instead of silently indexing a stub.
Can I refuse thin pages? Yes. Set minWords and anything below it comes back as a free
TOO_LITTLE_TEXT row instead of entering your dataset as content.
Are the links usable? Yes, every link and image is made absolute against the final URL, after redirects.
Do failed pages cost anything? No. 404, 403, timeouts and thin pages are all free rows.
Can it crawl a whole website? Yes, turn on crawlLinks. It stays on the same host, converts each
page once and stops at maxPages per starting URL or maxDepth clicks. Every converted page is one
charge, so maxPages is also your budget cap.
Does it work with Notion? Yes, with any public Notion page on notion.site or notion.so, at the
same price per page. Turn on crawlLinks to get its subpages and database rows too.
Do chunks cost extra? No. chunks comes at the same price per page.
Can I use it from an AI agent? Yes. Through the Apify MCP server, Claude, ChatGPT or any MCP client can call it with a URL and read the page as Markdown.
Notes
- Proxy is off by default. Turn it on for sites that refuse your first try.
- This Actor does not run JavaScript. For pages that only render in a browser,
markdownwill be short andrenderedByJavaScriptwill be true. Notion pages are the exception: they come back complete.
Changelog
- 2026-10-20: public Notion pages (notion.site and notion.so) converted block by block, with
subpages, databases and
crawlLinks; newplatformfield. - 2026-10-04:
crawlLinkswithmaxPages,maxDepthandurlMustContainto convert a whole site;chunkSizeWordsandchunkOverlapWordsadd RAG-ready chunks with the section heading. - 2026-09-22: first version.