あなたのMarkdownを、
印刷できるPDFに。
Markdownを貼り付けるか、ファイルをドロップするか、公開GitHubリポジトリのREADMEを取得してください。md2pdfが選んだ印刷テーマで整え、ブラウザのPDFダイアログを開きます。すべて端末内で完結します。
# React []()
React is a JavaScript library for building
user interfaces.
## Installation
```bash
npm install react react-dom
```
## Features
| Feature | Client-Side | Server |
|---------|:-----------:|:------:|
| Components | Yes | Yes |
| Hooks | Yes | Yes |
| Suspense | Yes | Yes | React
React is a JavaScript library for building user interfaces.
Installation
$ npm install react react-dom Features
| Feature | Client | Server |
|---|---|---|
| Components | ✓ | ✓ |
| Hooks | ✓ | ✓ |
コンバーター
入力方法は3つ。リポジトリのURL、Markdownファイル、またはキーボードです。プレビューがそのまま文書になります。
1 · GitHubリポジトリのURL
READMEを取得し(main/masterと大文字・小文字のバリエーションを試します)、相対画像とバッジを解決して下に表示します。プライベートリポジトリには対応していません。
2 · …またはMarkdownを貼り付け/アップロード
3 · 印刷テーマ
ダークは画面では読みやすいものの、印刷には不向きです。印刷とPDF用に自動で明るく調整します。
4 · オプション
エクスポートにはブラウザのPDF印刷機能を使用します(完全にクライアントサイド)。印刷ダイアログで「PDFとして保存」を選択してください。
ドキュメントブック
リポジトリを指定し、まとめて読みたいMarkdownファイルを選ぶと、表紙、全体の目次、そして設定した順序の各章を備えた、ページ番号付きの1冊のブックとして印刷できます。
1 · リポジトリ
README、.md、.markdown、.mdownファイルをフォルダー内も含めて検索します。1冊のブックには最大30ファイルまで、公開リポジトリのみ対応しています。
一覧に関する注意
2 · Markdownファイル
まだリポジトリがスキャンされていません。
3 · ブックの詳細
4 · 印刷テーマ
5 · 章
印刷順はこのリストの順序に従います。矢印ボタンで章を移動し、×で削除できます。
スキャン後にここへ章が表示されます。
読み込めなかったファイルがあります
6 · PDF 書き出し
ビルドした章ごとに PDF を作成し、ZIP アーカイブにまとめます。処理はすべてブラウザー内で実行され、何もアップロードされません。
ZIP 1 つにつき最大 30 個の PDF、128 MB まで。
一部の内容は簡略化されています。未対応の文字は ? で表示され、読み込めない画像は省略されます。
ダウンロードが始まるまで、このタブを開いたままにしてください。
書き出し中にスキップされたファイル
各章は ZIP 内の個別の PDF になり、フォルダーのパスが保持されます。
ブックは、選択したすべての章が読み込まれた場合にのみ印刷できます。エクスポートにはブラウザのPDF印刷機能を使用します。ダイアログで「PDFとして保存」を選択してください。
Engineered for Technical Accuracy
From GitHub URL parsing to embedded CJK font rendering, every stage is built for zero data leakage, high print fidelity, and deterministic output.
Deep GitHub Auto-Discovery
Accepts any GitHub URL format: full repo links, subfolder paths, tree views, blob files, or raw URLs. Automatically queries the GitHub API, probes 10 standard README filenames, and rewrites relative images and links to raw GitHub content.
100% Client-Side Privacy
No login, no user accounts, and zero application backend. All markdown parsing, HTML sanitization via DOMPurify, and PDF compilation run entirely in browser memory.
Multi-Chapter Doc Books
Scan entire repositories via Git Trees API. Select up to 30 markdown files with tri-state directory checkboxes, reorder chapters, and generate automated cover pages and tables of contents.
Multilingual Font Embedding
PDFs embed standalone TTF fonts directly in output files. Full typography support for Latin, Cyrillic, Turkish, and CJK (Chinese, Japanese, Korean) via embedded Noto Sans CJK.
4 Print Themes & Bulk ZIP Export
Choose between Clean, Business, Academic, and Dark themes with print margin optimization. Print single documents or books directly, or export a packaged ZIP containing individual chapter PDFs with deterministic naming.
使い方
3つのステップ。アカウントもサーバーサイドのレンダラーも不要です。
リポジトリを指定する
Paste a GitHub repo URL, branch path, or paste Markdown directly. md2pdf resolves default branches, auto-discovers READMEs, and parses GitHub Flavored Markdown in milliseconds.
コンバーターを開くレンダリングを確認する
Filter files through the searchable tree, sequence chapters, add titles, and choose from Clean, Business, Academic, or Dark print themes.
テーマを比較するPDFに印刷する
Trigger isolated browser print to save a pixel-perfect PDF, or click Export to download a zipped archive of all selected chapter PDFs with self-hosted font embedding.
プライバシーに関する注意を読むBuilt for Real Documentation Needs
Whether you are boarding a 14-hour flight or handing over an enterprise software deliverable, md2pdf turns Markdown into publication-grade documents.
Offline Reading & Travel
Download and archive complex repository documentation into readable, paginated PDFs for flights, commutes, e-readers, or air-gapped development environments where internet access is unavailable or restricted.
- Retains internal heading links and relative images offline
- High-contrast typography tuned for physical reading & tablets
- Table of contents enables quick chapter navigation
Client Handover & Deliverables
Deliver software projects to non-technical stakeholders and clients with professional, branded PDF documentation rather than raw GitHub repository URLs.
- Automated cover page with title, subtitle, and date
- Clean table and code formatting that looks executive-ready
- Single-click batch ZIP export for client deliverables
Team Onboarding & Runbooks
Turn fragmented repository guides, architecture notes, and deployment runbooks into a single consolidated, sequenced onboarding handbook for new hires.
- Assemble multiple markdown files into one cohesive book
- Custom chapter ordering: overview → setup → architecture
- Standardized print layout across all engineering repos
Confidential Notes & Specs
Convert proprietary code documentation, API specs, and private markdown notes into PDFs with absolute confidence. All compilation occurs inside local browser memory.
- Zero server upload — text never traverses the internet
- DOMPurify sanitization ensures safe, clean output
- No account registration or token generation required
4つの印刷テーマ
各テーマは単なる色の変更ではなく、印刷用スタイルシートです。文書にふさわしい雰囲気を選んでください。
クリーン
Defaultニュートラルなサンセリフ。仕様書やREADMEの既定です。
ビジネス
Executiveセリフの見出しと暗いコードブロック。レポート向けです。
アカデミック
Formal両端揃えのセリフページ。長文の読み物向けです。
ダーク
OLED / Screen画面優先。印刷時は自動で明るくなり、内容が失われません。
Frequently Asked Questions
Everything you need to know about privacy, GitHub API rate limits, font embedding, and documentation books.
Is my repository code or private Markdown uploaded to any server?
No. 100% of markdown parsing, sanitization, PDF layout, and ZIP packaging happens directly inside your browser memory. md2pdf has zero application backend, zero database, and zero telemetry.
What happens if the GitHub API rate limit is exceeded?
When GitHub unauthenticated API limits are reached, md2pdf automatically falls back to raw content streaming via raw.githubusercontent.com, allowing public READMEs to convert without interruption.
How does the Documentation Book builder work?
The Book builder uses the Git Trees API to scan the repository structure. You can search, filter, and select up to 30 markdown files with tri-state directory checkboxes, reorder the chapter sequence, generate an automatic cover and master table of contents, and print or download a ZIP archive of PDFs.
Are relative images and internal links preserved in the PDF?
Yes! Relative image paths (such as ./assets/screenshot.png) are automatically rewritten to raw.githubusercontent.com pinned to the specific branch or commit SHA, and external links are preserved as clickable PDF URI annotations.
Which languages and Unicode scripts are supported?
md2pdf embeds standalone fonts in the exported PDFs: DejaVu Sans and DejaVu Sans Mono for Latin, Cyrillic, and Turkish, and Noto Sans CJK SC for Chinese, Japanese, and Korean text.
Can I print without creating a PDF file on disk?
Yes. md2pdf features a dedicated browser print isolation engine. Clicking "Print" formats only the styled document sheet with native page breaks, allowing you to use your browser's Print dialog to print directly or save as PDF.
Human-Readable Sitemap
Comprehensive index of all tools, features, technical guides, documentation, and project links.