Web Page to Markdown avatar

Web Page to Markdown

Pricing

from $5.00 / 1,000 page extracteds

Go to Apify Store
Web Page to Markdown

Web Page to Markdown

Convert any web page into clean, readable Markdown or plain text — ads, navigation and boilerplate stripped out. Built for feeding AI agents, LLMs and RAG pipelines. Pay only per page.

Pricing

from $5.00 / 1,000 page extracteds

Rating

0.0

(0)

Developer

Pedro Resende

Pedro Resende

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

5 days ago

Last modified

Share

Convert any web page into clean, readable Markdown or plain text — with ads, navigation, cookie banners and boilerplate stripped out.

Built for AI agents, LLMs, and RAG pipelines that need clean, structured content instead of raw HTML.

What it does

  • Fetches a list of URLs and extracts the main article content (Mozilla Readability).
  • Returns Markdown (headings, links, code blocks preserved) or plain text.
  • Returns metadata: title, site name, author, excerpt, status, character count.
  • Handles errors gracefully (bad URL, non-200, no readable content) with a per-row error field.

Input

FieldTypeDefaultDescription
urlsstring[]Web page URLs to extract.
formatmarkdown | textmarkdownOutput format.
maxLengthinteger20000Truncate content to N chars (0 = no limit).
proxyobjectoffOptional Apify proxy.

Output

One dataset row per URL:

{
"url": "https://example.com/article",
"status": 200,
"title": "Article title",
"siteName": "Example",
"byline": "Author",
"excerpt": "First 280 chars…",
"length": 4123,
"content": "# Article title\n\nFull markdown…",
"format": "markdown",
"extractedAt": "2026-09-04T12:00:00.000Z"
}

Pricing

Pay per page$0.005 per extracted page (plus a $0.00005 run-start fee). You only pay for pages successfully processed.

Example (via API)

curl -X POST "https://api.apify.com/v2/acts/alleserojje~web-page-to-markdown/runs?token=YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{ "urls": ["https://en.wikipedia.org/wiki/Artificial_intelligence"], "format": "markdown" }'

Notes

  • Uses static HTML extraction (no headless browser) — ideal for blogs, docs, news and article pages. Highly dynamic single-page apps may return limited content.
  • Data is returned in the run's dataset (/runs/{id}/dataset/items).