This lightweight Chromium extension converts HTML content to Markdown format and copies it to your clipboard. It can convert either selected text or automatically extract and convert the main content of a webpage.
Convenient for writing AI prompts.
Chrome Web Store Miscrosoft Edge Add-ons is under review.
- Keyboard shortcut support (Alt+C / Option+C)
- Convert selected HTML text to Markdown
- Automatically extract and convert main content when no text is selected
- Support for various HTML elements including:
- Headings
- Lists
- Tables
- Code blocks
- Inline code
- Links
- Images
- Clipboard integration=
- Download or clone this repository
- Open Chrome and go to
chrome://extensions/ - Enable "Developer mode" in the top right
- Click "Load unpacked" and select the extension directory
- The extension icon should appear in your Chrome toolbar
There are two ways to use the extension:
- Click the extension icon in the toolbar
- Use the keyboard shortcut Alt+C (Option+C on Mac)
When activated, the extension will:
- Convert selected text if any text is selected
- Extract and convert the main content of the page if no text is selected
- Automatically copy the converted Markdown to your clipboard
This extension uses:
- Turndown.js for HTML to Markdown conversion
- Mozilla's Readability.js for main content extraction
Before using the extension, make sure to download and place these libraries in the lib directory:
lib/turndown.js- Get it from TurndownJSlib/turndown-plugin-gfm.js- Get it from TurndownJS (I've modified the highlightedCodeBlock plugin)lib/Readability.js- Get it from Mozilla's Readability
MIT License