Open source report generator that turns JSON data and office templates into PDF, DOCX, XLSX, ODT, and more
- Stars2k
- Forks255
- Open Issues53
Other
- JavaScript
- Python
- HTML

About Carbone
Carbone turns JSON data into finished documents. You design a template in LibreOffice, Google Docs, or Microsoft Office and drop in JSON-like markers such as {d.companyName}; Carbone fills the markers from your data and outputs PDF, DOCX, XLSX, ODT, PPTX, ODS, XML, or CSV. The data comes straight from your existing JSON APIs.
For PDF and cross-format output, Carbone drives LibreOffice as a headless converter. It runs LibreOffice in server mode, manages a pool of workers, restarts any that crash or stop responding, and runs conversions through a job queue that retries up to three times.
Carbone runs on the server, embeds in Node.js, and ships with a CLI. The Community Edition is free under the CCL Agreement; a Docker Edition and a hosted Enterprise Edition add further features. It runs on macOS, Linux, and Windows.
Key features
- Fills office templates from JSON data with markers
- Outputs PDF, DOCX, XLSX, ODT, PPTX, ODS, XML, CSV
- Designs templates in LibreOffice, Docs, or Office
- Drives headless LibreOffice for document conversion
- Built-in date and number formatters
Details
- First released
- 2017
- Platforms
- Node.js · CLI
- Deployment
- self-hostable · docker
- Input
- JSON · office templates
- Output formats
- PDF · DOCX · XLSX · ODT · CSV
- Converter
- LibreOffice
