A single-binary Rust alternative to MarkItDown
Weavon replaces Python document ingestion stacks with one 9.26 MB binary that extracts Office files, PDFs, HTML, and URLs into clean Markdown, RAG chunks, and redacted text.
Weavon and MarkItDown side by side
| Dimension | Weavon 0.2.0 | MarkItDown |
|---|---|---|
| Runtime | Single 9.26 MB stripped Rust binary, 1 macOS dylib | Python runtime plus pip dependencies |
| Cold start | 2.65 ms | Python interpreter plus library import time |
| Document formats | 52 readers, 77 writers, full Pandoc AST | Office, PDF, HTML, audio, images, ZIP via Python plugins |
| URL and HTML cleanup | weavon extract URL --allow-network --main-content | Built-in HTTP and BeautifulSoup converters |
| RAG chunking | Built-in weavon chunk with heading paths | External chunker needed |
| PII and secret redaction | Built-in deterministic weavon redact plus EXIF scrub | External redaction tool needed |
| MCP server | Built-in weavon mcp (stdio and Streamable HTTP) | Separate markitdown-mcp Python package |
| Bindings | CLI, Rust, C ABI, PyO3 Python, N-API Node.js, WASM | Python native |
Extract, chunk, and redact before sending to an LLM
weavon extract https://example.com/post --allow-network --main-content -o post.md
weavon redact contract.docx --profile all --typed-placeholders --report json -o safe.md
weavon chunk safe.md --max-tokens 512 -o chunks.jsonl
weavon redact scrubs PII, API secrets, custom terms, and EXIF, PNG, or GIF image metadata deterministically with an audit report.
Where MarkItDown is the better choice
- MarkItDown integrates directly with Azure Document Intelligence, audio transcription, and vision-model image captioning inside Python.
- Teams that rely on MarkItDown's Python plugin ecosystem for proprietary media formats can drop in custom Python converters without leaving Python.
- Weavon focuses on deterministic, sandboxed text, Office, markup, and born-digital PDF extraction at native Rust speed.
Switch an ingestion pipeline to Weavon
Install the single binary
Install Weavon with zero Python dependencies.
curl -fsSL https://weavon.org/install.sh | shExtract clean Markdown
Extract Office, PDF, or HTML documents with one command.
weavon extract handbook.docx --clean --format markdown -o handbook.mdRedact sensitive fields
Scrub PII, secrets, and image metadata deterministically before indexing.
weavon redact handbook.md --profile all --typed-placeholders -o clean.md
Common questions
Can Weavon extract web URLs like MarkItDown?
Yes. Run weavon extract https://example.com --allow-network --main-content to fetch a web page and write clean Markdown.
Does Weavon work from Python if my app is written in Python?
Yes. Run pip install weavon for native in-process bindings without spawning a subprocess.
What does weavon redact remove?
weavon redact removes PII, API secrets, literal terms, glob patterns, and document or EXIF, PNG, and GIF metadata, and writes a text or JSON audit report.
When should I keep MarkItDown instead?
Keep MarkItDown if you need built-in audio transcription, image captioning via vision LLMs, or Azure Document Intelligence inside a Python stack.
