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

Architectural comparison between Weavon 0.2.0 and Microsoft MarkItDown.
DimensionWeavon 0.2.0MarkItDown
RuntimeSingle 9.26 MB stripped Rust binary, 1 macOS dylibPython runtime plus pip dependencies
Cold start2.65 msPython interpreter plus library import time
Document formats52 readers, 77 writers, full Pandoc ASTOffice, PDF, HTML, audio, images, ZIP via Python plugins
URL and HTML cleanupweavon extract URL --allow-network --main-contentBuilt-in HTTP and BeautifulSoup converters
RAG chunkingBuilt-in weavon chunk with heading pathsExternal chunker needed
PII and secret redactionBuilt-in deterministic weavon redact plus EXIF scrubExternal redaction tool needed
MCP serverBuilt-in weavon mcp (stdio and Streamable HTTP)Separate markitdown-mcp Python package
BindingsCLI, Rust, C ABI, PyO3 Python, N-API Node.js, WASMPython 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

  1. Install the single binary

    Install Weavon with zero Python dependencies.

    curl -fsSL https://weavon.org/install.sh | sh
  2. Extract clean Markdown

    Extract Office, PDF, or HTML documents with one command.

    weavon extract handbook.docx --clean --format markdown -o handbook.md
  3. Redact 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.