Zurück zum Ranking

open-xml-templating/docxtemplater

JavaScriptdocxtemplater.com

Generate docx, pptx, and xlsx from templates (Word, Powerpoint and Excel documents), from Node.js or the browser. Demo: https://www.docxtemplater.com/demo. #docx #office #generator #templating #report #json #generate #generation #template #create #pptx #docx #xlsx #react #vuejs #angularjs #browser #typescript #image #html #table #chart

docxjavascripttemplatepowerpointmicrosoftexcelofficepptxwordxlsxdocx-templatedocx-generator
Sterne-Wachstum
Sterne
3.6k
Forks
383
Wochenwachstum
Issues
6
1k2k3k
Jan. 2023März 2024Mai 2025Juli 2026
Artefaktenpmnpm install docxtemplater
README

docxtemplater

Download count Current tag CDNJS version size gzip size

docxtemplater is a library to generate docx/pptx documents from a docx/pptx template. It can replace {placeholders} with data and also supports loops and conditions. The templates can be edited by non-programmers, for example your clients.

docxtemplater is very robust because of the many fixed issues over the years, and the high quality of tests and code.

Features

Demo Site

Quickstart

Documentation

The full documentation of the latest version can be found here.

See CHANGELOG.md for information about how to migrate from older versions.

Modules

Functionality can be added with the following paid modules :

  • Image module to add a given image with the syntax: {%image};
  • Html Module to insert formatted text in a docx document with the syntax {~html};
  • XLSX Module to be able to do templating on Excel files (xlsx extension), also with loops and conditions;
  • Chart Module to replace a chart by using data from the JSON object that you give with the syntax {$chart};
  • Html-Pptx Module to insert formatted text in a pptx document with the syntax {~html};
  • Error Location Module to show the errors in the template using Word comments
  • Slides Module to create multiple slides dynamically with the syntax {:users};
  • Subtemplate Module to include an external docx file inside a given docx file with the syntax {:include doc};
  • Subsection Module to include subsections (headers/footers) from an other document with the syntax {:subsection doc};
  • Subtemplate-pptx Module to include an external pptx file inside a given pptx file with the syntax {:include doc};
  • Word-Run Module to include raw runs (<w:r>) inside the document with the syntax {r@wrun}. This makes it possible to include styled text without having to remove the enclosing paragraph like in the {@rawXml} tag;
  • QrCode Module to replace an image, keeping any existing properties;
  • Table Module to create tables from two dimensional data using the syntax {:table data};
  • Meta Module to make a document readonly, add a text watermark or update the margins;
  • Styling Module restyle a paragraph, a cell or a table depending on some data using the syntax {:stylepar style};
  • Footnotes Module to be able to add footnotes to a document using the syntax {:footnotes foot}
  • Paragraph Placeholder Module to simplify conditions that should show or hide a given paragraph using the syntax {?tag}

About docxtemplater

Docxtemplater is my main job, and has been maintained for over 8 years. Expect to get great support if you buy any modules, and also good support on the open-source version.

Ähnliche Repositories
opendatalab/MinerU

Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.

PythonPyPIOtherextract-datalayout-analysis
opendatalab.github.io/MinerU/
75.4k6.3k
docling-project/docling

Get your documents ready for gen AI

PythonPyPIMIT Licenseaiconvert
docling-project.github.io/docling
63.6k4.5k
koodo-reader/koodo-reader

A modern ebook manager and reader with sync and backup capacities for Windows, macOS, Linux, Android, iOS and Web

JavaScriptnpmGNU Affero General Public License v3.0epubreader
koodoreader.com
27.6k2.1k
DS4SD/docling

Get your documents ready for gen AI

PythonPyPIMIT Licenseaiconvert
ds4sd.github.io/docling
23.6k1.4k
iOfficeAI/OfficeCLI

OfficeCLI is the first and best Office suite purpose-built for AI agents to read, edit, and automate Word, Excel, and PowerPoint files. Free, open-source, single binary, no Office installation required.

C#Apache License 2.0agentai
officecli.ai
20.7k1.4k
ether/etherpad-lite

Etherpad: A modern really-real-time collaborative document editor.

TypeScriptnpmApache License 2.0etherpadcollaboration
docs.etherpad.org
17.2k2.9k
Unstructured-IO/unstructured

Convert documents to structured data effortlessly. Unstructured is open-source ETL solution for transforming complex documents into clean, structured formats for language models. Visit our website to learn more about our enterprise grade Platform product for production grade workflows, partitioning, enrichments, chunking and embedding.

HTMLApache License 2.0deep-learningdocument-parsing
unstructured.io
15.2k1.3k
kekingcn/kkFileView

Universal File Online Preview Project based on Spring-Boot

JavaMavenfileviewkkfileview
kkview.cn
14.4k3.3k
dream-num/univer

Univer is a full-stack framework for creating and editing spreadsheets / word processor / presentation on both web and server.

TypeScriptnpmApache License 2.0data-tableexcel
docs.univer.ai
13.9k1.2k
Zettlr/Zettlr

Your One-Stop Publication Workbench

TypeScriptnpmGNU General Public License v3.0officeproductivity
zettlr.com
13.3k819
PHPOffice/PHPWord

A pure PHP library for reading and writing word processing documents

PHPPackagistOtherphplibreoffice-writer
phpoffice.github.io/PHPWord/
7.6k2.7k
QuivrHQ/MegaParse

File Parser optimised for LLM Ingestion with no loss 🧠 Parse PDFs, Docx, PPTx in a format that is ideal for LLMs.

PythonPyPIApache License 2.0docxllm
megaparse.com
7.4k419