Supercharged docx/pptx generation

Want to generate docx or pptx from inside your application ? By using docxtemplater, you will be able to customize your generated document using Word itself.

Benefits

Easy to use

You don't need technical skills to edit a Word template, so it is ideal for your clients to customize their template.

Very robust

For each module, we write a full suite of tests with real docx documents to ensure that the generated documents are correct.

Support included

If you buy a license for docxtemplater pro, you get support per email to help you for any problems you may have.

Why use docxtemplater?

Super easy to install and set up

In less than five minutes you can install docxtemplater, create your first template and generate some docx from javascript objects or JSON

Works everywhere

docxtemplater works with nodejs version 0.10+ up to version 10, and in modern browsers (Chrome,Firefox,Safari,IE9+). It also has a command line interface.

Full Documentation

docxtemplater has extensive documentation available on Read the docs. See also our commercial FAQ and our technical FAQ for more information.

Features many different types of tags

With docxtemplater, you can insert text, but also have loops and conditions : {#tag} {/tag}, the possibility to add custom xml {@xml} , loop over table rows, or insert images {%image}

Open for extension

docxtemplater is open for extension with its module system (image replacing is a module). You can also define a custom parser to process the tags the way you want.

Fully tested

docxtemplater has automated tests that run locally and at each git push, covering a huge amount of possible inputs and verifying that the output is correct.

Plans

Open source

Pro

Entreprise

Audience
Hobbyists
Startups, small business
Medium or Large companies
html v3.12.0
image v3.3.4
footnotes v3.0.7
slides v3.1.9
word-run v3.0.5
subtemplate v3.4.7
subsection v3.2.4
qrcode v3.2.1
meta v3.0.2
table v3.5.2
styling v3.1.4
Dedicated Support
None
Email
Email
License
Pricing
Free
€950 / year (per 100 Workers)
€2450 / year (per 100 Workers)
Purchasing
n/a
Credit Card
Credit Card
Buy
Buy

All sales come with a two week, 100% money back guarantee.
Read our commercial FAQ or our technical FAQ for more information.
Here is a more detailed list of all modules
You can also buy a license for one single module by following this link : Buy single module
If you would like to embed docxtemplater-pro in your virtual server or appliance, the pricing differ, please contact us.

Trusted and used by more than 20,000 developpers

The docxtemplater module helped our company a lot - it works well, even with a complex setup. I would personally like to thank the author, Edgar Hipp, for quick responses and fixes if they were needed. Edgar generally responded to our emails within a working day and fixed most bugs within 2 working days.

Erik Kramer

Founder and CEO at Cloud++ B.V

Thanks for your time and effort, I really appreciate it :)

@cades hong-jen kao

Full-stack Web Developer

First thanks for this lib. Using docx as a template is an awesome smart thing to do, great you made this stuff!

@ssured Sjoerd de Jong

Owner - Racido BV

Once again: This is an awesome module!

Allan Ebdrup

CTO at Debitoor

Edgar Hipp

I'm the creator of docxtemplater. I work on making docxtemplater great since 2013.