Open source document generation
Of the tools in this guide, 8 have an open source edition you can inspect and run yourself. The first three in our order are Carbone, docxtemplater and Gravity PDF. All 8 can run on your own servers.
- Tools
- 8
- With USD price
- 4, from $11
- Free tier
- 8
- Editor's picks
- 1
- Checked
- 20 Oct 2026
- 01
Priced in EUR: Essential EUR 29/mo (EUR 26 annual).
Outputs PDF, DOCX, XLSX, PPTX, HTML Template Word Reads API, Airtable, Zapier/Make/n8n$28 EUR 26, converted - 02 docxtemplater docxtemplater.com
JS library, MIT/GPLv3 core.
Outputs DOCX, PPTX, XLSX Template Word Reads API$45 EUR 500/yr, converted - 03
Gravity PDF gravitypdf.comFree WordPress plugin for Gravity Forms.
Outputs PDF Template HTML Reads built-in formsFree - 04
docassemble docassemble.orgMIT guided-interview and document assembly.
Outputs PDF, DOCX Template Word, PDF form Reads built-in forms, APIFree - 05
Gotenberg gotenberg.devMIT Docker API. HTML, Markdown and Office to PDF via Chromium and LibreOffice.
Outputs PDF Template HTML Reads APIFree - 06 pdfme pdfme.com
MIT TypeScript library with WYSIWYG template designer.
Outputs PDF Template Visual builder Reads APIFree - 07
WeasyPrint weasyprint.orgOpen-source HTML/CSS to PDF in Python by Kozea; support by CourtBouillon.
Outputs PDF Template HTML Reads APIFree - 08
DocuSeal docuseal.comOpen-source e-sign and PDF form builder.
Outputs PDF, e-sign documents Template PDF form Reads API, built-in forms$20 / mo
No tool on this list matches every filter. Clear one to see more.
What differs for open source tools
The most common data sources are JSON API (7), built-in forms (3) and Airtable (1). The most common outputs are PDF (7), DOCX (3) and PPTX (2). Templates are built in Word (3), HTML (3) and a fillable PDF form (2).
The lowest paid starting price is $11 a month after conversion to dollars, from Gravity PDF. Of these, 8 have a free tier. Prices were checked on 20 Oct 2026.
Nearby pages
Related lists: Self-hosted document generation (20 tools).
All tools, with filters for source, output, use case and price.
Not sure which one fits? Answer three questions and get three tools back, scored by the rules on the methodology page.
Find my tool