Website to Markdown: Clean LLM-Ready Text from Any URL avatar

Website to Markdown: Clean LLM-Ready Text from Any URL

Pricing

from $2.70 / 1,000 results

Go to Apify Store
Website to Markdown: Clean LLM-Ready Text from Any URL

Website to Markdown: Clean LLM-Ready Text from Any URL

Turn a list of URLs into clean markdown for LLMs, RAG and AI agents, with navigation, banners and boilerplate removed.

Pricing

from $2.70 / 1,000 results

Rating

0.0

(0)

Developer

Hydrafetch

Hydrafetch

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 hours ago

Last modified

Share


Website to Markdown at a glance

  • Input: A list of URLs.
  • Output: one row per URL with 8 fields, including title, wordCount, markdown.
  • Price: $3 per 1,000 URLs, charged only for results.
  • You need: nothing else. No cookies, no logins, no proxies and no API keys.
  • Export: JSON, CSV, Excel or XML, or straight into your own tools with the Apify API and MCP.

What is Website to Markdown?

Converts any web page into clean markdown built for language models. It keeps the main content and its structure, headings, lists, tables and links, and removes navigation, cookie banners, footers and ads. JavaScript-heavy sites work too, with nothing to configure. Each result carries the title, description, language, page type and word count, so you can budget tokens before sending anything to a model. Built for RAG pipelines, AI agents and anyone who needs readable text from the web without writing cleanup code.

  • Clean markdown. The main content of each page, with navigation, cookie banners, footers and ads removed.
  • Structure kept. Headings, lists, tables and links stay in place, so a model can follow the page.
  • Metadata. Title, description, language and page type for every URL.
  • Word count. So you can budget tokens before you send anything to a model.
  • JavaScript-heavy sites. Handled automatically, with nothing to configure.

What data can I extract with Website to Markdown?

Every result is one row per URL, with these fields:

FieldWhat it holds
urlThe URL you asked for
finalUrlWhere the URL ended up after redirects
titlePage title
descriptionPage description
languageDetected language
pageTypeKind of page, such as article, listing or docs
wordCountWords in the markdown
markdownThe page content as clean markdown

The table view in Apify shows URL, Title, Words, Markdown. The full record is in the JSON, CSV, Excel and XML exports, and over the API.

How to use Website to Markdown

  1. Open Website to Markdown in the Apify Console. A free Apify account is enough to try it.
  2. Paste your URLs, one per line, or upload a list.
  3. Click Start. Each URL is processed on its own, so one bad entry never loses the batch.
  4. Download the results as JSON, CSV or Excel, or send them to your own tools with an integration.

Input

One field: URLs. Use full URLs, including https://.

Every line is checked before the run starts. Each must be a web address like https://stripe.com/pricing; a run with any other line is refused with that line named, so a typo never costs you anything.

{
"urls": [
"https://stripe.com",
"https://vercel.com"
]
}

Output

A URL we cannot resolve is skipped rather than returned empty, and you are not charged for it. The run log names every one that was skipped, so a short result is never a mystery.

{
"url": "https://stripe.com/pricing",
"title": "Pricing & Fees | Stripe",
"language": "en",
"pageType": "listing",
"wordCount": 1480,
"markdown": "# Pricing built for businesses of all sizes\n\n## Payments\n\n..."
}

How much does Website to Markdown cost?

Website to Markdown costs $3 per 1,000 URLs returned, which is $0.003 each, with no separate compute charge. 10,000 URLs cost $30.

  • You pay only for results. A URL that cannot be resolved is skipped and free.
  • Try it on the free plan. Each free Apify account can run up to 50 URLs through this Actor. On a paid plan, $5 covers about 1,666 URLs.
  • Volume discounts. Scale plans pay 5% less per result and Business plans 10% less.
  • Cap any run. Set a maximum cost per run in the run options and the Actor stops cleanly when it is reached.

Common use cases

  • RAG and knowledge bases. Load docs, blogs and help centres into a vector store without writing cleanup code.
  • AI agents. Give an agent readable pages instead of raw HTML that burns its context window.
  • Content monitoring. Store clean text from a list of pages and compare it over time.
  • Research datasets. Collect readable text from hundreds of sources in one run.

