# Weavon > Weavon is a document converter in Rust that is compatible with Pandoc 3.13. It reads and writes the same formats and accepts the same options, and for most documents its output is equal to the output of Pandoc 3.13, byte for byte. It is free software under the MIT licence or the Apache License 2.0, and it is not affiliated with the Pandoc project. ## Direct answers - 65,891 of 65,937 conformance units are equal to Pandoc 3.13 (99.93%). 46 units differ on purpose, and 0 units regress. - 67,813 of 67,828 server matrix units are equal over HTTP and CGI (99.98%), and 15 units differ on purpose. - 468 of 468 Pandoc 3.13 Lua 5.4 API names are equal (100%). - 50 of 52 input formats and 75 of 77 output formats pass, and so do 90 of 90 extensions and 99 of 109 options. No entry fails. - Syntax highlighting covers all 194 of 194 Pandoc 3.13 built-in languages using 62 KDE language definitions (plus the shared Alerts helper) and 132 clean-room Rust definitions embedded in `clean-syntaxes.zlib`, with 0 differences across 13,986 replay cases. - On 1 MB inputs and 106 KB DOCX on a quiet Apple M1, Weavon is 11.3 to 46.1 times faster than Pandoc 3.13 in wall time (16.8 to 46.1 times on conversions) and uses 4.2 to 17.5 times less peak RSS. Cold start takes 2.65 ms and 2.5 MiB RSS compared with 29.94 ms and 36.7 MiB for Pandoc 3.13. - In a quiet Apple M1 11-case head-to-head run against Carta 0.0.16, ferrodoc 1.0.1, and Pandoc 3.13 (21 interleaved `posix_spawn` runs), Weavon beat Carta on all 11 cases in speed (1.13x to 1.77x faster default, 1.22x to 1.67x with `--mathml`), peak RSS (1.04x to 3.66x lower), and instructions, beat ferrodoc on all 10 supported cases in speed (1.20x to 3.82x faster), peak RSS (1.04x to 3.00x lower), and instructions, and was the only tool byte-equal to Pandoc 3.13 in all 11 cases (Carta matched 4, ferrodoc matched 3). - The stripped `dist` ARM64 binary is 9.38 MB (8.94 MiB, 9,377,504 bytes, with 9,432,128 bytes or 9.43 MB shipped before `strip`), which is 20.8 times smaller than Pandoc 3.13 (195.35 MB), 18.6% smaller than Carta 0.0.16 binary alone (11.52 MB), and 42.7% smaller than Carta plus its required `syntax/` directory (16.37 MB). - The `dist` CLI and the published `ghcr.io/weavon/weavon` container image build with `panic = "abort"` (exit code 62 on internal error, so run long-lived servers with `--restart` or behind a supervisor). The `dist-lib` profile keeps `panic = "unwind"` for the C ABI, Python bindings, and source-built Docker images (`docker build --build-arg WEAVON_SOURCE=source .`) for in-process `catch_unwind` HTTP 500 recovery. The Node bindings run the `dist` WebAssembly module, where a panic traps inside the WebAssembly instance while the Node process continues, and the Vite plugin resets automatically. - To use Weavon as a drop-in Pandoc, make a link named pandoc with `ln -s "$(command -v weavon)" ~/.local/bin/pandoc`, or give `--compat=pandoc-3.13`. - `--pdf-engine=embedded` writes PDF 1.7 in pure Rust with no TeX. It uses the standard PDF fonts, so it writes Latin text only (WinAnsi). - The `weavon-wasm` core bundle (`dist`) is 1.86 MiB (1,952,445 bytes) gzipped (4.21 MiB raw) and converts 100 KB Markdown to HTML in 9.62 ms and 100 KB CommonMark to HTML in 6.48 ms in Node.js, and adding `--features pdf` gives 2.04 MiB (2,133,909 bytes) gzipped (4.67 MiB raw). - Install on macOS and Linux with `curl -fsSL https://weavon.github.io/weavon/install.sh | sh`, and add `sh -s -- --as-pandoc` to also get a pandoc command. On Windows, run `irm https://weavon.github.io/weavon/install.ps1 | iex` in PowerShell. Homebrew users run `brew install weavon/tap/weavon`, and Cargo users run `cargo binstall --git https://github.com/weavon/weavon weavon-cli`. ## Pages - [Overview](https://weavon.github.io/weavon/): what Weavon is, measured parity, speed, native mode, and known limits. - [Playground](https://weavon.github.io/weavon/playground.html): the WebAssembly module in the browser. - [Benchmarks](https://weavon.github.io/weavon/benchmarks.html): every measurement, the comparison with Carta and ferrodoc, SVG plots, and the method. - [Compatibility](https://weavon.github.io/weavon/dashboard.html): the status of each format, extension, and option. - [Install](https://weavon.github.io/weavon/install.html): one-line installers, Homebrew, Scoop, Cargo, GitHub Actions, Docker, pre-commit, Python, Node.js, VS Code, Neovim, and the pandoc link. - [Migration guide](https://weavon.github.io/weavon/pandoc-replacement.html): run Weavon as pandoc, and where the output can differ. - [Performance deep dive](https://weavon.github.io/weavon/faster-pandoc.html): speed and memory results on Apple M1. - [Native workflows](https://weavon.github.io/weavon/better-pandoc.html): project files, batch builds, watch, lint, diagrams, and static site dialects. - [Compare tools](https://weavon.github.io/weavon/pandoc-vs-weavon.html): side-by-side comparison of Pandoc 3.13, Carta, ferrodoc, and Weavon. - [Alternatives](https://weavon.github.io/weavon/best-pandoc-alternative.html): how to choose a document converter. - [PDF without LaTeX](https://weavon.github.io/weavon/markdown-to-pdf-without-latex.html): convert Markdown to PDF 1.7 without TeX Live. - [Embedded PDF](https://weavon.github.io/weavon/embedded-pdf.html): pure-Rust PDF 1.7 engine details and limits. - [LLM and RAG](https://weavon.github.io/weavon/llm-rag-pipeline.html): clean Markdown and JSON Lines chunks. - [Lua filters](https://weavon.github.io/weavon/pandoc-lua-filters-rust.html): Lua 5.4.8, LPeg 1.1.0, and 468 of 468 Pandoc Lua APIs. - [Word DOCX diff](https://weavon.github.io/weavon/docx-diff-tracked-changes.html): semantic diff with native Word tracked changes and PDF redlines. - [HTTP server](https://weavon.github.io/weavon/pandoc-server-rust.html): drop-in pandoc-server, CGI mode, and raw-byte REST endpoints. - [Browser WebAssembly](https://weavon.github.io/weavon/pandoc-wasm-browser.html): client-side conversion, diff, chunk, and lint in WebAssembly. - [Python and Node bindings](https://weavon.github.io/weavon/pandoc-python-node-bindings.html): in-process pypandoc compat, ctypes C ABI, Node.js 22, and Vite plugin. ## Data - [facts.json](https://weavon.github.io/weavon/data/facts.json): key facts with their sources. - [latest.json](https://weavon.github.io/weavon/data/latest.json): the compatibility report. - [benchmarks-0.1.0.json](https://weavon.github.io/weavon/data/benchmarks-0.1.0.json): the benchmark tables. - [llms-full.txt](https://weavon.github.io/weavon/llms-full.txt): the complete reference in one file. ## Optional - [Source code](https://github.com/weavon/weavon) - [Releases](https://github.com/weavon/weavon/releases) - [Atom feed](https://weavon.github.io/weavon/feed.xml)