Docxtemplater
docxtemplater.com
What it is
Docxtemplater is a JavaScript library that generates Word, PowerPoint, Excel, and OpenDocument files by filling templates with JSON data. Users add tags such as {user} to a Word or PowerPoint template, and the engine replaces them with supplied values. The core library is open source under MIT/GPLv3 and includes basic templating; advanced features are available through paid modules sold individually, in a four-module PRO pack, or through ENTERPRISE. The library is tested with active Node.js versions 12 through 24 and common browsers. Its Docker API accepts a template and JSON data over HTTP and produces DOCX, PPTX, or XLSX files. The ENTERPRISE Docker image supports use from several programming languages, while code integration uses JavaScript with examples for common frameworks. Generation runs locally without outbound network requests; on-premise deployment and air-gapped environments are supported with the APPLIANCE license. Developers configure the library, while office users can create templates with their existing document skills. Paid plans start at €500 a year. Rendering DOCX page layout and page breaks is outside its scope.
Spec sheet
- What it does
- Docxtemplater is a JavaScript library that fills Word, PowerPoint, Excel and OpenDocument templates with JSON or JavaScript data.Read 15 Oct 2026 · docxtemplater.com
- Purpose
- Docxtemplater generates Word, PowerPoint, Excel and OpenDocument files from templates populated with JSON data.Read 30 Sep 2026 · docxtemplater.com
- Deployment
- Docxtemplater supports full on-premise deployment with the APPLIANCE license and is compatible with air-gapped environments.Read 30 Sep 2026 · docxtemplater.com
- Integrations
- Code integration is done with JavaScript, and examples are provided for Node.js, browser, React, Angular, Vue and Next.js.Read 30 Sep 2026 · docxtemplater.com
- Security
- The library performs no outbound network requests during document generation and processes data locally without transmitting it to third parties.Read 30 Sep 2026 · docxtemplater.com
- Support
- Paid plans include email support, with stated average response times under 48 hours for PRO and under 24 hours for Enterprise.Read 15 Oct 2026 · docxtemplater.com
- License
- The open-source core is dual-licensed under MIT or GPLv3; paid modules use commercial licenses.Read 15 Oct 2026 · github.com
- Headquarters
- Massy, FranceRead 28 Sep 2026 · docxtemplater.com
- Advanced modules
- Paid modules add images, HTML, charts, tables, Excel templating, slides, subtemplates, styling, metadata and error-location features.Read 15 Oct 2026 · docxtemplater.com
- CLI
- A command-line package can generate an output document from an input DOCX and JSON data file.Read 15 Oct 2026 · docxtemplater.com
- Company legal identity
- The maker identifies the company as Coding Puffin SAS, with VAT FR60890806888 and a registered address in Massy, France.Read 15 Oct 2026 · docxtemplater.com
- Company registry
- Societe.com lists Coding Puffin SAS as created on 9 November 2020, in software programming, with 3–5 employees and Edgar Hipp as president.Read 15 Oct 2026 · societe.com
- Core licensing
- The core library is open-source under MIT/GPLv3 and includes basic templating, while advanced features require paid modules.Read 30 Sep 2026 · docxtemplater.com
- Core templating
- The core supports placeholder replacement, conditional sections, loops and custom delimiters.Read 15 Oct 2026 · docxtemplater.com
- Docker API
- The Docker API accepts a template and JSON data through an HTTP POST route and outputs DOCX, PPTX or XLSX.Read 30 Sep 2026 · docxtemplater.com
- Documentation depth
- The documentation covers Node and browser setup, tags, configuration, parsers, async data, errors, API usage and individual paid modules.Read 15 Oct 2026 · docxtemplater.com
- Founder history
- An official interview says Edgar Hipp started the open-source project in 2013 and commercialized it in 2017.Read 15 Oct 2026 · docxtemplater.com
- Language SDKs
- The ENTERPRISE Docker image supports use from Python, Java, Go, C#, C++, Ruby, PHP and Node.js.Read 30 Sep 2026 · docxtemplater.com
- Limit: annual billing
- The FAQ says modules are sold yearly and cannot be paid monthly or quarterly, with no discount codes.Read 15 Oct 2026 · docxtemplater.com
- Limit: Capterra reviewer
- The Capterra reviewer identified missing built-in PDF rendering as a drawback.Read 15 Oct 2026 · capterra.com
- Limit: PDF conversion
- Docxtemplater does not convert DOCX to PDF; the FAQ recommends LibreOffice headless or a commercial converter.Read 15 Oct 2026 · docxtemplater.com
- Limit: reported GitHub issue
- Another public issue reports loops introducing unwanted newlines, spaces and formatting changes that required unintuitive workarounds.Read 15 Oct 2026 · github.com
- Limit: table styling
- Free loop-generated tables retain the original row formatting and cannot dynamically merge rows or columns; styled tables require the paid HTML module.Read 15 Oct 2026 · docxtemplater.com
- Notable news: pricing
- A 25 May 2023 announcement said the current module, PRO, Enterprise and Premium pricing became effective on 1 June 2023.Read 15 Oct 2026 · docxtemplater.com
- NPM package
- NPM lists docxtemplater under the MIT license, with version 3.71.0 and more than 1.15 million weekly downloads at the time shown.Read 15 Oct 2026 · npmjs.com
- Output formats
- The open-source core handles DOCX and PPTX; XLSX requires the paid XLSX module, and ODT is also listed as supported.Read 15 Oct 2026 · docxtemplater.com
- Paid modules
- Docxtemplater offers 19 paid modules, sold individually, in a four-module PRO pack, or through ENTERPRISE.Read 30 Sep 2026 · docxtemplater.com
- Performance
- The maker reports generating 250 fairly complex 50-page documents in 44 seconds, about 180 milliseconds per document.Read 15 Oct 2026 · docxtemplater.com
- Praise: Capterra reviewer
- The reviewer praised editing templates in Word without changing application code and the control gained by installing it on their own server.Read 15 Oct 2026 · capterra.com
- Praise: independent review
- The GetApp listing describes the product as a template-based JavaScript document generator with a free version and paid annual modules.Read 15 Oct 2026 · getapp.com
- Public API
- The API exposes rendering, asynchronous rendering, ZIP access, option configuration, custom parsers and attachable modules.Read 15 Oct 2026 · docxtemplater.com
- Rating on Capterra
- 5.0 out of 5 from 1 review.Read 15 Oct 2026 · capterra.com
- Rating on GetApp
- 5.0 out of 5 from 1 review.Read 15 Oct 2026 · getapp.com
- Rendering limitation
- Rendering a DOCX document, including page-break and layout calculation, is outside Docxtemplater's scope and is handled by tools such as Microsoft Word.Read 30 Sep 2026 · docxtemplater.com
- Runtime
- The library runs in Node.js and common browsers and is embedded into an application's JavaScript code.Read 15 Oct 2026 · docxtemplater.com
- SDKs and HTTP API
- The Enterprise Docker image exposes an HTTP interface and SDKs for languages including Node.js, Go, Python, PHP, Ruby, Dart, C#, C, C++, Java, Lua and Rust.Read 15 Oct 2026 · docxtemplater.com
- Security architecture
- The maker says the library has no built-in filesystem, HTTP, HTTPS or eval access, performs no outbound requests during generation, has no telemetry and supports air-gapped use.Read 15 Oct 2026 · docxtemplater.com
- Security controls
- Security guidance recommends angular-expressions 1.5.2 or newer, csp:true and disabling CallExpression when using the Angular parser.Read 15 Oct 2026 · docxtemplater.com
- Security scan
- Snyk lists docxtemplater 3.71.1 and reports zero known critical, high, medium or low issues for the versions displayed.Read 15 Oct 2026 · security.snyk.io
- Self-hosting
- The software processes locally, supports on-premise deployment through an Appliance license and offers an Enterprise Docker deployment.Read 15 Oct 2026 · docxtemplater.com
- System requirements
- The technical specification lists Node.js 20 or 22, Chrome, Firefox, Safari or Edge, and operation on Linux, Windows and macOS.Read 15 Oct 2026 · docxtemplater.com
- Target users
- Developers install and configure the library, while Word, PowerPoint and Excel users can create templates using their office skills.Read 30 Sep 2026 · docxtemplater.com
- Template workflow
- Users create templates in Word or PowerPoint with tags such as {user}, and the engine replaces fields with JSON values.Read 30 Sep 2026 · docxtemplater.com
- Testing
- The maker says modules use integration, regression, unit and speed tests with real Office documents and reports a 90% mutation-testing score.Read 15 Oct 2026 · docxtemplater.com
Plans and prices
Strong points and limits
Strong points
- Core library is open source under MIT/GPLv3.
- Generates several office and OpenDocument formats.
- Local generation makes no outbound network requests.
- On-premise and air-gapped deployment are supported with APPLIANCE.
- HTTP API accepts templates and JSON data.
Limits
- Advanced features require paid modules.
- DOCX page layout and page-break rendering are outside scope.
- Paid plans start at €500 a year.
- No free trial is listed.
Who it suits
Docxtemplater suits developers who need to generate office documents from structured JSON data. Office users can create the templates, but page-layout rendering requires a separate tool such as Microsoft Word.
Docxtemplater in depth
Read the full write-up
Docxtemplater is a developer library for generating office documents from JSON data and templates made in Word or PowerPoint. It suits teams that need to produce documents inside an application while keeping generation under their control. Its appeal is flexible local deployment; its main limitation is that it creates documents but does not render their finished page layout.
Overview
Template authors add tags such as {user} to a Word or PowerPoint document, and Docxtemplater replaces them with values from JSON. Developers install and configure the JavaScript library, while office users can prepare templates using skills they already have. That division works well when document creation and application development sit with different people, but it is not a no-code document generator.
The open-source core is licensed under MIT/GPLv3 and covers basic templating. Advanced capabilities are sold as paid modules, individually or in bundles. Generation runs locally without outbound network requests, and the APPLIANCE license supports full on-premise deployment, including air-gapped environments. That makes Docxtemplater a strong fit for data-sensitive workflows, though organizations should weigh the cost of advanced modules against the scope of their needs.
Key features
Office templates and JSON data: Populate Word, PowerPoint, Excel and OpenDocument files from structured data. This lets teams use familiar office tools for template authoring, while leaving data handling and integration to developers.
JavaScript integration: The library is tested with active Node.js versions 12 through 24 and common browsers. Examples cover Node.js, browser, React, Angular, Vue and Next.js, giving JavaScript teams several integration patterns.
Docker API: Send a template and JSON data to an HTTP POST route and receive DOCX, PPTX or XLSX. The ENTERPRISE Docker image can also be used from Python, Java, Go, C#, C++, Ruby, PHP and Node.js, extending its reach beyond JavaScript applications.
Local processing: Document generation makes no outbound network requests and does not transmit data to third parties. Organizations needing infrastructure control can deploy on-premise under the APPLIANCE license, including in air-gapped environments.
Generation speed: The technical specification reports 250 fairly complex, 50-page documents generated in 44 seconds, or about 180 milliseconds per document. That is a useful benchmark for bulk generation, but it does not include page-layout rendering.
Rendering boundary: Page breaks and layout calculations are outside Docxtemplater's scope; a tool such as Microsoft Word handles rendering. Choose another approach if the generation system itself must deliver fully rendered pages.
Pricing
The free Open source plan costs nothing and includes basic features, the MIT/GPLv3 core and community support. It is the sensible starting point for basic templating, but advanced features and commercial licensing require a paid plan.
One module costs €500 a year, billed 500€ per year. It includes one module, a five-instance maximum per license, commercial licensing and email support under 48 hours. This is the lowest-cost paid option for teams that can identify a single required module.
PRO costs €1,250 a year, billed 1250€ per year, and includes four modules, a five-instance maximum per license, commercial licensing and email support under 48 hours. It suits teams that need several modules without moving to an all-modules tier.
ENTERPRISE costs €3,000 a year, billed 3000€ per year. It includes all 18 modules, a Docker image and HTTP API, priority email support under 24 hours and custom commercial terms. Premium costs €9,000 a year, billed 9000€ per year; it includes all 18 modules, a full browser version, a 25-instance maximum per license, priority chat, email and phone support, and four expert days. Premium is for buyers who need those browser and support provisions, not simply more modules.
The Perpetual ENTERPRISE feature set costs €12,250, paid once, billed 12250€ one time. It permits installation on new hosts perpetually and includes three years of support and a five-instance maximum. This trades a large upfront cost for perpetual installation rights rather than an annual subscription.
Platforms
Docxtemplater supports Android, iOS, Linux, macOS, Windows, web, API and self-hosted environments. Its primary integration is JavaScript; the ENTERPRISE Docker image supports additional languages. The breadth of deployment options helps teams fit it into existing systems, but platform support does not remove the need for developers to integrate and configure the library.
Who it's for
Docxtemplater is best for developer-led teams that need repeatable generation of office documents from application data, especially where local processing or on-premise deployment matters. It also suits organizations whose document authors work comfortably in Word, PowerPoint or Excel but rely on developers to connect templates to data. It is a poor fit when users need page-layout rendering as part of the generation engine or want a complete document workflow without developer integration.
Pros and cons
Pro: The open-source core supports basic templating without a paid module subscription.
Pro: Local processing and on-premise, air-gapped deployment suit teams with strict infrastructure requirements.
Pro: Familiar office templates let non-developers handle document design while developers manage data integration.
Con: Advanced features require paid modules, with annual plans starting at €500 a year.
Con: Developers must install and configure the library; office template authoring does not make the overall workflow no-code.
Con: Page-break and layout rendering must happen elsewhere, adding another step for workflows that require rendered output.
Alternatives
Document Template Management Software is a broader category to browse if you want to compare different approaches to template-based document production.
Carbone is another freemium option with a free plan and support for API, web and self-hosted environments; compare it if you want to consider another template-generation product.
Fluent by Apryse is a paid alternative with a free trial and broad platform coverage; its entry-level packages start at $1,500, making it worth considering when a paid package better fits your requirements.
Legito has a free plan, web and API access, and includes document lifecycle management, customizable workflows and approvals, and electronic signatures in its free tier. Choose it when those workflow capabilities matter alongside document creation.
PDFMonkey offers a free plan capped at 20 documents per month, with one-day retention and a 30-second generation limit; it excludes external images, fonts, CSS and JavaScript. Consider it when those PDF-specific limits fit your needs.
Docmosis is a paid option with a free trial and a Cloud Professional plan at $49 a month for 4,000+ pages monthly, one user and one environment. Its stated monthly page allowance makes it a candidate when that cloud offering fits the workload.
Documentero has a free plan limited to 50 documents once and three templates, with unlimited pages and fields plus shareable forms, emails and a cloud API service. Consider it if those limits and built-in form and email features suit a smaller workflow.
Gavel is a paid alternative with a free trial; consider comparing it if you want to evaluate another document automation product.
Templafy Email Signature Management is a paid product for email signature management, with custom pricing; it serves a different need from document generation.
Verdict
Choose Docxtemplater if your developers need a flexible way to generate office documents from structured data, particularly when local or on-premise processing is important and your team can handle rendering separately. Its open-source core is a low-cost route to basic templating, but advanced modules raise the price and integration remains developer work. Look elsewhere if you need finished page layouts directly from the generator or a broader workflow product without that engineering burden.
Verdict
Docxtemplater separates template-based document generation from page-layout rendering, so it fits workflows that can handle rendering elsewhere. The open-source core covers basic templating, with paid modules for advanced features.
Where Specifiction places it
- Document Template Management Software#2 of 259.1
- Docs Automation#3 of 269.1