Integrate Website to Markdown with other apps

Website to Markdown works with the integrations on the Apify platform, including Make, Zapier, n8n, Google Sheets, Slack, Airbyte, LangChain, LlamaIndex, Pinecone, Qdrant. Results can also go anywhere with a webhook when a run finishes.

To keep a list current, save your input as a task and put it on a schedule.

Website to Markdown API

Run Website to Markdown from your own code with the Apify API clients.

JavaScript

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('hydrafetch/website-to-markdown').call({ urls: ["https://stripe.com","https://vercel.com"] });
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

Python

from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("hydrafetch/website-to-markdown").call(run_input={"urls": ["https://stripe.com","https://vercel.com"]})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)

AI agents can call it too. Connect Claude, Cursor or any MCP client to the Apify MCP server and add hydrafetch/website-to-markdown as a tool.

FAQ

Why markdown rather than HTML?

It keeps the structure a model needs, headings, lists and tables, at a fraction of the tokens. Raw HTML spends most of its length on markup.

Does it work on JavaScript-heavy sites?

Yes, automatically. There is no mode to pick; you get the readable page either way.

Am I charged for pages that fail?

No. A page that is blocked, empty or unreachable is not returned and not charged.

Can it crawl a whole site?

Yes, with Website Crawler to Markdown, which follows a site for you. This Actor converts exactly the URLs you give it.

Do I need cookies, a login or proxies?

No. Website to Markdown works without cookies, accounts, proxies or API keys. Paste your URLs and run it; everything else is handled for you.

Website to Markdown collects only publicly available web page content. As with any data collection, you are responsible for how you use the results: follow the terms of the websites you work with and data protection laws such as GDPR wherever personal data is involved. If you are unsure about your use case, check with a lawyer.

Does Website to Markdown have an API?

Yes. Every run is available through the Apify API, with the JavaScript and Python examples above, and through the Apify MCP server for AI agents.

Other Actors by Hydrafetch

  • Company Enrichment API: turn a list of domains into full company records: name, description, logo, brand colors, fonts, socials and industry.
  • Bulk Company Logo Finder: give it a list of domains and get a direct image URL for each company logo, with dimensions and dominant color.
  • Website Color Palette Extractor: read a site's real design system: colors by role with contrast ratios, the type scale, corner radius and button styling.
  • AI SEO & GEO Audit: check whether an LLM or AI agent can actually read your pages, and get the specific reasons when it cannot.
  • Article Extractor: extract the full text, author, publish date and site details from any article or blog post URL.
  • Company Social Links Finder: find the LinkedIn company page and every social profile a company links from its own website, from just the domain.
  • LinkedIn Company Scraper: get industry, company size, headcount, followers, headquarters and more from LinkedIn company pages, by URL or by domain.
  • Tech Stack Detector: find the CMS, ecommerce platform, analytics, frameworks, hosting and payment tools any website runs, from just the domain.
  • PDF to Markdown: convert PDF links into clean markdown with headings and tables intact, ready for LLMs, RAG and search.
  • Website Crawler to Markdown: crawl a whole website or docs section into clean markdown for LLMs, RAG and AI agents, one row per page.
  • Company Jobs Scraper: get every open job at a company from just its domain: titles, teams, locations, pay and full descriptions, from the hiring platform it uses.
  • YouTube Transcript Scraper: get the full transcript of any YouTube video with timestamps, title and channel, ready for AI summaries, RAG and search.
  • Google Ads Library Scraper: get every Google ad a company runs from just its domain: creatives, formats and first and last shown dates, from the public Ads Transparency Center.
  • Company Website Finder: turn a list of company names into their official websites and domains, each checked against the company homepage so directories never slip through.
  • Website Screenshot API: capture screenshots of any web pages as hosted PNG links, full page or first screen, rendered in a real browser and priced per screenshot.

Terms of use

Your results are yours. We claim no rights in the inputs you submit or the data you get back. Full terms: hydrafetch.com/terms

Your feedback

Something not working, or a field you need? Open an issue on the Issues tab with the input you used, and we read every one.