HTML to Text & URL to Markdown - LLM Ready Web Content avatar

HTML to Text & URL to Markdown - LLM Ready Web Content

Pricing

from $1.00 / 1,000 pages

Go to Apify Store
HTML to Text & URL to Markdown - LLM Ready Web Content

HTML to Text & URL to Markdown - LLM Ready Web Content

Convert HTML to text and any URL to Markdown for an LLM: clean, LLM-ready text for AI agents, RAG and MCP tools. Strips navigation, ads and cookie banners; keeps headings, lists, tables, code and links, plus title and word count. HTTP-only. $1 per 1,000 pages; failed pages and PDFs free.

Pricing

from $1.00 / 1,000 pages

Rating

0.0

(0)

Developer

Tenfold Fleet

Tenfold Fleet

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

1

Monthly active users

3 days ago

Last modified

Features

Limited permissions

Share

What does HTML to Text & URL to Markdown do?

HTML to Text & URL to Markdown turns the HTML of any web page into clean, LLM-ready Markdown text. Give it one URL or thousands and it returns the page's main content as GitHub-flavoured Markdown (headings, lists, tables, code blocks and links), plus the title, description, author, publish date, language, word count and every link on the page.

It's a single-purpose HTML to Markdown API built for AI agents, RAG ingestion and LLM pipelines: navigation menus, headers, footers, sidebars, cookie banners, ads, share buttons and scripts are stripped out with a Readability-style main-content extractor, so you don't pay for junk tokens. It is a fast, low-cost Firecrawl scrape and Jina Reader alternative that runs on plain HTTP requests (no browser) for $1 per 1,000 pages.

Use it as an MCP tool for AI agents through the Apify MCP server, from the API, or from the Apify Console.

Why use a web page to Markdown converter?

  • 🤖 AI agents: give Claude, ChatGPT, Cursor or your own agent a reliable "read this URL" tool that returns compact Markdown instead of raw HTML.
  • 📚 RAG ingestion: convert documentation, help centers, blogs and Wikipedia articles into clean chunks for your vector database.
  • 🧠 LLM context: paste whole articles into a prompt with maxCharacters to fit the context window.
  • 🔎 Research and monitoring: archive articles as text, with author and publish date.
  • 🧰 Developers: one HTTP call, one JSON item per URL, predictable fields.

Runs on the Apify platform, so you get an API, scheduling, webhooks and integrations with Make, Zapier, n8n, LangChain and LlamaIndex.

What data can it extract?

FieldExample
markdown# Overview of HTTP\n\n**HTTP** is a [protocol](https://...) for fetching resources...
title, descriptionpage title and meta description
author, publishedAtfrom meta tags and JSON-LD (when the page has them)
languageen-US
wordCount2400
linksall absolute http(s) URLs on the page (for agents that crawl on)
url, finalUrl, statusCoderequested URL, URL after redirects, HTTP status
errorwhy a page failed (HTTP 404, PDF not supported, ...), otherwise null

Plain-text and Markdown files are returned as-is, JSON responses are pretty-printed in a fenced json code block.

How to convert a URL to Markdown

  1. Click Try for free.
  2. Paste one or more URLs into URLs (one per line).
  3. Keep Main content only on for articles and docs; turn it off to convert the whole page.
  4. Click Start, then download results as JSON, CSV, Excel or HTML, or read them through the API.

Call it from an AI agent (Apify MCP server)

Add the Actor as a tool in any MCP client (Claude Desktop, Claude Code, Cursor, VS Code, ...):

{
"mcpServers": {
"apify": { "url": "https://mcp.apify.com/?tools=tenfoldfleet/url-to-markdown" }
}
}

The agent then calls the tool with {"urls": ["https://example.com/article"]} and gets the Markdown back in the same response.

Call it from the API (synchronous)

run-sync-get-dataset-items runs the Actor and returns the dataset items in one request:

curl -X POST "https://api.apify.com/v2/acts/tenfoldfleet~url-to-markdown/run-sync-get-dataset-items" \
-H "Authorization: Bearer $APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"urls": ["https://en.wikipedia.org/wiki/Markdown"], "maxCharacters": 20000}'

Python (pip install "apify-client>=3"):

from apify_client import ApifyClient
client = ApifyClient("<APIFY_TOKEN>")
run = client.actor("tenfoldfleet/url-to-markdown").call(run_input={"urls": ["https://react.dev/learn"]})
for page in client.dataset(run.default_dataset_id).iterate_items():
print(page["title"], page["wordCount"])
print(page["markdown"][:500])

On apify-client 1.x or 2.x, call() returns a dict, so use run["defaultDatasetId"] instead.

How much does it cost?

You pay $0.001 per page successfully converted ($1 per 1,000 pages). Pages that fail (timeouts, 404s, blocked pages), PDFs and pages with no text are not charged. Apify's free plan includes monthly credit, so you can convert thousands of pages at no cost. Set a maximum cost per run and the Actor stops as soon as it is reached.

