Skip to content
All projects
← Products

Tools

page-to-markdown

A browser extension that copies or downloads a page, article or selection as clean Markdown.

A tiny, private browser extension that turns the page you are reading into clean Markdown — ready to paste into Claude, Obsidian, Notion or a notes repo.

  • Article mode strips navigation, ads and cookie banners (Mozilla Readability); Full page and Selection modes are there when you need them.
  • Tables, code blocks, lists, bold/italic and links convert properly; relative links and images become absolute so they still work after pasting.
  • Copy to the clipboard or download a .md file named after the page. Optional YAML front matter (title, source URL, date).
  • Private by design. Runs entirely in the page and popup. No network requests, no analytics, no background process, no host permissions: only activeTab (the page you click on), scripting and clipboardWrite. This is enforced by tests that inspect the built manifest and bundles.
  • Works in Chrome, Edge, Brave and Firefox 128+ (Manifest V3).

Install from source

git clone https://github.com/aranshayan/page-to-markdown.git
cd page-to-markdown
npm install
npm run build
  • Chrome / Edge / Brave: open chrome://extensions, enable Developer mode, Load unpacked, choose the dist folder.
  • Firefox: open about:debugging#/runtime/this-firefox, Load Temporary Add-on…, pick dist/manifest.json.

npm run package also produces page-to-markdown-<version>.zip, the format the Chrome Web Store and addons.mozilla.org accept.

Development

npm test         # converter, bundle-in-DOM and manifest/privacy checks
npm run typecheck

src/convert.ts is pure (DOM in, Markdown out) and is tested with jsdom, including the actual built content.js bundle. src/popup.ts is thin UI glue.

Honest status

Tested automatically: conversion logic, the built content bundle inside a DOM, selection handling, file names, manifest minimality, absence of eval/remote code/network calls. Not yet tested automatically: the popup inside a real browser (chrome.scripting injection, clipboard and download in an actual extension context). Please try it on a few sites and report problems. Pages that render their content with JavaScript after load are converted as they currently appear; browser-internal pages and extension stores cannot be read by any extension.

License

MIT

From the README on GitHub, commit d28775d, . Found a mistake? Open an issue.