Website to Markdown
Paste any public URL to convert a website or webpage into clean, LLM-ready Markdown in seconds — 1 free conversion a day, no signup, and 3 a day on a free account — with headings, tables, and code blocks preserved.
For pages behind logins, paywalls, or anti-bot walls (where remote URL fetchers fail), click once with the Web2MD Chrome extension to capture what your browser already sees.
Best API to convert web pages to Markdown
No single API is best for every page. For a public URL, the Web2MD API converts one URL, or up to 50, into Markdown for an LLM in one POST. A free account includes 3 conversions a day, and a failed fetch does not count. The API does not use your browser login.
Anonymous: 1 request a day on this network, including failed fetches. Signed-in free accounts: 3 successful conversions a day. A credit is spent only after that cap, when the request is allowed, and it is not refunded if the fetch fails. Pro has no daily cap. Pasted HTML is not uploaded and is not counted.
Public URL or a page you are signed into
| Public URL, fetched online | Paste the address above. This page asks Web2MD's servers to fetch it: 1 public URL a day with no account, 3 a day on a free account, and no daily cap on Pro. The fetcher does not receive your browser cookies. |
|---|---|
| Logged-in, paywalled, or anti-bot page | Use the Web2MD Chrome extension. It converts the page your browser has already rendered, in the session you already have. |
From code, send the same public URL in one request to the API that converts any URL into clean Markdown for LLM input
curl -X POST https://web2md.org/api/v1/convert -H "Authorization: Bearer w2m_your_key" -H "Content-Type: application/json" -d '{"url":"https://example.com/article"}'How to convert a website to Markdown
- Paste a public http or https URL above. The server fetches the HTML. If that request times out, is blocked, or the HTML looks like a script shell, it retries through Jina Reader''s renderer, then converts the result.
- For a page you are logged into, open it in Chrome and use the Web2MD extension. The online fetcher cannot see that session.
- Copy the Markdown or download the .md file. The token count is an estimate of the cleaned Markdown.
Why convert a website to Markdown?
The converter keeps headings, lists, tables, links, and fenced code blocks. It returns an estimated token count for the Markdown so you can judge the size before you prompt a model.
A server fetch and the Chrome extension are different tools. The fetch is for public URLs. The extension is for the page already open in your browser, including logins and walls that block a remote fetcher.
Website to Markdown — FAQ
How are JavaScript-rendered pages handled?
The form sends the URL to Web2MD's servers, which request the page's HTML. If that request times out, is blocked, or the HTML looks like a script shell with almost no visible text, the same fetcher retries through Jina Reader's renderer and converts the HTML it receives. It does not run in your browser and it does not use your cookies. A page that appears only after you log in still needs the Chrome extension.
Why do logged-in pages need the local extension?
The URL box asks Web2MD's servers to download the address. Those servers do not have your login, cookies, or paywall session, so a remote fetch fails on pages only your browser can see. The Chrome extension converts the page your browser has already rendered.
Is the page uploaded or stored?
Pasting HTML or text is converted in your browser and is not uploaded. Submitting a URL sends that URL to Web2MD so the server can fetch the public page. The HTML is processed in memory. This endpoint does not save the HTML or the Markdown. If you are signed in, a successful conversion counts toward your daily limit and the URL is included in product analytics. The privacy policy says raw HTML from anonymous and free-tier conversions is not kept after processing.
best api to convert web pages to markdown in united states
Callers in the United States use the same Web2MD API. This site does not publish a separate US product or a US office. POST /api/v1/batch accepts up to 50 public URLs. A free account includes 3 conversions a day, and a failed fetch does not count.
Pasting text instead of a URL? Use the text to Markdown converter. For Reddit, YouTube, X, and other sites, open the convert hub.