Convert Any Webpage to Markdown for Free
- Any webpage can be converted to clean Markdown using the HTML source
- Useful for research notes, documentation archiving, and offline reading
- Script tags, ads, and navigation are stripped — only content comes through
- Download as .md file or copy to clipboard — works with any Markdown app
Table of Contents
Saving a webpage as Markdown is the cleanest way to archive or reference web content in a note-taking app. Unlike saving as PDF (static, unsearchable) or bookmarking (dead link risk), a Markdown file gives you editable, searchable, portable text that works in Obsidian, Notion, Logseq, iA Writer, and dozens of other tools.
Here is how to convert any webpage to Markdown for free without a browser extension.
Why Save Webpages as Markdown (Not PDF or Bookmark)
The three common ways people save web content — and the problems with each:
Bookmarks — The URL goes dead. Sites restructure, pages get deleted, paywalls appear. Bookmarking the URL does not preserve the content.
PDF — Preserves the content, but PDFs are not searchable in most note apps, cannot be edited, do not integrate with bidirectional linking systems, and carry all the visual clutter of the original page.
Screenshot — No searchability at all, large file sizes, text is not copyable.
Markdown — Plain text that is editable, searchable, version-controllable, portable across tools, and lightweight. You keep the structure (headings, lists, links) without the visual noise. It integrates natively with PKM tools like Obsidian and Logseq.
Getting the Right HTML: Focus on the Content
The quality of your Markdown depends on which HTML you copy. The full page source includes navigation bars, footers, cookie banners, sidebar ads, and hundreds of lines of metadata — all of which pollute your Markdown output.
The better approach: copy only the main content element.
- Right-click on the article text on the page
- Select "Inspect" (Chrome/Edge) or "Inspect Element" (Firefox)
- In the Elements panel, the selected element is highlighted. Look up the DOM tree to find the parent element that wraps the full article — typically an
<article>,<main>, or a div with a class like "post-content" or "article-body" - Right-click that element → Copy → Copy outerHTML
This gives you just the article content — clean input for the converter.
Alternative: In Firefox, press F9 to enter Reader Mode, then Ctrl+U for the simplified source. Reader Mode strips most noise automatically.
Sell Custom Apparel — We Handle Printing & Free ShippingConverting the HTML to Markdown
- Paste the copied HTML into the converter input box.
- Click "Convert to Markdown." The converter parses the HTML, walks the DOM structure, and produces equivalent Markdown for each element.
- Check the output. Headings should match the article structure. Bold and italic text should be preserved. Lists and code blocks should be intact. Links should carry their href.
- Download as .md (saves to your Downloads folder, named after the first content element) or copy to clipboard to paste directly into your note app.
Script and style tags are automatically stripped. Class and ID attributes are discarded. Only the content structure and semantics come through.
What People Use Webpage-to-Markdown For
- Research notes — Save key articles with their structure intact. Quote specific sections using Markdown blockquotes. Annotate with your own thoughts using normal text.
- Documentation archiving — Save library docs, API references, or technical guides locally. Search them offline. Link them to related notes in your PKM.
- Content migration — Moving a blog or site to a new platform? Convert the existing pages to Markdown and import them into the new CMS.
- Readwise alternative — Save articles to your own local vault instead of a third-party service. Full control, no subscription.
- Team knowledge bases — Convert external references to Markdown and add them to a shared team vault or wiki.
What Does Not Convert and How to Handle It
Images — Convert as Markdown image syntax with the original URL as the src. The image is still external. To save it locally: download images separately and update the paths in the Markdown file.
Paywalled content — The converter works with whatever HTML you provide. If the page is paywalled and only the teaser HTML is loaded, that is all you get. Use archive services or your subscription's copy feature to access full content.
JavaScript-rendered content — Some sites render content with JavaScript after the initial page load. The HTML from View Source or Copy outerHTML may be missing that content. Try right-clicking and copying from the rendered page (Inspect, not View Source) to get the JS-rendered output.
Tables with complex layout — Simple tables convert cleanly. Tables used for layout (rather than data) produce confusing Markdown. Focus on selecting just the content element to minimize layout tables in your input.
Convert Any Webpage to Markdown
Paste the HTML. Get clean .md output. Free, no signup, no extension needed.
Open Free HTML to Markdown ConverterFrequently Asked Questions
How do I convert a webpage to Markdown without a browser extension?
Right-click the article content → Inspect → copy outerHTML of the main content element. Paste into the HTML to Markdown converter. Download or copy the .md output.
Does the converter strip ads and navigation from webpages?
Yes, if you copy only the article content element rather than the full page source. Script, style, and meta tags are always stripped. Navigation and ads are stripped if you select just the article.
Can I save the Markdown as a file?
Yes. Click "Download .md" in the converter to save the output as a .md file directly to your Downloads folder.
Does this work for documentation sites?
Yes. Documentation HTML converts cleanly — especially code blocks, which are preserved as fenced Markdown code blocks.

