.MD this page
July 4, 2026 · View on GitHub
Turn any webpage into clean, LLM-ready Markdown in one click.
Strip the browser, keep the structure, then copy or download instantly.

How it works
- Open any webpage
- Right-click → ".MD this page" (or press
Alt+M) - Get clean Markdown instantly
Why Markdown (and why it matters for LLMs)
Modern LLMs perform significantly better when content is provided in clean, structured Markdown instead of raw HTML or cluttered webpage data.
HTML pages include navigation bars, scripts, ads, and deeply nested DOM structures that add noise and consume context window without adding meaning. This extension solves that by converting pages into a simplified, structured format that is easier to process and reason about.
Benefits for LLM workflows:
- Less noise, more signal: Removes ads, UI elements, and boilerplate content that distract from the main text.
- Better structure understanding: Headings, lists, and sections are preserved in a format LLMs naturally interpret well.
- Token efficiency: Markdown is significantly more compact than HTML, helping fit more useful content into limited context windows.
- Improved reasoning quality: Clean hierarchical formatting makes it easier for models to summarize, extract, and answer questions accurately.
- Reliable parsing: Unlike raw HTML, Markdown avoids deeply nested or inconsistent DOM structures that can confuse extraction pipelines.
In short: this extension turns “web pages” into “LLM-ready documents.”
Features
- One-Click Conversion: Use the context menu (right-click) or the keyboard shortcut (
Alt+M) to instantly convert the current page. - Smart Extraction: Powered by Mozilla's Readability library to isolate the main content and ignore ads, navbars, and unnecessary elements.
- Dedicated Preview Tab: Opens a clean interface where you can view and refine the extracted Markdown.
- Customizable Output: Toggle various elements to tailor the Markdown to your needs:
- Remove/Keep Images
- Remove/Keep Links
- Show/Hide Metadata (Title, Author, Date)
- Show/Hide Source URL
- Generate a Document Structure / Page Map
- Export Options:
- Copy to clipboard
- Download as a
.mdfile - Copy as a prompt (useful for AI workflows)
- Quick Actions: Right-click the page or the toolbar icon for "Copy Markdown", "Copy as Prompt", and "Download .MD" — these run instantly without opening the preview tab.
- One-Click Toolbar Button: In the extension's Options page, enable "One-Click Action Button" to make a left-click on the toolbar icon immediately run your chosen quick action (Download / Copy Markdown / Copy as Prompt).
- Options Page: Configure which content is included in quick actions (Images, Links, Page Info, Map, Source) so you don't have to re-toggle it every time. Settings sync across your signed-in browser profiles.
Try it out!
|
|
|
Or you can install the extension from releases or build it from source (see instructions below). Once installed, simply right-click on any webpage and select ".MD this page" to see the magic happen.
Getting Started
This extension is built with Plasmo and React.
Prerequisites
- Node.js
- pnpm (or npm, yarn)
Installation & Development
-
Clone the repository and navigate to the project directory:
cd md-this-page -
Install dependencies:
pnpm install -
Run the development server:
pnpm devThis will run the Plasmo dev server and generate a
build/chrome-mv3-devdirectory. -
Load the extension in Chrome:
- Go to
chrome://extensions/ - Enable Developer mode
- Click Load unpacked
- Select the
build/chrome-mv3-devdirectory from this project.
- Go to
Building for Production
To create a production build of the extension:
pnpm build
This will output the production-ready extension into build/chrome-mv3-prod.
Built With
- Plasmo - Browser Extension Framework
- React - UI Library
- Tailwind CSS - Styling
- @mozilla/readability - Content extraction
- Turndown - HTML to Markdown conversion
License
MIT License
Credits
Adem Kouki - GitHub