This app runs inside the BotSurf browser. Don't have it yet? Get the app or extension now!

Copy Page as Markdown

Utilities · All
0 installs · Verified BotGentz app
Launch App
Opens in BotSurf — nothing to install.
CategoryUtilities
PlatformAll
Pricing Free
Installs0
Download BotSurf to use — free
No account needed for free apps. Once BotSurf is open, find this app in Apps from the + menu.

About this app

WHAT IT DOES

Copy Page as Markdown converts the visible content of the current page into clean, well-formatted Markdown. The tool preserves heading structure (H1-H6), links, images, lists (ordered and unordered), blockquotes, code blocks, and text emphasis (bold, italic, strikethrough). You can include the page title and URL as metadata at the top of the output. The generated Markdown can be copied directly to your clipboard or downloaded as a .md file. A live preview shows the converted content before you copy or save it, letting you verify the result. Choose between standard Markdown and GitHub Flavored Markdown output styles, and set optional line wrapping for readability.

WHERE IT RUNS

The extension runs entirely within your browser's local environment using the BotGentz framework. All HTML parsing, conversion, and Markdown generation occur on your machine without any network requests. No page content, converted data, or user activity is ever transmitted, uploaded, or stored externally. The tool works on any website and respects the browser's security boundaries, operating within the isolated extension sandbox.

HOW TO USE

Click the extension toolbar icon to open the Copy Page as Markdown panel. Click "Generate Markdown" to convert the current page—a preview of the Markdown appears in the panel. Click "Copy to Clipboard" to copy the full Markdown output. Click "Download .md" to save the Markdown as a .md file with the page title as the filename. Choose the output style using the dropdown (Standard Markdown or GitHub Flavored Markdown). Toggle "Include metadata (title + URL)" to add a header with page information. Toggle "Include links" to preserve hyperlinks. Toggle "Include images" to include image references. Toggle "Preserve formatting" to keep whitespace and line breaks. Set the "Wrap at column" value to automatically wrap long lines. The preview updates instantly when you change any setting.

THE DOM-TO-MARKDOWN CONVERSION ENGINE — WHY IT WORKS

Most page-to-Markdown tools use third-party libraries or rely on external services that may misparse complex HTML. This tool uses a pure DOM traversal engine that recursively walks the page's document tree, analyzing each element's tag name and context to produce the correct Markdown syntax. The engine handles nested structures: headings of different levels, nested lists with proper indentation, blockquotes with line-wrapped content, and inline formatting with proper delimiter placement (single asterisks for italic, double for bold, double tildes for strikethrough). For code blocks, the engine preserves whitespace and line breaks exactly as they appear. Link and image conversion extracts href and src attributes, along with title text and alt text. The cloneNode approach removes script and style elements before traversal, ensuring only visible content is converted. This pure JavaScript approach gives you complete control and works entirely offline with no external dependencies.

THE PANEL

The Copy Page as Markdown panel is fully draggable by its title bar and remembers its position on screen per website. It snaps to the edges of your browser window for clean alignment. Collapse the panel to a compact icon strip using the minimize button, restoring it with a single click. Resize the panel by dragging any edge or corner; the Markdown preview and controls adjust proportionally. Press the Escape key to close the panel instantly. The panel maintains independent state for each browser tab, allowing you to convert pages in multiple tabs simultaneously.

PLEASE NOTE

This extension requires the free BotGentz extension framework to be installed and enabled. The tool converts visible page content only; dynamically loaded content from JavaScript may be included if present in the DOM at the time of conversion. Some complex layouts may produce suboptimal Markdown; manual adjustments may be needed for publication-ready output. All converted data is processed locally and is never transmitted, logged, or shared. The extension requests no network permissions and functions entirely offline. The source code is fully auditable and available for review.

Similar Apps

Log in to BotGentz

Suggest an App

Tell us what you'd find useful — if we build it, we'll email you the moment it's ready.