Webpage to Markdown RAG Extractor avatar

Webpage to Markdown RAG Extractor

Pricing

from $1.00 / 1,000 results

Go to Apify Store
Webpage to Markdown RAG Extractor

Webpage to Markdown RAG Extractor

Convert web pages into clean LLM-ready Markdown with metadata and token counts for RAG pipelines and AI agents.

Pricing

from $1.00 / 1,000 results

Rating

0.0

(0)

Developer

Axery

Axery

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Features

Limited permissions

Share

Extract clean, semantic, boilerplate-free Markdown from any webpage with structured metadata and token estimates. Engineered specifically for RAG pipelines (Retrieval-Augmented Generation), LLM fine-tuning, LangChain, LlamaIndex, and autonomous AI agents.


🚀 Key Features

  • Boilerplate & Ad Stripping: Automatically removes navigations, footers, sidebars, cookie banners, tracking scripts, and popups.
  • Semantic Markdown: Preserves headings (#, ##), lists, code blocks, blockquotes, and tables in clean GitHub-Flavored Markdown.
  • Token Estimation: Provides instant word count, character count, and estimated LLM token usage for prompt window budgeting.
  • Metadata Extraction: Extracts page title, author, publication date, meta description, and outgoing URLs.
  • Fast & Resilient: Powered by high-speed HTTP sessions with modern browser TLS fingerprinting to prevent blocking.

📥 Input Configuration

ParameterTypeRequiredDescription
urlsArrayYesList of web page URLs to scrape and convert.
maxItemsIntegerNoMaximum number of pages to process (default: 20).
proxyConfigurationObjectNoOptional Apify Proxy or custom proxies.

Example Input

{
"urls": [
"https://en.wikipedia.org/wiki/Artificial_intelligence",
"https://en.wikipedia.org/wiki/Large_language_model"
],
"maxItems": 10
}

📤 Output Format

Each extracted page produces a structured dataset record:

{
"url": "https://en.wikipedia.org/wiki/Artificial_intelligence",
"title": "Artificial intelligence - Wikipedia",
"description": "Artificial intelligence is intelligence demonstrated by machines...",
"author": "",
"publishedDate": "2026-01-15T08:00:00Z",
"markdown": "# Artificial intelligence\n\nArtificial intelligence (AI) is...",
"wordCount": 12540,
"characterCount": 85320,
"estimatedTokens": 16720,
"links": [
"https://en.wikipedia.org/wiki/Machine_learning",
"https://en.wikipedia.org/wiki/Deep_learning"
],
"scrapedAt": "2026-09-26T16:00:00.000Z"
}

💡 Use Cases

  1. RAG & Vector Search: Feed clean markdown chunks into Pinecone, Qdrant, ChromaDB, or Weaviate without messy HTML tags.
  2. AI Agents: Provide web knowledge to OpenAI Assistant API, Anthropic Claude, or LangChain agents with minimal token overhead.
  3. Knowledge Base Ingestion: Convert blogs, documentation sites, and news articles into an internal knowledge repository.