URL to Markdown Converter
Paste a web page URL (or its HTML) to get the main content as clean Markdown, ready for ChatGPT, Claude, an agent or a RAG pipeline. Menus, footers, ads and cookie banners are removed; headings, lists, tables and code are kept.
Free: 5 URLs a day, pasted HTML without a daily limit, output up to 5,000 characters.
Example output
# We launched After a year of work the product is live. This post explains what it does. ## What comes next - An API - A mobile app
The Markdown for a small sample blog post.
Convert pages from code
The tool runs on Web Page API. From code you get the full page (up to 1,000,000 characters), a links list, word count and link previews:
curl "https://web-page-api.p.rapidapi.com/v1/markdown?url=https://en.wikipedia.org/wiki/Markdown" \ -H "X-RapidAPI-Key: YOUR_KEY" -H "X-RapidAPI-Host: web-page-api.p.rapidapi.com"
Free plan: 300 requests a month. See docs and pricing.
Frequently asked questions
How do I convert a web page to Markdown?
Paste the page's URL above and press Convert. The tool fetches the page, keeps only the main content (the article, docs page or README) and returns it as Markdown without menus, footers or cookie banners. If the site blocks it, open the page, copy its HTML (View source) and paste that instead.
Why convert web pages to Markdown for ChatGPT, Claude or RAG?
Markdown keeps headings, lists, tables, links and code but drops the HTML markup, scripts and page furniture, so the same content takes far fewer tokens and chunks cleanly for embeddings and retrieval.
Is this URL to Markdown converter free?
Yes. The tool converts 5 URLs per day and pasted HTML without a daily limit, with output up to 5,000 characters. For more, or to call it from code, use Web Page API: the free plan has 300 requests a month and returns up to 1,000,000 characters per page.
Does it work on pages that need JavaScript?
It reads the HTML the server sends and does not run JavaScript. Articles, blogs, docs and Wikipedia work well; single-page apps that build their content in the browser may give little text.
Does it respect robots.txt?
Yes. URL conversions honour robots.txt for the token WebPageAPI and stop with robots_disallowed when a site opts out. Private-network and cloud-metadata addresses are refused.
Last updated 2026-10-24. Part of Web Page API.