Input

See the Input tab for all options. Example:

{
"urls": [
"https://en.wikipedia.org/wiki/Markdown",
"https://developer.mozilla.org/en-US/docs/Web/HTTP/Overview",
"https://github.com/mozilla/readability"
],
"mainContentOnly": true,
"includeLinks": true,
"includeImages": false,
"maxCharacters": 0,
"maxConcurrency": 25
}

Output

One item per URL. Example (Markdown shortened):

{
"url": "https://developer.mozilla.org/en-US/docs/Web/HTTP/Overview",
"finalUrl": "https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/Overview",
"statusCode": 200,
"title": "Overview of HTTP - HTTP | MDN",
"description": "HTTP is a protocol for fetching resources such as HTML documents.",
"language": "en-US",
"author": null,
"publishedAt": null,
"markdown": "# Overview of HTTP\n\n**HTTP** is a [protocol](https://developer.mozilla.org/en-US/docs/Glossary/Protocol) for fetching resources such as HTML documents...\n\n## Components of HTTP-based systems\n\n...",
"wordCount": 2400,
"links": ["https://developer.mozilla.org/en-US/docs/Glossary/Protocol", "..."],
"error": null
}

You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.

Tips

  • Save tokens: turn off Include links for plain prose, and set Max characters per page to cap long pages.
  • Whole page: turn off Main content only for landing pages, pricing pages or link directories where every block matters.
  • JavaScript-only sites: this Actor reads the HTML the server sends. Single-page apps that render text only in the browser may return little content; use a browser-based crawler such as Website Content Crawler for those.
  • Blocked sites: enable Apify Proxy if many URLs return 403 or 429.

Use it with AI agents (MCP)

Give Claude, ChatGPT, Cursor or any MCP client this Actor as a tool through Apify's MCP server: add https://mcp.apify.com?tools=tenfoldfleet/url-to-markdown as a remote MCP server and sign in with your Apify account. The agent fills in the input, runs the Actor and reads the results itself; you pay the same per-event price as a normal run.

FAQ

Is this a Jina Reader or Firecrawl alternative?

Yes for the common case "give me this URL as clean Markdown". It does one thing: fetch the page over HTTP, extract the main content and convert it to Markdown, with simple per-page pricing and no subscription.

How is the main content detected?

It uses Mozilla's Readability algorithm (the engine behind Firefox Reader View) plus extra cleanup of navigation, cookie banners, ads and share widgets. Short pages such as product or docs index pages fall back to the cleaned <main> element so content isn't lost.

Are tables and code blocks preserved?

Yes. Tables become GitHub-flavoured Markdown tables (including tables without a header row) and code blocks become fenced blocks with the language when the page declares it.

Does it support PDFs?

Not yet. PDF URLs return an item with error: "PDF not supported" and are not charged.

Does it crawl whole websites?

No, it converts exactly the URLs you give it. Use the links field to pick the next pages, or use a crawler Actor for full-site crawls.

Support

Found a page that converts badly? Open an issue in the Issues tab with the URL.

This Actor only reads publicly available web pages. It does not log in, solve CAPTCHAs or collect personal data. You are responsible for respecting the terms of the websites you convert.

More tools from Tenfold Fleet

