Word-faithful DOCX redlines and rendering, without Word
open sourceAGPL-3.0-onlyself-hostablefree
jubarte is a DOCX engine in Rust for Word-style review work without automating Microsoft Word or LibreOffice. It compares two Word documents into native tracked changes (insertions, deletions, moves and formatting changes), lists, accepts or rejects changes by id, author or kind, applies validated JSON edit plans, and renders DOCX to PDF or PNG with its own Word-oriented layout engine, including tracked changes (jubarte convert redline.docx --revisions word) and comments as Word's markup-pane balloons. The same engine ships as the jubarte CLI, a Rust crate, a Python wheel and a WebAssembly package for Node and browsers, with prebuilt CLI archives for Linux (glibc and musl), macOS and Windows. It's licensed AGPL-3.0-only, and Jandira Technologies publishes a benchmark that scores it page by page against Word and other converters.
Problems it solves
- compare two Word contracts and get a redline that opens cleanly in Word with native tracked changes
- render a Word document with tracked changes to PDF the way Word shows them, on a Linux server
- accept only one reviewer's changes in a Word file and leave the rest tracked
- let an AI agent edit a Word document safely and record its edits as tracked changes
- produce a PDF with only the pages a change touches, for a quick review
- turn Markdown with CriticMarkup into a Word document with tracked changes
- run document comparison in the browser without uploading the files
- convert DOCX to PDF in a musl-based container with a single static binary
- show Word comments as balloons in the margin of a generated PDF
- review the differences between two Word files as text in the terminal
Features
- compare two DOCX files into native Word tracked changes, including moves and formatting changes
- list, accept and reject changes by id, author and kind
- render DOCX to PDF or PNG with tracked changes in conventional, Word or custom styles
- comments drawn as Word's markup-pane balloons
- --changed-pages and --pages to render only some pages
- atomic JSON edit plans with paragraph ids and source hashes
- Markdown in and out, with CriticMarkup mapped to tracked changes
- agent view: a text snapshot of paragraphs, tables, changes and comments
- Rust crate, Python wheel (abi3, CPython 3.10+) and WebAssembly package for Node and browsers
- prebuilt CLI archives for Linux x86_64 and arm64 (glibc and musl), macOS and Windows
View 1 more
- font reports and a fail-on-substitution exit code
Limitations
- Doesn't render PNG page images from its npm CLI: PNG output needs the Rust binary or the Python wheel1
Capabilities
| Has a command line tool | plan not known |
|---|---|
| Has official SDKs | plan not known |
Alternatives
The same job
These do what jubarte does.
- rdocx Native DOCX creation, editing, comparison, layout, and rendering
- Aspose.Words Create, edit, render and convert Word documents to multiple formats without using external software
- docxide-pdf Library and CLI for converting DOCX files to PDF, matching Microsoft Word's output as closely as possible
