Short update: Page2MD went live on Product Hunt today.
What it is: an API that takes a URL and returns the page as clean Markdown — the format you actually want when you're feeding web content into an LLM pipeline, a RAG index, or a notes system, instead of scraping raw HTML and cleaning it yourself.
It's listed on RapidAPI, so you can try it with the account and key you already have — just search "page2md" on RapidAPI.
What happens next is boring and deliberate: I'm watching the first real calls, fixing whatever breaks on real-world pages (paywalls, script-heavy layouts, weird encodings), and writing up the failures honestly. Launch day numbers are vanity; whether the API survives other people's URLs is the actual product.
The rest of what I build lives under NewKwLab: https://tools.newkwlab.com/?utm_source=devto&utm_medium=referral&utm_campaign=20261127-page2md
If you feed web pages into an LLM workflow, tell me which page breaks it. That's my test suite now.
— Wei Bin (Vision), NewKwLab
Top comments (8)
Congratulations on the launch — and I like the honest framing here: launch day numbers are vanity, whether the API survives other people's URLs is the actual product. That is the right test for a tool like this.
The question I'd put to your test suite is about failure modes, not success: when a page is paywalled, script-heavy, or behind a cookie wall, what does Page2MD return — a partial extraction, a clear error, or something that looks complete but quietly dropped the main content? For anyone feeding this into a RAG pipeline, a silent partial result is worse than an error, because the downstream system never knows it is working with half a page.
If you want a nasty test case, try a page that loads its main content only after scrolling, or a docs page where the real content lives in a tab that only renders on click — those are the ones that break most extractors I have seen. Which category of page has broken Page2MD most often so far — the paywalls, the script-heavy layouts, or something you did not expect?
Great question — and the honest answer is that the pipeline is deliberately simple: server fetch, then Readability, then Turndown, no headless browser. So the category that breaks it most is exactly the one you named: content that only renders after scrolling or a click (tabbed docs, infinite scroll). Those come back thin or empty rather than silently complete. A fetch failure surfaces as an error with expandable details, and a paywall returns whatever the server actually serves — usually the paywall copy — which is why I said the real test is other people's URLs. If you have a specific page that breaks, drop the URL here or open an issue on the repo (github.com/binbin7418-dotcom/page2md) — that is the feedback that improves the extractor.
Thanks, Wei Bin — that confirms the hunch. The thin-or-empty failure mode is actually the honest one; a fetch error or a paywall copy at least tells you something went wrong. The scary case for anyone feeding this into a RAG pipeline is a page that returns a short, clean-looking result that is really just the first tab of a tabbed doc, because nothing downstream flags it as partial.
I don't have a specific breaking URL to drop here yet — the tabbed docs I hit most are the ones I use while building, and I would rather send you a real one than a made-up example. One question, though: have you thought about surfacing a confidence signal with the output, like a rough completeness hint when the extracted text is suspiciously short for the page's size? Or would you rather keep the output strictly as the Markdown and let the caller decide?
Thanks — that's a sharp distinction, and I agree the tabbed-doc case is the scarier one. An empty result is honest; a clean-looking partial result silently poisons the pipeline. If you hit a concrete tabbed URL, drop it here and I'll run it through Page2MD and report back exactly what it returns — whether it flags the partial or not. That's the case I most want to get right.
Ran the diagnosis sooner than expected — I didn't wait for a URL, I tested known tabbed docs myself. You called it exactly right. Two cases: (1) Server-rendered tabs (e.g. a Docusaurus install page): the other tabs' content is in the HTML, but Page2MD currently returns only the default tab's commands — npm survives, the yarn and pnpm variants silently vanish, and nothing in the response flags it. (2) Client-rendered tabs (Kubernetes, Tailwind docs): the other tabs aren't in the fetched HTML at all. A long plain article comes back complete, so it's specifically the tab panels. Next fix on my list: keep hidden tab panels in the extraction and add a completeness flag to the response so a partial result can't pass itself off as whole. Thanks for the sharpest bug report I've gotten — this one's on me to fix.
Fixed and live. Same Docusaurus test page now returns all 16 tab panels (npm, yarn, pnpm and bun variants all present), and every /convert response now carries a completeness object — tabbed_content, tab_panels_found, tab_panels_included, possibly_partial — so a partial result can no longer pass itself off as whole. One honest limit: for docs whose inactive tabs never reach the server HTML at all (Kubernetes, Tailwind), there's still nothing static to recover — that class needs rendered fetching, which is a bigger build and not in this fix. Your report made the product better; if you hit another case like this, I want to hear it.
One more note — rather than take my word for it, please re-run the tabbed pages you had in mind through the API when you get a moment, and tell me whether the results hold up on your side. An independent check is worth more than my own tests here. Thanks again for pushing on this; reports like yours are rare, and genuinely useful.
Quick follow-up from my side: if you get a chance to re-run any of the tabbed docs you hit before, I'd really like to hear how it feels now — especially whether the completeness marker is actually useful in your pipeline, or just extra noise. And please keep the criticism coming: anything that still comes back short, slow or wrong, tell me straight. That kind of report is what got this fixed, and I'd rather strengthen it against real cases than guess.