Fast Web Page & PDF to Markdown (MCP & RAG) avatar

Fast Web Page & PDF to Markdown (MCP & RAG)

Pricing

from $0.20 / 1,000 results

Go to Apify Store
Fast Web Page & PDF to Markdown (MCP & RAG)

Fast Web Page & PDF to Markdown (MCP & RAG)

Fast, no-browser converter for public web pages and text-based PDFs into clean Markdown, plain text, and structured JSON for AI Agents, MCP, and RAG.

Pricing

from $0.20 / 1,000 results

Rating

0.0

(0)

Developer

Vaque Wei

Vaque Wei

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

a day ago

Last modified

Features

Limited permissionsSingle-tenantServer interface

Share

Fast Web Page & PDF to Markdown (For AI Agents, MCP & RAG)

Convert public HTML pages and text-based PDFs into clean, LLM-ready Markdown, plain text, and structured JSON—without the slow startup or compute cost of a headless browser. Designed for AI agents, Apify MCP, RAG pipelines, and n8n/Make automations.

1-Click Try: Click Start with the prefilled URL to get clean Markdown in ~3–6 seconds. Last verified: November 2026.

Why this Actor

Heavy browser-based crawlers are overkill when you just need clean text from documentation pages, articles, or PDF reports. This Actor uses lightweight HTTP fetching + native PDF text extraction so you get:

  • Ultra-Low Cost & Fast Execution: No Chromium overhead—starts fast and charges just $0.20 per 1,000 URLs.
  • Automatic HTML + PDF Detection: Pass a mixed list of web pages and .pdf links in a single batch (up to 100 URLs/run).
  • Predictable 1-Item-Per-URL Output: Even if one URL fails, the batch continues and returns a normalized item with status: "error" and a stable errorCode.
  • LLM & Context-Window Friendly: Configurable maxOutputChars prevents oversized pages from blowing up your LLM context window.
  • Built-in SSRF & Size Guards: Validates public HTTP/HTTPS redirects (up to 5 hops) and enforces safe download size caps.

Works with AI Agents (MCP), n8n & Make

  • Apify MCP (mcp.apify.com): Ideal tool for Claude Desktop, Cursor, and autonomous research agents to read a specific webpage or PDF URL into clean Markdown.
  • RAG & Knowledge Bases: Feed clean markdown or text straight into vector databases, LangChain, LlamaIndex, n8n, Make, or Zapier.

Input Example

{
"urls": [
"https://docs.apify.com/sdk/python/docs/quick-start",
"https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf"
],
"maxItems": 10,
"requestTimeoutSecs": 45,
"maxOutputChars": 40000,
"maxDownloadMbytes": 10,
"includeRawHtml": false
}

Output Example

{
"url": "https://docs.apify.com/sdk/python/docs/quick-start",
"status": "ok",
"sourceType": "html",
"finalUrl": "https://docs.apify.com/sdk/python/docs/quick-start",
"httpStatus": 200,
"contentType": "text/html; charset=utf-8",
"bytesDownloaded": 42180,
"title": "Quick start | Apify SDK for Python",
"markdown": "# Quick start\n\nClean extracted content...",
"text": "Quick start\n\nClean extracted content..."
}

Safety & Limitations

  • Accepts only public http:// and https:// URLs (private, loopback, and reserved IP ranges are blocked).
  • Extracts text-based PDFs; scanned/image-only PDFs require OCR and are not supported.
  • Does not execute JavaScript, log in, or bypass paywalls/access controls—ideal for static docs, articles, blogs, and direct PDF files.