AI Website-to-Clean-Markdown & Schema Extractor
Pricing
from $2.00 / 1,000 extracted markdown pages
AI Website-to-Clean-Markdown & Schema Extractor
Convert any webpage or batch of URLs into clean, token-efficient Markdown, JSON-LD Schema.org data, OpenGraph metadata, and structured link graphs for LLM agents, RAG pipelines, and n8n workflows.
Pricing
from $2.00 / 1,000 extracted markdown pages
Rating
0.0
(0)
Developer
Karnajeet Sawant
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
a day ago
Last modified
Categories
Features
Share
Convert any webpage or batch of URLs into clean, token-efficient Markdown, JSON-LD Schema.org structured data, OpenGraph/Twitter metadata, document heading outlines, and deduplicated link graphs—built specifically for AI agents, RAG pipelines, LLM fine-tuning, and n8n/Make automation workflows.
Why Use This Actor?
- LLM & RAG Ready: Automatically removes
<nav>,<footer>,<aside>,<script>,<style>, cookie consent banners, and ad containers so your LLM only ingests high-signal content. - Built-In Token Budgeting: Every page returns
wordCount,charCount, andestimatedTokens(ceil(chars / 4)) so your pipeline can chunk or route context without hitting model token limits. - Full Structured Data Extraction: Parses all
application/ld+jsonSchema.org blocks (Product,Organization,Article,FAQPage,SoftwareApplication, etc.), OpenGraph tags, canonical URLs, and H1–H3 outlines alongside the Markdown. - Sub-Second Batch Speed (Zero Proxy Overhead): Asynchronous HTTP/2 engine processes batches of URLs concurrently without headless browser bloat.
- Optional Mini-Crawl Mode: Scrape an exact list of URLs (
maxPagesPerUrl: 1) or automatically discover and extract up to 50 same-domain subpages per start URL.
Input Parameters
| Field | Type | Default | Description |
|---|---|---|---|
urls | array | Required | List of webpage URLs to extract. |
onlyMainContent | boolean | true | Strip navigation, headers, footers, sidebars, and cookie banners. |
includeLinks | boolean | true | Include deduplicated internalLinks and externalLinks arrays. |
includeImages | boolean | false | Keep Markdown image tags (). Disabled by default to save tokens. |
maxPagesPerUrl | integer | 1 | Set to 1 for exact URLs only, or 2–50 to crawl same-domain subpages. |
maxMarkdownChars | integer | 100000 | Maximum Markdown characters returned per page. |
concurrency | integer | 10 | Maximum concurrent HTTP requests (1–25). |
timeoutSeconds | integer | 20 | Request timeout per URL in seconds (5–60). |
Example Output
{"url": "https://stripe.com/pricing","finalUrl": "https://stripe.com/pricing","isSuccess": true,"statusCode": 200,"title": "Pricing & Fees | Stripe","description": "Find Stripe fees and pricing information...","canonicalUrl": "https://stripe.com/pricing","language": "en","author": "","robots": "index, follow","wordCount": 1142,"charCount": 7480,"estimatedTokens": 1870,"markdown": "# Pricing & Fees\n\nAccess a complete payments platform...","schemaTypes": ["WebPage", "Organization"],"schemaOrg": [{"@context": "https://schema.org","@type": "WebPage","name": "Pricing & Fees"}],"openGraph": {"og:title": "Pricing & Fees | Stripe","og:type": "website"},"headings": [{ "level": "h1", "text": "Pricing & Fees" },{ "level": "h2", "text": "Integrated per-transaction pricing" }],"internalLinks": ["https://stripe.com/payments", "https://stripe.com/billing"],"externalLinks": ["https://support.stripe.com"],"scrapedAt": "2026-11-17T01:15:00.000000+00:00","error": null}
API & n8n Integration
Call this Actor synchronously from n8n, Make, or any backend service to retrieve clean Markdown and JSON-LD directly in a single HTTP request:
POST https://api.apify.com/v2/acts/majestic_tiger12~website-to-clean-markdown/run-sync-get-dataset-items?token=YOUR_APIFY_TOKENContent-Type: application/json{"urls": ["https://docs.apify.com"],"onlyMainContent": true,"includeImages": false}