🔧 Công cụ lập trình•Mã nguồn mở•Đang hoạt động
Markit
CLI + library chuyển đổi mọi thứ sang Markdown: PDF, DOCX, PPTX, XLSX, EPUB, Jupyter, RSS, images, audio, URLs. Plugin system mở rộng. 889 stars.
#markit
Danh mục
🔧 Công cụ lập trình
Giá
Mã nguồn mở
GitHub Stars
⭐ 1,325
Ngôn ngữ
Rust
License
MIT
Ngày thêm
2026-03-31
Tóm tắt từ README GitHub
markit
Convert anything to markdown. PDF, DOCX, PPTX, XLSX, HTML, EPUB, Jupyter, RSS, images, audio, URLs, and more. Works as a CLI and as a library.
---
Quick Start
---
Supported Formats
Format Extensions How
-------- ----------- -----
PDF Built-in Rust engine
Word Built-in Rust engine; headings, images, and tables
PowerPoint Built-in Rust engine; slides, notes, and tables
Excel Built-in Rust engine; sheets become markdown tables
HTML Built-in Rust engine; scripts/styles stripped
EPUB Built-in Rust engine; spine-ordered chapters
Jupyter Built-in Rust engine; cells and outputs
RSS/Atom Built-in Rust engine; dated feed items
CSV/TSV Built-in Rust engine; markdown tables
JSON Built-in Rust engine; formatted code block
YAML Built-in Rust engine; code block
XML/SVG Built-in Rust engine; code block
Images Built-in Rust metadata extraction
Audio Built-in Rust metadata extraction
ZIP Built-in Rust recursive conversion
URLs Rust fetcher with markdown negotiation
Wikipedia Built-in Rust main-content extraction
Code ... Built-in Rust fenced code block
Plain text Built-in Rust pass-through
---
Benchmarks
Non-OCR PDF to Markdown: parsers that read the text layer al
Xem thêm từ README.mdThu gọn README.md
Đánh giá chi tiết
Tổng quan
Markit chuyển đổi gần như mọi định dạng file sang Markdown: PDF, DOCX, PPTX, XLSX, HTML, EPUB, Jupyter notebook, RSS, CSV, JSON, YAML, images, audio, URLs, ZIP (recursive), Wikipedia, và code files. Hoạt động như CLI và library.
Tính năng chính
- Hỗ trợ 20+ định dạng: PDF (unpdf), Word (mammoth), PowerPoint (XML parsing), Excel (sheet → table), EPUB, Jupyter, RSS/Atom, CSV/TSV, JSON, YAML, images, audio, ZIP, URLs
- AI features: mô tả ảnh và transcribe audio qua LLM (OpenAI, Anthropic, hoặc bất kỳ OpenAI-compatible API)
- Custom instructions cho AI: "Extract all text", "Describe the architecture"
- Plugin system: cài qua npm, git, hoặc local file. Plugin chạy trước builtins, có thể override
- Pipe output:
markit report.pdf | pbcopy
Stack kỹ thuật
TypeScript, cài qua npm install -g markit-ai. Dùng unpdf, mammoth, turndown cho conversion. MIT license.
Điểm mạnh
- Coverage rộng: gần như mọi format phổ biến đều hỗ trợ
- Plugin system mở rộng, dễ thêm format mới
- 889 stars, 0 open issues
Hạn chế
- AI features cần API key (OpenAI/Anthropic), không có local model mặc định
- Repo mới (25/03/2026), chưa có nhiều plugin từ community
Phù hợp khi nào
Khi cần chuyển đổi batch files sang Markdown cho RAG pipeline, documentation, hoặc content migration. Đặc biệt tiện khi kết hợp với AI agent cần ingest nhiều loại file.