Skip to content
@groupdocs-assembly

GroupDocs.Assembly Product Family

Boost document generation process with cross platform automation assembly APIs. Generate multi format documents from templates on the fly

GroupDocs.Assembly

Document Automation and Reporting API: Generate Reports from Templates and Data in 40+ Formats

GroupDocs.Assembly is an on-premise document automation and reporting API that fills Word, Excel, PowerPoint, email, HTML and text templates with data from JSON, XML, CSV, databases, the tables of other documents and your own objects, and saves the reports in their own format or as PDF, XPS, HTML, images and more. Templates use a LINQ-based syntax for fields, loops, tables, lists, charts, images, barcodes, hyperlinks and conditional content. SDKs for .NET, Java, Node.js and Python.

Product Page Docs Demos API Blog Search Support Temp License

Latest Assembly News & Updates

  • NEW: GroupDocs.Assembly 26.11 for .NET on NuGet. Release notes.
    • JSON Schema for JSON data: JsonDataSource takes a JSON Schema, so a template can reference members that are null, empty or missing in the data, while misspelled names still fail.
    • Document preview: DocumentAssembler.GeneratePreview renders pages of a template or a report to PNG, JPEG or BMP, with PreviewOptions for pages, size and resolution.
    • Also: external resources referenced from data (for example image URLs) are no longer loaded by default, so allow their hosts with LoadSaveOptions.WhitelistedResources; a .NET Framework 4.8 build; RemoveEmptyParagraphs for spreadsheet and plain text templates; document engines 26.10.
  • NEW: Seven .NET sample repositories on GroupDocs.Assembly 26.11: Word, Excel and PowerPoint reports from JSON, ASP.NET Core report download, Docker, null-safe templates and documents from LLM output. Links in the .NET section below.
  • GroupDocs.Assembly for Python via .NET 26.11: engine 26.7 with the .NET 10 runtime embedded, the first wheels for Linux and macOS (Intel and Apple Silicon), Python 3.5 - 3.14, and Python dicts and lists as data sources. Install it with pip install groupdocs-assembly-net from PyPI. Release notes.
  • GroupDocs.Assembly for Java 26.11: the same JSON Schema support, document preview and control of external resources as .NET 26.11, plus engines 26.10. Release notes.

Supported Platforms & Repository Groups

.NET Document Automation (C#, ASP.NET, Services)

Generate documents and reports from templates on .NET Framework 4.0+ (with 4.6.2 and 4.8 builds), .NET Standard 2.0 and .NET 6, 8 and 10.

  • GroupDocs.Assembly-for-.NET: Examples for every data source, template feature and output format.
  • GroupDocs.Assembly.Mcp: MCP server that lets Claude, Cursor, GitHub Copilot and other AI agents fill Word, Excel, PowerPoint, PDF and email templates with JSON, XML or CSV data locally: dnx GroupDocs.Assembly.Mcp --yes, or the groupdocs/assembly-net-mcp Docker image.

Sample projects, one scenario each, on .NET 8:

using GroupDocs.Assembly;
using GroupDocs.Assembly.Data;

// Fill a Word template with JSON data and save the report as PDF
var assembler = new DocumentAssembler();
assembler.AssembleDocument("template.docx", "report.pdf",
    new DataSourceInfo(new JsonDataSource("customer.json"), "customer"));

Java Document Automation (Maven, Spring)

Native Java library for templated documents with loops, tables, charts, images, barcodes and conditional content.

import com.groupdocs.assembly.DataSourceInfo;
import com.groupdocs.assembly.DocumentAssembler;
import com.groupdocs.assembly.JsonDataSource;

// Fill a Word template with JSON data and save the report as PDF
DocumentAssembler assembler = new DocumentAssembler();
assembler.assembleDocument("template.docx", "report.pdf",
    new DataSourceInfo(new JsonDataSource("customer.json"), "customer"));

Node.js Document Automation (Node.js via Java)

Add report generation to Node.js services and scripts with the Java engine: npm install @groupdocs/groupdocs.assembly.

const assembly = require('@groupdocs/groupdocs.assembly');

// Fill a Word template with JSON data and save the report as PDF
const assembler = new assembly.DocumentAssembler();
assembler.assembleDocument('template.docx', 'report.pdf',
    new assembly.DataSourceInfo(new assembly.JsonDataSource('customer.json'), 'customer'));

Python Document Automation (Python via .NET)

A self-contained Python package with the .NET runtime embedded: pip install groupdocs-assembly-net, Python 3.5 - 3.14 on Windows, Linux and macOS.

from groupdocs.assembly import DataSourceInfo, DocumentAssembler

# Fill a Word template with a Python dict and save the report as PDF
customer = {"Name": "Quayside Bistro", "Product": "Harbor Blend whole bean coffee"}
DocumentAssembler().assemble_document("template.docx", "report.pdf", DataSourceInfo(customer, "customer"))

Business Use-Cases

  • Quotes, invoices and contracts: fill line items, totals and terms, with conditional pricing and clauses.
  • Batch reports: orders, shipments and statements from SQL, JSON or CSV data.
  • Mail merge by email: personalised MSG and EML messages with tables and lists.
  • Dashboards in documents: charts, tables and summary figures computed in the template from the data.
  • Labels, badges and certificates: barcodes, QR codes and images placed from the data.

API Key Features & Benefits

  • 40+ formats: Word (DOC, DOCX, DOCM, DOT, DOTX, DOTM, RTF, ODT, OTT, TXT, Markdown), Excel (XLS, XLSX, XLSM, XLSB, XLT, XLTX, XLTM, ODS), PowerPoint (PPT, PPTX, PPTM, PPS, PPSX, PPSM, POT, POTX, POTM, ODP, OTP), email (MSG, EML, EMLX) and web (HTML, MHTML) templates; reports also as PDF, XPS, OXPS, TIFF, SVG, PostScript, PCL, XAML and EPUB.
  • Template syntax: expressions, loops, conditions, variables and LINQ-style data operations (filtering, ordering, grouping, aggregates).
  • Data sources: JSON, XML, CSV, databases, the tables of Word, Excel and PowerPoint documents, and .NET, Java or Python objects.
  • Content: tables, bulleted and numbered lists, charts, images, barcodes and QR codes, hyperlinks, bookmarks, check boxes and inserted documents.
  • Formatting: number, date and text formats, ordinal, cardinal and alphabetic numbers, and text casing.
  • Output: the template's own format or another of its family; fields and formulas can be updated on save.

Getting Started

  • .NET: dotnet add package GroupDocs.Assembly
  • Java: add com.groupdocs:groupdocs-assembly from the GroupDocs repository, https://releases.groupdocs.com/java/repo/
  • Node.js: npm install @groupdocs/groupdocs.assembly
  • Python: pip install groupdocs-assembly-net
  • Run the sample projects from the repositories above to fill Word, Excel, PowerPoint and email templates from JSON, XML and CSV data.

Technical Support & Resources

Tags

groupdocs-assembly document-automation document-generation report-generation template-engine reporting-api mail-merge linq-templates word-automation excel-reporting pdf-generation json-to-docx data-binding barcode-generation chart-reporting invoice-generation python

Pinned Loading

  1. GroupDocs.Assembly-for-.NET GroupDocs.Assembly-for-.NET Public

    GroupDocs.Assembly for .NET examples, plugins and showcase projects

    C# 11 13

  2. GroupDocs.Assembly-for-Java GroupDocs.Assembly-for-Java Public

    GroupDocs.Assembly for Java examples, plugins and showcase projects

    6 5

Repositories

Showing 10 of 17 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…