Export Website to Markdown

Export all rendered text from any webpage to a Markdown file. Preserves headings, lists, links, bold/italic, code, tables, and blockquotes.

スクリプトをインストールするには、Tampermonkey, GreasemonkeyViolentmonkey のような拡張機能のインストールが必要です。

You will need to install an extension such as Tampermonkey to install this script.

スクリプトをインストールするには、TampermonkeyViolentmonkey のような拡張機能のインストールが必要です。

スクリプトをインストールするには、TampermonkeyUserscripts のような拡張機能のインストールが必要です。

このスクリプトをインストールするには、Tampermonkeyなどの拡張機能をインストールする必要があります。

このスクリプトをインストールするには、ユーザースクリプト管理ツールの拡張機能をインストールする必要があります。

(ユーザースクリプト管理ツールは設定済みなのでインストール!)

このスタイルをインストールするには、Stylusなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus などの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus tなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

(ユーザースタイル管理ツールは設定済みなのでインストール!)

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
作者
theelderemo
1日のインストール数
0
累計インストール数
4
評価
0 0 0
バージョン
1.0.0
作成日
2026/04/26
更新日
2026/04/26
大きさ
11.8KB
ライセンス
MIT
対象サイト
すべてのサイト

Export Website/Webapp to Markdown

A userscript that exports the fully rendered text of any webpage to a clean, well-structured Markdown file.

Features

  • Rich Markdown output - preserves headings (H1–H6), paragraphs, bold, italic, strikethrough, inline code, code blocks (with language tags), blockquotes, ordered and unordered lists, definition lists, tables, links, and images
  • Visible content only - skips hidden elements, aria-hidden nodes, scripts, styles, iframes, and other non-content tags
  • Absolute URLs - all links and image sources are resolved to absolute URLs so they work outside the original page context
  • Auto-generated filename - slugified from the page title (e.g. website-or-page-title.md)
  • Frontmatter header - each export includes the source URL and export timestamp
  • Floating button - draggable ⬇ MD button fixed to the bottom-right corner of every page
  • Keyboard shortcut - Alt + Shift + M triggers the export from anywhere on the page
  • Menu command - also accessible via the Tampermonkey/Violentmonkey extension menu
  • Toast notification - brief on-screen confirmation when the file is saved

Usage

Once installed, three ways to export any page:

Method How
Floating button Click the ⬇ MD button in the bottom-right corner
Keyboard shortcut Press Alt + Shift + M
Extension menu Click the Tampermonkey/Violentmonkey icon → Export page to Markdown

The .md file will download automatically to your default downloads folder.

Output Format

Each exported file begins with a metadata header:

# Page Title

> **Source:** [https://example.com/article](https://example.com/article)
> **Exported:** 2026-04-26 19:00:00 UTC

---

Followed by the full page content converted to Markdown.

Skipped Content

The following are intentionally excluded from output:

  • <script>, <style>, <noscript>, <template>
  • <iframe>, <canvas>, <svg>, <audio>, <video>
  • Form elements: <input>, <textarea>, <select>, <button>
  • Any element with display: none, visibility: hidden, opacity: 0, or aria-hidden="true"

Contributing

Bug reports and pull requests are welcome. Please open an issue before submitting large changes. See the Github Repo

License

MIT