URL to Markdown – Clean Web Page Text for LLM & RAG
Pricing
from $1.50 / 1,000 results
URL to Markdown – Clean Web Page Text for LLM & RAG
Turn a list of web page URLs into clean Markdown for ChatGPT, Claude, RAG pipelines and vector databases. Keeps headings, lists, tables, code and links; drops menus, ads and footers. Plain HTTP, no browser, respects robots.txt. Free tool: you pay only Apify platform usage.
Pricing
from $1.50 / 1,000 results
Rating
0.0
(0)
Developer
Fayaz
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
20 hours ago
Last modified
Categories
Features
Share
Turn a list of web page URLs into clean Markdown, ready for an LLM, a RAG pipeline or a vector database.
Paste a list of web page URLs and get back clean Markdown for each page: headings, lists, tables, code blocks and links kept; menus, cookie bars, ads, scripts and footers removed. Ready to drop into ChatGPT, Claude, a RAG pipeline, a vector database (Pinecone, Weaviate, Qdrant, pgvector) or an LLM fine-tuning set.
It fetches only the URLs you give it (no crawling), reads each site's robots.txt first, and uses plain HTTP instead of a full browser, so it is fast and cheap.
Who it is for
AI and RAG developers, people building chatbots on their own docs or blog, content and SEO teams, and no-code builders (Make, Zapier, n8n) who need "URL in, Markdown out".
Use cases
- RAG ingestion: convert your docs or help-center pages to Markdown and send them to Pinecone, Qdrant, Weaviate or pgvector.
- LLM context: give ChatGPT or Claude the clean text of a few pages instead of raw HTML.
- Content archive: save your blog posts as Markdown with title, author, date and word count.
Input
| Field | What it does | Default |
|---|---|---|
| Page URLs | Up to 10,000 pages, one per line | required |
| Main content only | Keep only the article or main text; drop menus, sidebars, footers | on |
| Keep images | Keep  image links | off |
| Respect robots.txt | Skip pages the site does not allow bots to read. Turn off only for your own site | on |
| Timeout per page | Seconds before giving up on a page | 30 |
Example input:
{"urls": ["https://en.wikipedia.org/wiki/Markdown", "https://example.com/"],"mainContentOnly": true,"keepImages": false}
The input the form starts with (this is what the example output below came from):
{"urls": ["https://en.wikipedia.org/wiki/Markdown","https://example.com/"],"mainContentOnly": true,"keepImages": false,"respectRobotsTxt": true,"timeoutSecs": 30}
Output
url, finalUrl (after redirects), statusCode, title, description, language, author, publishedTime, canonicalUrl, markdown, wordCount, fetchedAt.
Real output from a run with the default input on 22 Nov 2026:
{"url": "https://example.com/","finalUrl": "https://example.com/","statusCode": 200,"title": "Example Domain","description": null,"language": "en","author": null,"publishedTime": null,"canonicalUrl": null,"markdown": "# Example Domain\n\nThis domain is for use in documentation examples without needing permission. This is not a service; avoid relying on it for testing and monitoring purposes.","wordCount": 28,"fetchedAt": "2026-11-22T04:41:48.505Z"}
Download as JSON, CSV or Excel, or send the results to Google Sheets, Slack, Make, Zapier, n8n or a webhook from the Apify console.
Price
This tool has no price of its own: there is no per-page fee. You pay only the normal Apify platform usage (compute) of your run, billed by Apify to your account.
FAQ
Does it crawl a whole site? No. It fetches only the URLs you give it. Use a sitemap or our SEO audit tool to get a URL list first.
Does it run JavaScript?
No. It uses plain HTTP, which is fast and cheap. Pages that build all their text with JavaScript may come back empty and are listed in ERRORS.
What happens to failed pages?
Pages blocked by robots.txt, 404s, timeouts and non-HTML files are not saved; they are listed in the key-value store record ERRORS with the reason.
Can it convert PDFs? Not this tool. Use our PDF Text Extractor (PDF, Word & image to text) for files.
Limits
- Pages that need JavaScript to show their text may come back empty.
- Pages behind a login or paywall are not fetched.
- Only use it on pages you are allowed to process. It follows robots.txt by default and fetches at most 5 pages at a time.
Fair use
You choose the URLs. Only use it on pages you are allowed to process (your own sites, or content whose terms allow it). The actor identifies itself as UrlToMarkdownBot, follows robots.txt by default and fetches at most 5 pages at a time.
For the developer
- Run locally:
npm install && apify run --input '{"urls":["https://example.com/"]}' - Test:
npm test(URL cleaning, robots.txt rules, HTML to Markdown)