ActorOutput
ALDI Australia Scraper - AU Products, Unit Prices & Catalogueproduct
Alibaba Image Search - Reverse Lookup of Suppliers by Photomatched product
Wholesale Suppliers - MOQ & Price Breaks (Alibaba Alternative)product
AliExpress Reviews Scraper: Product Feedback & Photos Monitorreview
AliExpress Keyword Scraper - Exact Sold Counts by Search Termproduct
Amazon Bestsellers Tracker: New Releases & Rank Changesranked product
Amazon Product Scraper - Details, Prices & Search by ASINproduct
Applicant Tracking Jobs Scraper - Greenhouse, Lever & 6 Morejob posting
Audio Transcription: MP3 & Video Files to Text, SRT, VTTaudio minute transcribed
Backlinks Checker - Referring Domains, Anchors & Domain Rankbacklink
BBB Scraper: Business Leads, Ratings & New Reviewsbusiness
Bilibili Scraper - Videos, Comments, Danmaku & Searchvideo or comment
Businesses Without Websites - Local Leads with Phone & Ratinglead
Coles Product Scraper - Australian Supermarket Prices & Dealsproduct
Company Contact Lookup - One Lead Record per Websitewebsite with contacts
Contact Form Finder: Form Fields, Embed Type & Captcha Flagwebsite with contact page or form
CutShort Jobs Scraper - Startup Roles with INR Salary Rangesjob listing
Facebook Ads Library Scraper for Marketersad
Facebook Ads Transcript - Spoken Hook, CTA, Offer & Anglevideo ad transcript
Facebook Page Contact Finder - Business Leads from Page Linkspage with contact details
Facebook Reels Scraper: Views & Captions Monitor for Any Pagereel
Facebook Reels Transcript - Facebook Video to Text, No Loginreel transcript
Foundit Jobs Monitor: India, Singapore & Malaysia Jobs Scraperjob listing
Funding Rounds Scraper - Recently Funded Companies & Investorsfunding round
Google Ads Transparency Center Scraper - Competitor Ads by Sitead
Google AI Overviews Checker - Citations & Domain Trackerkeyword checked
Flights API - Route & Date Fares (Google Flights Alternative)route search
Google Hotels Scraper - Nightly Prices, Stars & Booking Siteshotel
Google for Jobs Scraper - Openings by City, Pay & Job Boardjob listing
Google Keyword Planner Alternative - Ideas, Bids & Volumekeyword idea
Google Maps Extractor - Business Leads, Phones & Websitesplace
Google News Scraper - Articles, Real URLs & Full Textarticle
Google Travel Hotel Rate Tracker - OTA Prices for Every Nightoffer
Search Trends by Region & Time - Google Trends Data Scraperkeyword
Hirist Jobs Scraper: India Tech Jobs with New-Job Monitorjob listing
IIMJobs Jobs Scraper: Search & Monitor Management Rolesjob listing
India Jobs Feed: Hirist, IIMJobs, Foundit, Instahyre & Cutshortjob listing
Instagram Reels Analytics - Profile Reel Plays, Likes, Commentsreel
Instagram Reels Search - Keyword to Top Reels, Plays & Creatorsreel
Instagram Reels Transcript - Speech to Text for Public Reelsreel transcript
Instahyre Jobs Monitor: New Tech Jobs in India by Skilljob listing
Keyword Ideas & Related Keywords - Difficulty, Volume & CPCkeyword idea
Keyword Search Volume, CPC & Difficulty Checker (Bulk)keyword with data
Likee Scraper - Creators by Country, Video Views & Likesvideo
LinkedIn Ads Library Scraper - Competitor Ad Copy & Targetingad
LinkedIn Company Posts Monitor: New Posts, No Loginpost
LinkedIn Company Scraper: Firmographics & Recent Postscompany
Naver Shopping Scraper - Keyword Rank, Prices, Ads & Mallsproduct
Pinterest Search Scraper: Pins, Promoted Ads & Shop Trendspin
Podcast Transcription: Episodes to Text, SRT & Monitoraudio minute transcribed
Reddit Brand Monitoring - Keyword Alerts for Posts & Commentsmention
Reddit Post Comments Export: Threads to JSON & CSVcomment
Remote Job Board Scraper - Remote Jobs Aggregator, 7 Sitesunique remote job
Reverse Image Search - Find Every Site Using a Photoimage searched
SEEK Jobs Scraper - Salaries & Hiring Across 8 APAC Job Boardsjob listing
Semrush API Domain Traffic: Visits, Authority Score, AI Trafficdomain
SEO Agent - AI Keyword Research & Competitor Reportsresearch report
SEO Crawler - Technical SEO Audit Tool & On-Page Checkerpage audit
SEO Competitor Keywords - Domain Ranked Keywords & Keyword Gapkeyword
Shopify Inventory Scraper - SKUs, Variants & In-Stock Statusproduct
Shopify App & Theme Detector - Store Analyzer & Contactsshopify store
Sitemap URL Extractor - All URLs from sitemap.xml & robots.txturl
Stock Photos & Videos Scraper for Pexelsmedia item
Website Built With Checker - Find Any Site's CMS & Tech Stackwebsite
Telegram Keyword Search Monitor - New Mentions in Channelsmatching message
Threads Search - Keyword & Profile Posts Scraper (No Login)post
TikTok Ads Library Scraper: Competitor Ads in Europead
TikTok Transcripts - Captions or Speech to Text for Any Videovideo transcript
Twitter Video Transcript - X Video to Text & SRTvideo transcript
Video Transcriber - Any Link to Text, SRT & VTT (7 Platforms)video transcribed
Website Traffic Checker - Bulk Domain Traffic Estimatedomain with traffic data
WeChat Official Account Articles - Keyword Search to Markdownarticle found
Weibo Scraper - Comment Threads, Hot Search Ranks & User Statscomment
Woolworths Product Scraper - AU Shelf Prices, Specials & GTINsproduct
Workday Jobs Scraper - myworkdayjobs.com API with Salaryjob posting
Yahoo Finance Scraper - Quotes, History, Fundamentals & Newsticker row
YouTube Channel Email Scraper - Creator Contact Extractorchannel with email
YouTube Livestream & Channel Scraper - Videos, Likes & Statsvideo
YouTube Comments Scraper - Replies, Likes & Sort by Newestcomment
YouTube Search Scraper: Keyword Video & Shorts Monitorsearch result
YouTube Shorts Analytics Scraper - Views, Likes & Hashtagsshort
YouTube Captions Downloader - Transcript & Subtitles Scrapertranscript
YouTube Video Details Lookup: Views, Likes & Tags by URLvideo details
⌂ 换网址