Open Source
rdocx. Word documents
rebuilt in pure Rust.
The Problem
Every team that needed to generate or convert Word documents was dragging in LibreOffice, a JVM, or a commercial API. Hundreds of megabytes of runtime for what should be a library call. The most popular DOCX library in any language, python-docx, has zero conversion capabilities.
The Approach
We wrote it in Rust. A pure library that reads, writes, and round-trips DOCX with a high-level API. No C bindings. No external runtime. A built-in layout engine with text shaping, pagination, and font subsetting. PDF conversion is a method call, not a deployment problem.
Then We Kept Going
HTML and Markdown export. Template engine with regex replacement. Document merging with style deduplication. Table of contents generation. A CLI that can inspect, convert, diff, and validate. WASM support so it runs in the browser. The things every DOCX library should have built, but none did.