Web Page to Markdown: URL to LLM-Ready Text avatar

Web Page to Markdown: URL to LLM-Ready Text

Pricing

from $1.20 / 1,000 page converteds

Go to Apify Store
Web Page to Markdown: URL to LLM-Ready Text

Web Page to Markdown: URL to LLM-Ready Text

Turn any web page URL into clean, LLM-ready Markdown with title, description, language and canonical URL. Plain HTTP, no browser, so it is fast and cheap for RAG and AI agents.

Pricing

from $1.20 / 1,000 page converteds

Rating

0.0

(0)

Developer

Public Records

Public Records

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

35 minutes ago

Last modified

Features

Limited permissions

Share

Give it web page URLs and get back clean Markdown for each page, ready for an LLM, a RAG index or an AI agent. Menus, headers, footers, scripts and cookie banners are dropped; headings, lists, links, images and tables are kept, with every link made absolute. Each row also carries the page title, description, language, canonical URL and published date when the page states them.

It fetches pages over plain HTTP with no browser, so it is fast and cheap. It is a single-page tool, not a site crawler: you choose the URLs.

Who it's for: developers building RAG and AI-agent pipelines, and anyone who needs readable text from a list of pages.

Web page to Markdown: what each page gets

FieldWhat it holds
markdownClean Markdown of the page's main content (or the whole page, or your CSS selector)
title, description, language, canonicalUrl, publishedAt, siteName, imageUrlPage metadata, when the page has it
chars, tokensEstimate, truncatedSize of the Markdown and a rough LLM token count
needsJavaScriptTrue when the page looks built by JavaScript, so its static HTML may be incomplete
linksEvery link on the page with its text and internal/external flag (turn on Include page links)
url, finalUrl, statusCode, contentType, extractedFrom, fetchedAtWhat was fetched and from which part of the page

Plain-text pages (such as .txt files) are returned as they are.

Sample input

{
"urls": [
"https://en.wikipedia.org/wiki/Web_scraping",
"https://quotes.toscrape.com/"
]
}

Sample output (from a real run, Markdown shortened)

{
"url": "https://quotes.toscrape.com/",
"finalUrl": "https://quotes.toscrape.com/",
"statusCode": 200,
"contentType": "text/html",
"title": "Quotes to Scrape",
"description": null,
"language": "en",
"canonicalUrl": null,
"publishedAt": null,
"imageUrl": null,
"siteName": null,
"extractedFrom": "body",
"markdown": "# [Quotes to Scrape](https://quotes.toscrape.com/)\n\n[Login](https://quotes.toscrape.com/login)\n\n“The world as we have created it is a process of our thinking. It cannot be changed without changing our thinking.” by Albert Einstein [(about)](https://quotes.toscrape.com/author/Albert-Einstein)\n\nTags: …",
"chars": 4239,
"tokensEstimate": 1060,
"truncated": false,
"needsJavaScript": false,
"fetchedAt": "2026-11-25T21:38:26.395Z"
}

Pricing

Pay per event: one start fee per run, then one charge per page converted and written to your dataset.

EventPrice
Actor start (per GB of memory, minimum one; the default 512 MB run is one event)$0.002
Page converted$0.0012

Example: 1,000 pages at the default memory = 1 start ($0.002) + 1,000 × $0.0012 ($1.20) = $1.202.

Not charged per page (the start fee still applies once per run): invalid or private URLs, pages that return an HTTP error, pages that are not HTML or text, pages with no text in their HTML, and hosts that cannot be reached. They are listed in the run's OUTPUT record with the reason.

LLM-ready text options

  • Content to keep: main content (default) or the full page.
  • CSS selector: keep only part of a page, e.g. article or #content.
  • Max Markdown characters: cut very long pages; the row then says truncated: true.
  • Include page links: add the page's links to each row.

Limits

  • Up to 1,000 URLs per run. HTML per page: 3.5 MB at the default 512 MB, 5 MB at 1 GB or more. Each page has 5 to 30 seconds to answer (default 15).
  • If 10 URLs cannot be reached (DNS, connection or timeout) before any page is converted, the remaining URLs are not tried and not charged; they are listed in OUTPUT.
  • No JavaScript rendering. Pages built in the browser (single-page apps) may come back short; needsJavaScript flags them.
  • No PDF, Word or image files. For PDF and DOCX links, use PDF to Text & Markdown Extractor.
  • Pages behind a login or bot wall are usually skipped with their HTTP status (401, 403, 429). A challenge page served with status 200 is converted like any page; check the Markdown if a site uses one.

Errors and empty runs

A run never fails because of your input. If no URL is valid, or every host is unreachable, the run still ends as SUCCEEDED with 0 rows, and both the status message and the OUTPUT record say why.

FAQ

Does it crawl a whole site? No. It converts the URLs you give it, one row per page.

Why is a page short or empty? The page may build its content with JavaScript; check needsJavaScript.

Can an AI agent call it? Yes, through the Apify API or MCP. Agents can pass a single url instead of urls.

Do you keep the pages? Only in your run's dataset, under your Apify data retention.