Markdown Converter: Web Page, HTML & Website to LLM Markdown
Pricing
$1.00 / 1,000 pages converted
Markdown Converter: Web Page, HTML & Website to LLM Markdown
HTML, web page and website to Markdown for RAG and LLMs: convert URLs, a sitemap, raw HTML, or crawl a docs site from its start page. Re-crawl only changed pages, llms.txt, RAG chunks with heading paths, metadata, token counts. JavaScript sites supported. $1 per 1,000 pages, failed pages free.
Pricing
$1.00 / 1,000 pages converted
Rating
0.0
(0)
Developer
Pandapi
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
11 days ago
Last modified
Categories
Features
Share
Convert HTML, a web page, a whole website or a docs site into clean Markdown for RAG, LLM fine-tuning or AI agents. Paste URLs, add a sitemap, crawl a site from its start page (no sitemap needed), or paste raw HTML, and get one clean Markdown page per URL: no menus, cookie banners, ads or footers. Each page also comes with metadata, word and token counts, and optional RAG-ready chunks with their heading path and a deep link to the exact section (page#anchor).
Price example: a 1,000-page docs site costs $1. Failed pages are free, and there is no start fee.
What people use it for
- Scrape docs for RAG: crawl a product's documentation from its start page (or its sitemap) and load the chunks into Pinecone, Qdrant, Weaviate, Chroma or pgvector.
- HTML to Markdown API: call it from LangChain, LlamaIndex, n8n, Make or your own code to turn any web page, or HTML you already have, into Markdown.
- Keep a RAG index in sync: schedule a re-crawl with Only new and changed pages: you get (and pay for) only what changed, plus a
removedrow for deleted pages. - llms.txt for your site: crawl your docs and get a ready
llms.txtandllms-full.txt. - AI agents and MCP: give an agent clean page text instead of raw HTML (fewer tokens, better answers).
- Content migration and archiving: export a blog or knowledge base to Markdown files.
Why this one
| This Actor | Typical alternatives | |
|---|---|---|
| Many URLs per run | ✅ List or sitemap, up to 100k pages | Some fetch one URL per run |
| Crawl a site without a sitemap | ✅ Follows links inside the start folder or site, depth limit, skip patterns, respects robots.txt | Often sitemap-only or single page |
| Price | $1 per 1,000 pages, failed pages free | Pay-per-page or unpredictable compute costs |
| JavaScript sites | ✅ Auto: fast HTTP first, Chrome only when needed | Always-browser (slow, costly) or never |
| Main content extraction | ✅ Mozilla Readability + menu/ad/cookie removal | Often whole-page dumps |
| Metadata | ✅ Title, description, author, published/modified dates, language, canonical URL, site name, image | Usually title only |
| RAG chunks with heading path | ✅ Optional, with overlap and token counts | Rare |
| Chunk deep links | ✅ Each chunk's url points to the nearest #anchor (section, API parameter) | Page URL only |
| Tabbed code examples (curl / Python / JS) | ✅ One variant per chunk, or all of them labeled | Plain HTML-to-Markdown mashes every tab into one block |
| Code blocks | ✅ Fenced, line breaks and language kept (MkDocs, Docusaurus, Sphinx, Prism, Shiki) | Often flattened to one line |
| Raw HTML input | ✅ Paste HTML strings (emails, CMS exports, saved pages), no URL needed | URL only |
| Re-crawl only what changed | ✅ New and changed pages only, unchanged pages free, removed pages listed | Full re-crawl, full price |
| llms.txt | ✅ llms.txt + llms-full.txt built from the crawl | Rare |
| Tables | ✅ Real Markdown tables, even without a header row; merged cells filled in; spec sheets and infoboxes as Label: value lists; big data tables kept on "List of..." pages | Raw HTML tables or dropped tables |
| Token estimate per page | ✅ | Rare |
| Simple setup | ✅ Sensible defaults, ~10 options | Often 50+ options |
Output
{"url": "https://react.dev","status": "ok","title": "React","description": "React is the library for web and native user interfaces...","author": null,"publishedAt": null,"language": "en","canonicalUrl": "https://react.dev/","markdown": "# React\n\nThe library for web and native user interfaces\n\n## Create user interfaces from components\n...","wordCount": 588,"approxTokens": 1050,"renderedWithBrowser": true,"chunks": [{ "index": 0, "headingPath": "React > Create user interfaces from components", "text": "...", "approxTokens": 480, "anchor": "create-user-interfaces-from-components", "url": "https://react.dev/#create-user-interfaces-from-components" }]}
Pages that fail (404, timeout, blocked, empty) are returned with "status": "failed" and an error message, and are not charged.
HTML documents give the same row with "source": "html" and input (the name you gave, or html-1, html-2...). With Only new and changed pages, each row has changeStatus (new or changed), and deleted pages come as free rows with "status": "removed". With Also build llms.txt, the key-value store gets llms.txt and llms-full.txt.
Tips
- Content: Main content only is best for articles, docs and blogs. Use Full page for homepages, listings and product pages.
- Turn on RAG chunk size (e.g. 500) to get chunks ready for Pinecone, Weaviate, Qdrant, pgvector, LangChain or LlamaIndex.
- Use Sitemaps to convert a whole docs site in one run.
- No sitemap? Turn on Crawl links from the URLs and give the docs start page, e.g.
https://docs.example.com/guide/. By default it stays inside that folder (/guide/); choose Whole site to go wider, and add Skip URLs containing patterns like/blog/or/changelog. - Plain-text and
.mdURLs (like GitHub raw files) are passed through as-is. - HTML you already have: put it in HTML to convert, as strings or as
{"html": "...", "url": "https://..."}(the URL makes relative links absolute). - Scheduled RAG sync: turn on Only new and changed pages, give a Monitor name, and schedule the run. The first run is the full baseline; later runs return only new and changed pages, plus
removedrows to delete from your index. - Docs with tabbed code examples (curl / Python / JS, Windows / macOS): by default only the tab a visitor sees first is kept, so each chunk holds one variant. Set Tabbed content to All tabs to keep every variant, each under its label.
Pricing
$1 per 1,000 pages converted ($0.001 per page), compute included. Failed pages are free. Set "Maximum cost per run" in Apify to cap spending.
FAQ
How do I convert a whole website, not just one page? Two ways. Add its sitemap (usually https://example.com/sitemap.xml) under Sitemaps, where sitemap indexes are followed. Or give the start page and turn on Crawl links from the URLs: it follows links on the same site up to Max crawl depth clicks away. Max pages caps the run either way.
Does the crawler respect robots.txt? Yes. In crawl mode, links that the site's robots.txt disallows for all crawlers are skipped, and the run summary says how many. Pages you list yourself are always converted.
Does it work on JavaScript sites (React, Next.js, Docusaurus)? Yes. It fetches over fast HTTP first and re-renders only the pages that need it in Chrome.
What do the RAG chunks look like? Set RAG chunk size (e.g. 500 tokens). Each chunk is split on headings and keeps its heading path (for example Guides > Install > Docker) so you can store it as metadata. Each chunk also has anchor and url: the nearest #anchor before the chunk (a heading, or an API parameter row like #param-timeout), so your chatbot can cite https://docs.example.com/api#param-timeout instead of the top of a 5,000-word page. Chunks before the first anchor get the page URL.
How are tables converted? Every table becomes clean Markdown, never raw HTML. Data tables become Markdown tables: a table without a header row gets its first row as header, and merged cells (rowspan/colspan) are filled in so columns stay aligned and each row reads on its own in a chunk. Two-column label/value tables (Wikipedia infoboxes, API directive tables, spec sheets) become - **Label:** value lists. Layout tables (one row, one column or nested tables) become plain text. If the main-content filter would drop a page's big data tables, as on Wikipedia "List of..." pages, the page's main region is used instead so the table is kept.
How do I call it from code? Use the Apify API or client (Python or JavaScript): start a run with urls or sitemapUrls (add "crawl": true to follow links) and read the dataset. It also works as a tool in the Apify MCP server.
How much will my run cost? $0.001 per converted page. 200 pages = $0.20. Set "Maximum cost per run" to cap it.
Responsible use
Respect each website's terms and copyright. This tool reads public pages only and does not bypass logins or CAPTCHAs.
More from Pandapi 🐼
Pandapi makes friendly, no-nonsense data tools: simple input, clean output, and fair pay-per-result prices. Found a bug or need a feature? Open an issue on the Issues tab and we answer fast.
- Pandapi MCP Server: all these tools in Claude, Cursor or any AI agent through one MCP connection
- PDF to Text, Markdown & Excel: text, Markdown and real Excel tables from any PDF, with OCR
- Website Contact Details Scraper: business emails, phones and social links, one row per website
- Website Screenshot: full-page and mobile screenshots or PDFs of many URLs at once
- Broken Link Checker: every 404, dead link and redirect on a site, with the page it is on
- Public Tenders Feed: government tenders and contract awards from six official portals
- App Store Reviews Scraper: iOS reviews, ratings and app details from about 180 countries
- Google Play Reviews Scraper: Android reviews with developer replies, ratings and app data, many languages
- Shopify & WooCommerce Products and Price Monitor: every product, price and stock status of any store, with daily price-drop and new-product alerts
- Website Tech Stack Detector: CMS, ecommerce, analytics, ad pixels and hosting of any site from 7,700 technologies, with social links in the same row
- Domain Intelligence: availability, registrar, expiry, DNS, SPF/DMARC and SSL expiry for any list of domains, with change alerts
- Google Ads Transparency Scraper: every Google ad of a competitor with headline, description and run dates, plus new and stopped ads
- Shopify App Store Reviews Scraper: merchant reviews, developer replies and pricing plans of any Shopify app, with fake-review signals
- Company Jobs Tracker: every open job from the companies you name (Greenhouse, Lever, Ashby and 8 more), with new and closed jobs tracked
- ZIP & Postal Code Lookup: city, state and coordinates for postal codes in 124 countries, plus distance and radius search
- Profanity Filter API: find and mask bad words in 26 languages, leetspeak included, without the Scunthorpe problem
- HTML to PDF: web pages, HTML or a template plus JSON rows (invoices, certificates) to PDF
- Hacker News Scraper: stories, comments, Show HN and job posts, filtered your way