DEV Community

Wei Bin
Wei Bin

Posted on

Page2MD launched today — a quick post-launch note

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 (3)

Collapse
 
userxnom profile image
Abdullah Naseer •

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?

Collapse
 
visionwei profile image
Wei Bin •

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.

Collapse
 
userxnom profile image
Abdullah Naseer •

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?