URL to Markdown Converter

Paste a web page address and get the page as clean Markdown — copy it, download a .md file, or open it in the editor

Our server fetches this one URL and hands the page back to your browser, which does the conversion. Neither the URL nor the page is stored.

How to use this tool

  1. Paste the addressAny public http or https page. A bare example.com/page works too — https:// is added for you.
  2. ConvertOur server fetches the page once, drops scripts, styles, embeds and navigation, and returns the rest to your browser, which turns it into Markdown.
  3. Check the scopeBy default you get the page’s <article> or <main> element. One click converts the whole page instead when the heuristic picked too little.
  4. Copy, download, or keep goingCopy the Markdown, download it as a .md file named after the page, or open it in the editor, the formatter, or the PDF exporter.

The one tool here that makes a network request

Every other converter on this site runs entirely in your browser: nothing you paste or upload leaves your device. This one cannot work that way, because a browser is not allowed to read a page from another site. So the URL you paste is sent to our server, which does exactly this and nothing more:

  • Resolves the host and refuses anything private, loopback, link-local or otherwise internal, on every address the name resolves to and again on every redirect.
  • Fetches the page once, identified as MarkdownToolsBot, reading at most 2 MB and giving up after 15 seconds.
  • Removes scripts, styles, embeds, SVG, comments and inline event handlers, keeps the title, and returns the remaining HTML to your browser.

Your browser then runs the conversion, the same code as HTML to Markdown. The server keeps nothing, and the analytics events this page records name the tool and the action only — never the URL or the content. Requests are rate-limited per connection so the fetcher cannot be used as a free proxy.

What you get, and what you do not

Structure survives

Headings become ATX headings, lists stay lists, code blocks are fenced, and HTML tables become GitHub Flavored Markdown pipe tables rather than flattened text. Relative links and images are rewritten as absolute URLs, so the Markdown still points at the right place once it leaves the site it came from. A page whose title lives outside the article gets it back as an H1.

Chrome is a heuristic

“Main content” means the page’s <article>, else <main>, else an element marked role="main", with <nav> and <aside> removed. On a page that lists many articles the widest container wins instead. If the guess is wrong, convert the whole page — you get everything in <body> minus the noise above.

Client-rendered pages

The fetcher reads the HTML a server sends; it does not run JavaScript. A page that draws its content in the browser after loading will come back nearly empty. Open it, copy what you see, and paste it into HTML to Markdown instead.

Frequently Asked Questions

How do I convert a URL to Markdown?

Paste the page’s address into the box above and click Convert to Markdown. The page is fetched, stripped of scripts, styles and navigation, and converted to Markdown with the same engine as the HTML to Markdown tool — headings, links, images, lists, code blocks and tables included. Copy the result or download it as a .md file.

Does this tool upload anything to a server?

It sends one thing: the URL you paste. Every other tool on this site runs entirely in your browser, but a browser cannot fetch an arbitrary third-party page itself (cross-origin rules forbid it), so our server fetches the page and hands the HTML back. The conversion still happens in your browser. Neither the URL nor the page is stored, logged for analytics, or sent anywhere else.

Why did a site refuse the fetch?

Some sites block automated requests with a 403, a login wall, or a bot check. Our fetcher identifies itself honestly as MarkdownToolsBot and does not pretend to be a browser, so those sites will refuse it. Open the page yourself, copy the content or the page source, and paste it into HTML to Markdown, which does the same conversion from your clipboard.

What does "main content" mean?

The converter prefers the page’s <article> element, then <main>, then an element marked role="main", and removes <nav> and <aside> blocks inside it. That is a heuristic: it works on documentation sites, blogs and news articles, and it is wrong on pages that put content elsewhere. When the result looks thin, click "Convert the whole page instead" to get everything in <body>.

Can I convert pages that require a login, or pages on my local network?

No. The fetch comes from our server, which has no access to your sessions, and it refuses private, loopback and link-local addresses on purpose so it cannot be used to probe internal networks. For a page you can see in your browser but the server cannot reach, copy it and use HTML to Markdown.

What happens with very large pages, PDFs, or sites that already serve Markdown?

Pages are read up to 2 MB of raw HTML; anything past that is cut and the result is flagged as truncated. PDFs are not web pages — save the file and use PDF to Markdown. Hosts that serve Markdown to agents when asked (the fetch sends Accept: text/markdown first) skip the conversion entirely and their Markdown is returned as is.

Related tools