How to Save Any Webpage as Markdown (3 Methods)
You want to save a webpage as a Markdown file. Maybe you’re building a knowledge base, archiving documentation, or just want a clean copy of an article. Here are three ways to do it, from simplest to most technical.
Method 1: Save Extension (Easiest)
Save is a Chrome extension that converts any webpage to clean Markdown with one click.
How it works:
- Install Save from the Chrome Web Store
- Visit any webpage
- Click the Save icon
- A
.mdfile downloads to your computer
What makes it good:
- AI-powered extraction strips ads, navigation, and clutter
- Preserves headings, lists, code blocks, tables, and links
- Works on hard pages: YouTube (full transcripts), Twitter threads, Reddit, Confluence, paywalled content
- No terminal, no API keys, no configuration
- Output is clean, structured Markdown ready for Obsidian, VS Code, or AI tools
Best for: Anyone who wants clean Markdown without touching a terminal.
Method 2: Command-Line Tools
Several CLI tools convert HTML to Markdown:
Pandoc
The Swiss Army knife of document conversion:
# From a URL (fetch + convert)
curl -s https://example.com/article | pandoc -f html -t markdown -o article.md
# From a local HTML file
pandoc input.html -o output.md
Pros: Powerful, handles complex documents, many output formats. Cons: Fetches raw HTML (includes navigation, ads, scripts). Output often needs manual cleanup.
Defuddle
A newer tool focused on extracting readable content:
npm install -g defuddle
defuddle parse https://example.com/article --md
Pros: Strips navigation and clutter, focuses on article content. Cons: Requires Node.js, doesn’t handle all page types.
Jina Reader
Hosted API that returns Markdown:
curl -s "https://r.jina.ai/https://example.com/article"
Pros: No installation, works via HTTP. Cons: Rate-limited, requires internet, third-party dependency, doesn’t handle JavaScript-rendered pages well.
Best for: Developers who are comfortable in the terminal and need to batch-convert pages.
Method 3: Manual Copy-Paste
The low-tech approach:
- Select all content on the page (Cmd+A or Ctrl+A)
- Copy it (Cmd+C or Ctrl+C)
- Paste into a Markdown editor
- Manually fix formatting
Pros: No tools needed. Cons: Copies everything (navigation, ads, footers). Loses formatting. Tables break. Code blocks disappear. Links become plain text. Time-consuming for anything beyond a short article.
Best for: One-off saves when you only need a few paragraphs.
Comparison
| Feature | Save Extension | CLI Tools | Copy-Paste |
|---|---|---|---|
| Setup time | 10 seconds | 5-30 minutes | None |
| One-click save | Yes | No | No |
| Clean output | AI-extracted | Varies | Manual cleanup |
| YouTube transcripts | Yes | No | No |
| Twitter threads | Yes | No | Partial |
| Confluence/wikis | Yes | Partial | Messy |
| Code blocks preserved | Yes | Usually | No |
| Tables preserved | Yes | Usually | No |
| Works offline | No | Yes (Pandoc) | Yes |
| Cost | Free tier available | Free | Free |
Why Save Webpages as Markdown?
If you’re reading this, you probably already know. But here’s why Markdown beats every other format for saving web content:
It’s tiny. A typical article is 5KB in Markdown vs 100KB+ in HTML. That’s 20x less storage and 20x fewer tokens if you feed it to an AI.
It’s portable. Open it in any text editor, any note-taking app (Obsidian, Notion, Logseq), or any developer tool. No vendor lock-in.
It’s searchable. Grep across hundreds of Markdown files in milliseconds. Try that with PDFs.
LLMs love it. Claude, ChatGPT, and other AI tools were trained on millions of Markdown documents. Feeding them Markdown produces better results than raw HTML or PDF.
It lasts forever. Plain text files are the most durable digital format. Your .md files will be readable in 50 years. Your bookmarks won’t survive 5.
Get Started
The fastest way to start saving webpages as Markdown: Install Save from the Chrome Web Store. It’s free to start and takes 10 seconds to install.
Never lose a webpage again. Save converts any page to clean Markdown with one click.