A configurable C# tool for generating personalized Word documents from Excel data and a DOCX template.
- Generate multiple documents from a single Word template
- Import data from Excel spreadsheets
- Configurable through
Configuration.json - Support for relative and absolute paths
- Export imported data to
Table.json - Separated components for importing, processing, and document generation
- Prepare a
.docxtemplate with your merge fields. - Prepare an Excel spreadsheet containing the corresponding data.
- Configure the template, data, and output paths in
Configuration.json. - Run the application.
The application processes the spreadsheet and generates personalized documents from the Word template.
The application separates the main responsibilities into components such as:
ExcelImporter— imports data from ExcelTableWriter— writes the imported data to JSONWordDocumentGenerator— generates documents from the templateMailMergeApplication— coordinates the workflow
- Windows
- .NET
- A
.docxWord template - An Excel spreadsheet
This project is licensed under the MIT License.