Turn any webpage into clean, LLM-ready Markdown in one click.
Strip the browser, keep the structure, then copy or download instantly.
- Open any webpage
- Right-click → ".MD this page" (or press
Alt+M) - Get clean Markdown instantly
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.”
- 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)
|
|
|
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.
This extension is built with Plasmo and React.
- Node.js
- pnpm (or npm, yarn)
-
Clone the repository and navigate to the project directory:
cd md-this-page -
Install dependencies:
pnpm install
-
Run the development server:
pnpm dev
This 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
To create a production build of the extension:
pnpm buildThis will output the production-ready extension into build/chrome-mv3-prod.
- Plasmo - Browser Extension Framework
- React - UI Library
- Tailwind CSS - Styling
- @mozilla/readability - Content extraction
- Turndown - HTML to Markdown conversion
MIT License
Adem Kouki - GitHub
