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 8, and in modern browsers (Chrome,Firefox,Safari,IE9+). It also has a command line.

Full Documentation

docxtemplater has extensive documentation available at https://docxtemplater.readthedocs.io/en/latest/.

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.5.5
image v3.1.4
footnotes v3.0.1
slides v3.1.2
word-run v3.0.0
subtemplate v3.1.7
qrcode v3.0.5
meta v3.0.0
table v3.2.2
Dedicated Support
None
Email
Email
License
Pricing
Free
€950 / year
€2450 / year
Purchasing
n/a
Credit Card
Credit Card
Buy
Buy

All sales come with a two week, 100% money back guarantee.
Read our commercial 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 by more than 15,000 developpers

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.