Generates PDF, DOCX and other documents from JSON data and Office templates
source availableCarbone Code Licenseself-hostablefreeMCP
Carbone generates documents by merging JSON data into templates you design in Word, LibreOffice, Excel or PowerPoint (DOCX, ODT, XLSX, PPTX, ODS) or HTML/Markdown, using tags like {d.name}, loops and formatters inside the document itself. It outputs PDF, DOCX, XLSX, PPTX, ODS, HTML, CSV and more, converting through LibreOffice. It's available as Carbone Cloud (hosted in France), on-premise/Docker, or on AWS. The Community Edition source is on GitHub under the source-available Carbone Code License; charts, barcodes, dynamic images, HTML rendering and PDF operations need the Enterprise Edition.
Problems it solves
- our business users design reports in Word and keep asking devs to rebuild them in HTML
- fill a .docx template with JSON and get a PDF out, with tables that repeat per row
- generate an Excel spreadsheet report from data while keeping the formatting and formulas of a template
- produce PowerPoint decks from data on a schedule
- LibreOffice-made ODT templates, filled from Node.js
- let the finance team edit the invoice layout in Word without touching code
- run document generation on our own servers because the data can't leave the building
- one templating approach that outputs PDF, DOCX and XLSX from the same data
- format dates, currencies and numbers per locale and translate the same template
- connect report generation to Bubble, Make or n8n workflows
- need a document API hosted in France / the EU
- have my coding agent render a finished PDF or Office file from a template
Features
- templates in Word, LibreOffice, Excel, PowerPoint, HTML and Markdown
- {d.} tag syntax with loops, conditions and formatters
- output to PDF, DOCX, XLSX, PPTX, ODS, HTML, CSV
- document conversion API (100+ formats)
- translations
- charts, barcodes, dynamic images (Enterprise)
- PDF operations (Enterprise)
- Cloud, on-premise, Docker and AWS deployment
- MCP server and agent plugin
Limitations
- Doesn't collect e-signatures itself: it passes signature fields to an e-signature provider1
Ways to run it
Carbone Cloud
Free (100 docs/month); Essential €29/month (€26/month billed yearly, 1,000 docs); Essential Plus €95 (€85); Advanced €159 (€149); Advanced Plus €295 (€265); Advanced Ultra €595 (€529, 500,000 docs). EUR excl. VAT23
Only in this edition
- Enterprise rendering features on every tier, Free included (dynamic images, colours, charts, barcodes, HTML rendering, aggregates)
- PDF merge, signature, watermark, encryption and Factur-X attachments
- Studio designer, template manager and versioning
- Zapier, Airtable, Bubble, n8n, Make and Odoo integrations
- SLA (99.5% to 99.9%) and chat support on paid tiers
- Advanced and above: OIDC SSO (Okta, Keycloak), white-label Studio web component, unlimited team members, expert support
Not included
- Running on your own servers or in your own AWS account2
Carbone On-Premise Community Edition
free (unlimited servers, documents and templates)3
Only in this edition
- REST API server, Studio designer and template manager in one binary or the carbone/carbone-ee Docker image, no licence key needed
- Core templating: substitutions, loops, conditions, formatters; PDF/A and PDF/UA export
- Custom JS plugins (authentication, storage, metrics, formatters)
Not included
- Enterprise rendering features (dynamic images, colours, charts, barcodes, HTML rendering, smart conditions, aggregates)3
- PDF merge, signature, watermark and encryption2
- Support23
- The built-in job balancer for spreading load across peers4
- Use as a hosted document generation service or in a competing product (Carbone On-Premise License)56
You arrange
- A Linux, macOS or Windows host or Docker: at least 1 vCPU and 2 GB RAM with the converters (2 vCPU, 3 GB recommended), 10 GB disk
- LibreOffice installed yourself when running the binary outside Docker (the full Docker image bundles it)
- Persistent storage for templates (and renders with several instances): local disk, NFS, S3-compatible or Azure Blob Storage
- A reverse proxy for HTTPS (the Carbone server has no TLS)
- A load balancer and shared storage for more than one instance
- Upgrades
Embedded Carbone JS (Community Edition source)
Only in this edition
- The Node.js library from GitHub and npm (carbone), embedded in your own app with no separate server
Not included
- Enterprise rendering features7
- Kept one major version behind the Enterprise Edition (the README says it is still v3/v4 while the server is v5)7
- Use as a hosted document generation service or to build a competing generator (Carbone Code License v2.0)8
You arrange
- Node.js 14+
- A LibreOffice server for PDF conversion (without it, output stays in the template's own format)
- Fonts you need (for example Microsoft core fonts) on the host
Carbone On-Premise Fit
€1,500/year (1 server, 12,000 documents/year)34
Only in this edition
- Enterprise Edition features via a licence key
- PDF merge, signature, watermark and encryption
- Studio with unlimited team members
- P1 chat support (~24h resolution)
Not included
- More than 1 server or 12,000 documents/year3
- Expert support (optional add-on) and the lifetime licence that Unlimited has23
You arrange
- The same host, storage, reverse proxy and LibreOffice setup as the Community Edition
- Installing the .carbone-license file or CARBONE_LICENSE variable and renewing it
Carbone On-Premise Unlimited
Only in this edition
- Enterprise Edition features with no server or document caps
- P2 chat support (~1h resolution) with extended hours
- Expert support (10 hours/year) and roadmap influence
- Lifetime licence: the version you have keeps running if you don't renew
You arrange
- The same host, storage, reverse proxy and LibreOffice setup as the Community Edition
- A load balancer and shared storage for multiple servers
- Installing and renewing the licence key
Carbone Private Cloud (AWS Marketplace)
per document, billed by AWS in USD: $0.15 (first 100), $0.08 (101-1,000), $0.03 (1,001-10,000), $0.008 (over 10,000), plus your AWS infrastructure29
Only in this edition
- Enterprise licence included, unlimited documents and templates
- P1 chat support
- Single-tenant AMI in your own AWS account
Not included
- Expert support and roadmap influence (add-ons)2
You arrange
- An AWS account, an EC2 instance launched from the AMI with TCP 4000 open
- Your own AWS infrastructure costs
Capabilities
| Has an API | plan not known |
|---|---|
| Has an MCP server | plan not known |
| Takes plugins | plan not known |
| Has official SDKs | plan not known |
| Has single sign-on | plan not known |
Alternatives
The same job
These do what Carbone does.
- DocSpring Fill PDF forms, generate PDFs and Word documents, and collect e-signatures with one API.
- Docmosis API-first, template-based document generation
- docxtpl Use a docx as a jinja2 template
- Sablon Ruby document template processor based on docx templates and Mail Merge fields
- Docupilot Intuitive, flexible, and affordable Document Automation Software
- docxtemplater Powerful Word, PowerPoint and Excel generation