Template syntax
- JS-native engine
- {d.field} with loops
- Carbone
- {d.field} with loops

Compare
Carbone requires a LibreOffice server for conversion. PaperJSX handles template-driven generation and DOCX-to-PDF conversion natively in JavaScript — no Docker images, no process supervision, no font drift.
[01] Decision lens
The difference is not just syntax. It is the infrastructure behind conversion and whether the document workflow needs to remain lightweight enough for serverless and modern deployment models.
[02] Side by side
These are the practical areas where the Carbone-style template model either remains useful or becomes constrained by infrastructure assumptions.
| Capability | JS-native engine | Carbone |
|---|---|---|
| Template syntax | {d.field} with loops | {d.field} with loops |
| DOCX to PDF | Pure JS, high-fidelity for business documents | LibreOffice based |
| Formats | Native DOCX, XLSX, PPTX, PDF | Office formats via LibreOffice |
| Track changes | Full 28-element spec | — No |
| Accessibility | WCAG suite across formats | — No |
| Infrastructure | npm install, serverless-friendly | LibreOffice server |
[03] Best fit for PaperJSX
PaperJSX is the stronger fit when you like template-driven authoring but cannot accept a LibreOffice runtime, large Docker images, or a conversion stack that fights serverless deployment.
[04] Best fit for Carbone
If the team is already comfortable operating LibreOffice-backed infrastructure and does not need track changes, accessibility, or serverless deployment, Carbone may be sufficient.
[05] Tradeoffs
Carbone has a longer history in office-template workflows. Teams with deeply invested LibreOffice infrastructure that works well may not need the migration yet.
[06] Related routes
These pages cover the next tradeoffs teams usually ask about after the first comparison.
Compare template-first DOCX generation with a multi-format platform that adds pagination, accessibility, and conversion.
Vendor comparisonCompare the most mature JavaScript DOCX library with a pagination-aware generation engine and broader DOCX workflow modules.
Use-case evaluationTrack changes generation, DOCX comparison, and accessible output for legal and contract workflows.
PricingSee how template support, conversion, and redlining fit together in Enterprise.
Use one live export, report, or document request to compare the route in practice instead of only comparing feature grids.