pdftomarkdown
📄 PDF to Markdown (PDF to MD) — 高速・プライベート・オープンソースのコンバーター
ヒューマン、開発者、AIエージェントのための究極のオープンソースPDF to Markdownコンバーター。
PDF、Word(.docx)、Excel&CSV(.xlsx、.csv)、YouTube URL を、クリーンで構造化されたトークン効率の高いMarkdown(.md)へ簡単に変換します。
📑 目次
Related MCP server: Markdownify MCP Server
🎯 なぜPDF to Markdownなのか?
PDFは視覚的な印刷のために設計されており、編集やAIコンピューティングには向いていません。PDFはコンテンツを固定座標のバイナリブロブの中に閉じ込めます。Markdown(.md) は、以下の用途における普遍的な標準です:
🤖 AI&LLMワークフロー: レイアウトの冗長な情報を除去することで、Claude、ChatGPT、Cursor、Gemini向けのプロンプトのトークン密度を最大化します。
🗂️ ナレッジマネジメント: Obsidian、Notion、Logseq、Roam、Apple Notes への簡単なインポートを実現します。
📝 技術ドキュメント: Docusaurus、VitePress、MkDocs、Astro などの静的サイトジェネレーターへ直接取り込めます。
🌿 Gitバージョン管理: 不透明なバイナリ差分ではなく、クリーンな行単位の差分を実現します。
🏗️ アーキテクチャと変換フロー
INPUT SOURCE
┌──────────────────────────────┬──────────────────────────────┐
▼ ▼ ▼
📄 PDF Document 📝 Word / Excel 🎥 YouTube Link
(Local / Remote URL) (.docx, .xlsx, .csv) (Video URL / Shorts)
│ │ │
└──────────────────────────────┼──────────────────────────────┘
▼
┌──────────────────────────────────────┐
│ Unified Geometric & NLP Engine │
├──────────────────────────────────────┤
│ • Visual Reading Order Sorter │
│ • H1–H4 Typography Hierarchy │
│ • GFM Table Reconstructor │
│ • Code Block & List Parser │
│ • Link & Metadata Extractor │
└──────────────────────────────────────┘
│
▼
CLEAN MARKDOWN
┌──────────────────────────────┼──────────────────────────────┐
▼ ▼ ▼
🌐 Web UI Workspace 💻 CLI Output Stream 🤖 AI Agent Context
(Split Editor + Preview) (stdout / .md file export) (Claude / Cursor MCP)✨ 主な機能
🔒 100%ブラウザ内プライバシー: Webアプリでは、ドキュメントはWebAssembly / JavaScriptによってローカルのメモリ内で変換されます。外部サーバーにファイルがアップロードされることは一切ありません。
⚡ インストール不要のCLI(
npx): セットアップ不要で、コマンドラインから直接あらゆるPDF、Word文書、CSVを変換できます。📊 スマートテーブル検出: 複数列の行を自動的に整列し、クリーンなGitHub Flavored Markdown(GFM)パイプテーブル(
| Header | ... |)に変換します。🗂️ マルチフォーマット拡張性: PDF、Word(
.docx)、Excel / CSV(.csv)、YouTube動画をMarkdownに変換します。🤖 ネイティブModel Context Protocol(MCP)サーバー: コーディング不要で、Claude Desktop、Cursor、Windsurf、Antigravity に直接接続できます。
🎨 ミニマルなデュアルパネルワークスペース: 生のMarkdownエディターとレンダリング済みHTMLプレビューを並べてライブ表示し、行数・単語数・文字数カウンターを備えています。
🚀 超高速: 標準的な複数ページのドキュメントをミリ秒単位で変換します。重いGPUや数GB規模のモデルは不要です。
🚀 使い方(3つの方法)
1. ライブWebアプリケーション(インストール不要)
pdftomarkdown.fyi にアクセスします:
PDFファイルをドラッグ&ドロップします。
Markdownに変換 をクリックします。
レンダリングされたドキュメントを並べてプレビューし、Markdownをコピー または .mdをダウンロード をクリックします。
2. インストール不要のCLI(npx)
インストールは不要です。ターミナルで直接実行します:
# Convert a local PDF file
npx pdftomarkdown research-paper.pdf -o paper.md
# Convert a Word document (.docx)
npx pdftomarkdown document.docx -o doc.md
# Convert a CSV table to GFM pipe tables
npx pdftomarkdown financials.csv -o financials.md
# Extract timestamped transcript from a YouTube video
npx pdftomarkdown "https://www.youtube.com/watch?v=dQw4w9WgXcQ" > video.md
# Convert with an automatic Table of Contents
npx pdftomarkdown manual.pdf --toc -o manual.md
# Pipe directly into an AI tool / LLM
cat quarterly-report.pdf | npx pdftomarkdown | llm "Summarize the key takeaways"3. AIエージェント&MCPサーバー(Claude / Cursor)
コーディング不要で、AIアシスタントにPDF to Markdown機能を装備させます。
Claude Desktopの設定:
claude_desktop_config.json に次のエントリを追加します:
{
"mcpServers": {
"pdftomarkdown": {
"command": "npx",
"args": ["-y", "pdftomarkdown", "--mcp"]
}
}
}これでClaudeに次のように指示できます:
「
whitepaper.pdfを読み込んで、目次付きのクリーンなMarkdownに変換してください。」
📊 ベンチマークと比較マトリクス
機能 | pdftomarkdown | PSPDFKit | Marker | Microsoft MarkItDown |
インスタントなライブWebアプリ | ✅ あり(pdftomarkdown.fyi) | ❌ なし | ❌ なし | ❌ なし |
100%ブラウザ内プライバシー | ✅ あり(アップロード0件) | ❌ なし | ❌ なし | ❌ なし |
インストール不要のCLI( | ✅ あり | ✅ あり | ❌(重いPython) | ❌(Python pip) |
ライブレンダリングプレビュー | ✅ あり(並べて表示) | ❌ なし | ❌ なし | ❌ なし |
Word( | ✅ あり | ❌ なし | ❌ なし | ✅ あり |
Excel / CSV → GFMテーブル | ✅ あり | ❌ なし | ❌ なし | ✅ あり |
YouTube動画 → トランスクリプト | ✅ あり | ❌ なし | ❌ なし | ✅ あり |
Model Context Protocol(MCP) | ✅ あり(内蔵) | ⚠️ 一部あり | ❌ なし | ⚠️ Pythonのみ |
実行速度 | ⚡ < 200 ms / ページ | ⚡ < 200 ms / ページ | 🐢 5〜20秒(GPU) | ⚡ < 500 ms / ページ |
ハードウェア要件 | 🪶 超軽量(JS) | 🪶 超軽量 | 🐘 巨大(10GB以上のPyTorch) | 🐍 Python環境 |
🗂️ 対応フォーマット
フォーマット | 拡張子 | 出力スタイル |
PDFドキュメント |
| 見出し(H1〜H4)、リスト、GFMテーブル、リンク、コードブロック |
Wordドキュメント |
| 見出し、太字/斜体、箇条書き、クリーンなリンク |
Excel&CSV |
| GitHub Flavored Markdown(GFM)パイプテーブル |
YouTube URL |
| タイムスタンプ付きトランスクリプト( |
プレーンテキスト&コード |
| フォーマット済みコードフェンス&読みやすいMarkdownブロック |
🛠️ CLIリファレンスとオプション
pdftomarkdown — The universal document to Markdown converter.
Usage:
npx pdftomarkdown <file-or-url> [options]
Options:
-o, --output <file> Write output directly to a file (.md)
--toc Automatically generate a Table of Contents
--no-tables Disable automatic GFM table detection
--mcp Start Model Context Protocol (MCP) server
-v, --version Show current version
-h, --help Show help documentation💻 プログラムAPI(Node / TypeScript)
Node.jsまたはTypeScriptプロジェクト内で、コンバーターを直接インポートして使用できます:
import { convertPdfToMarkdown, convertAnyToMarkdown } from 'pdftomarkdown';
// Convert a PDF buffer or file
const markdown = await convertPdfToMarkdown(pdfBuffer, {
includeToc: true,
detectTables: true,
preservePageBreaks: true,
});
console.log(markdown);🔍 技術SEOとパフォーマンス
プライマリーキーワード: PDF to Markdown、PDF to MD、PDF to Markdownコンバーター、PDFをMarkdownに変換。
セカンダリーキーワード: PDF to Markdownオンライン、無料PDF to Markdownコンバーター、PDFファイルをMarkdownに変換、PDFからMarkdownを抽出、Word to Markdown、YouTube to Markdown。
技術標準: セマンティックHTML5、Schema.orgの
WebSite、WebApplication、FAQPageJSON-LDスキーマ、sitemap.xml、robots.txt。ゼロクライアントオーバーヘッド: パーサーエンジンに重いUIフレームワークを使用せず、最適化されたWebAssemblyワーカースレッドを採用。
❓ よくある質問(FAQ)
PDF to Markdown変換とは何ですか?
PDF to Markdown変換は、固定レイアウトのPDFファイル内のジオメトリ、フォント、テキスト位置を解析し、見出し、リスト、テーブル、リンクを保持したまま、プレーンテキストのMarkdown(.md)形式に変換します。
PDFをMarkdownに無料で変換するにはどうすればよいですか?
pdftomarkdown.fyi のライブWebアプリを使用するか、ターミナルで npx pdftomarkdown input.pdf -o output.md を実行してください。どちらも100%無料で、登録やサブスクリプションは不要です。
ドキュメントはプライベートに保たれますか?
はい。Webアプリを使用する場合、すべての解析はブラウザのメモリ内でローカルに行われます。ファイルやテキストストリームが当社のサーバーに送信されることは一切ありません。
PDFのテーブルをMarkdownに変換できますか?
はい。当社のエンジンは、水平および垂直に整列したテキスト列を検出し、標準のGitHub Flavored Markdown(GFM)パイプテーブルにフォーマットします。
出力をChatGPT、Claude、LLMで使用できますか?
はい。クリーンなMarkdownは、AIプロンプトやRAGベクトルデータベースにとって最適な入力形式であり、ドキュメントの階層構造を維持しながらトークン使用量を最小限に抑えます。
📄 ライセンスと免責事項
MITライセンスの下で配布されています。詳細は LICENSE を参照してください。
免責事項: すべての製品名、ロゴ、ブランド(Microsoft、PSPDFKit/Nutrient、Marker、Claude、ChatGPTを含む)は、それぞれの権利所有者の財産であり、ここでは識別、互換性、比較の目的でのみ使用されています。
Copyright © 2026 PDF to Markdown
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceConverts various file types (documents, images, audio, web content) to markdown format without requiring Docker, supporting PDF, Word, Excel, PowerPoint, images, audio files, web URLs, and more.29614MIT
- AlicenseAqualityDmaintenanceConverts various file types (PDF, images, audio, DOCX, XLSX, PPTX) and web content (YouTube videos, web pages, Bing search results) into Markdown format for easy reading and sharing.10366MIT
- FlicenseAqualityCmaintenanceConverts files (PDF, DOCX, PPTX, XLSX, images via OCR) and URLs to Markdown, enabling AI clients to read them via a single MCP tool.1
- AlicenseAqualityCmaintenanceConverts PDF, DOCX, PPTX, XLSX, CSV, and JSON into clean, compact, AI-ready Markdown, reducing tokens up to 65%.125MIT
Related MCP Connectors
Web scraping for AI agents. Converts URLs to clean, LLM-ready Markdown with anti-bot bypass.
Converts any URL to clean, LLM-ready Markdown using real Chrome browsers
The document publishing layer for AI tools. Convert markdown to 6 destinations, 62 templates.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/HEMANT16/pdftomarkdown'
If you have feedback or need assistance with the MCP directory API, please join our Discord server