Ademking/MD-This-Page
Ademking/MD-This-PageConvert any web page to clean, readable Markdown with just one click.
From the README
.MD this page
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)
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.
<img width="1919" height="1046" alt="image" src="