Webpage to Markdown Converter for LLM & RAG
Pricing
Pay per event
Webpage to Markdown Converter for LLM & RAG
Convert any website or web page URL into clean, LLM-ready Markdown. HTML to Markdown for RAG, AI agents and knowledge bases: strips nav, ads and boilerplate, keeps headings, tables and links. Fast raw-HTTP, handles CJK pages, cheap per page.
Pricing
Pay per event
Rating
0.0
(0)
Developer
凡 方
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
17 days ago
Last modified
Categories
Features
Share
What does Webpage to Markdown do?
Webpage to Markdown is a website to Markdown converter and HTML to Markdown API. Give it a list of URLs and it returns clean, LLM-ready Markdown — headings, lists, tables and links kept, menus, cookie banners, ads, scripts and footers stripped out.
It is built for RAG pipelines, AI agents, MCP tools and LLM prompts where you need the text of a page, not its HTML, and you need it fast and cheap.
Why use it?
- ⚡ Fast – plain HTTP fetching (no browser), most pages convert in under a second.
- 🧹 Clean output – main-content extraction (Trafilatura) with automatic fallback to full-page conversion for homepages and landing pages.
- 🌏 CJK and legacy encodings – correctly decodes GBK, GB2312, Big5 and Shift-JIS pages that break many other converters.
- 📏 Fits your context window – optional
maxCharacterstruncation, pluswordCountandcharacterCountfor every page. - 💸 Pay per page – you only pay for pages that were converted successfully. Failed URLs are free.
- 🤖 Agent-friendly – simple input, flat JSON output, works through the Apify API, MCP server, Make, Zapier, n8n and LangChain.
How to use it
- Paste one or more URLs into URLs.
- (Optional) switch off Main content only to convert the whole page, or turn on Keep images.
- Click Start. Results appear in the Output tab and can be downloaded as JSON, CSV, Excel or Markdown text.
Input example
{"startUrls": [{ "url": "https://docs.apify.com/platform/actors" }],"mainContentOnly": true,"includeLinks": true,"maxCharacters": 20000}
Output example
{"url": "https://docs.apify.com/platform/actors","loadedUrl": "https://docs.apify.com/platform/actors","statusCode": 200,"title": "Actors | Platform | Apify Documentation","language": "en","markdown": "# Actors\n\nActors are serverless cloud programs that ...","wordCount": 260,"characterCount": 1754,"truncated": false,"error": null}
How much does it cost?
This Actor uses pay-per-event (PPE) pricing: you pay only for results, and the Apify platform compute it uses is already included.
| Event | Price | Per 1,000 |
|---|---|---|
| Page converted | $0.001 per page | $1.00 per 1,000 pages |
| Actor start | $0.0005 per run | – |
URLs that fail to load are not charged. For example, 1,000 pages cost about $1.00. The Actor start fee is charged once per run (one event per GB of memory; the default memory setting counts as one). You can set a maximum cost per run in the run options and the Actor stops cleanly when it is reached. Apify's free plan includes $5 of monthly credit, enough to try it at no cost.
Use cases
- RAG and vector databases – convert documentation, help centers and blogs into Markdown chunks for embeddings.
- LLM prompts and AI agents – let ChatGPT, Claude or your own agent read a web page as clean text.
- Content archiving and migration – move web pages into Notion, Obsidian, GitHub or a CMS as Markdown.
- Whole-site conversion – list all pages with Sitemap URL Extractor, then convert them here.
Limitations
- Pages are fetched with plain HTTP, so content that is rendered only by JavaScript (some single-page apps) may come back empty. Static sites, docs, blogs, news and Wikipedia work well.
- Pages behind logins or anti-bot walls are not supported. Please only convert pages you are allowed to access.
- Non-HTML text (plain text, Markdown, JSON) is returned as-is. PDFs are not converted – use Document to Text Extractor for PDF, Word and PowerPoint files.
FAQ
Can I call it from my AI agent? Yes. Use the Apify MCP server or call run-sync-get-dataset-items on the API and read the markdown field.
Is it legal? The Actor only fetches public pages you point it to and identifies itself with a clear user agent. You are responsible for respecting each website's terms.
Other tools by Digital-Tools
- URL Metadata & Open Graph Link Preview Extractor – Bulk extract URL metadata and Open Graph link previews: title, description, og:image, favicon, canonical URL, Twitter Card, RSS feeds and JSON-LD schema.
- Broken Link Checker - Find 404s & Dead Links – Crawl a website and find broken links, 404s, dead links, 5xx errors, timeouts and redirects.
- Chinese Simplified/Traditional Converter & Pinyin Toolkit – Bulk convert Simplified and Traditional Chinese (Taiwan and Hong Kong variants, with phrase conversion), generate pinyin with tones or initials, segment Chinese words and extract keywords.
- Sitemap URL Extractor - Get All URLs from sitemap.xml – Extract every URL from a website sitemap.xml.
- RSS to JSON Feed Reader - Parse RSS & Atom – RSS to JSON API: read RSS, Atom and RDF feeds in bulk and get clean JSON (title, link, date, author, categories, summary, full content, images and podcast enclosures).
- Bulk SSL Certificate Checker & DNS Lookup – Bulk SSL certificate expiry checker and DNS lookup for many domains at once: expiry date, days left, issuer, SANs, TLS version and validity, plus A, AAAA, CNAME, MX, NS, TXT, CAA, SOA, SPF and DMARC.
- PDF to Text Extractor for LLM & RAG (DOCX, PPTX, XLSX) – PDF to text API plus Word (DOCX), PowerPoint (PPTX) and Excel (XLSX) text extraction by URL.
- URL Status & Redirect Chain Checker – Bulk HTTP status code and redirect chain checker.
- HTML Table Extractor - Tables to CSV & JSON – Extract HTML tables from any web page to CSV and JSON.
Found a bug or need a feature? Open an issue in the Issues tab and I will fix it quickly.