We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Trusted by the world’s leading companies

Syncfusion Trusted Companies


Mail merge is the process of merging data from a data source into a Word template document. The Syncfusion Blazor Word Library (Essential DocIO) allows you to generate reports like invoices, payroll, etc., by performing mail merge faster in a batch process without Microsoft Office or interop dependencies. The generated report can be saved as Word document, PDF, HTML, and more.

Key features

Fast and reliable

Generate complex and reliable reports by performing mail merge faster in a batch process compared to Office automation libraries.


Word Library is a non-UI component that allows you to write C# code for performing mail merge once and reuse the same in all .NET Framework, .NET Core, Blazor, and Xamarin platforms.

Create or design template

Easily create a Word template document with merge fields through the intuitive Document Object Model (API). Or design a Word template using Microsoft Word to mail merge with data using Syncfusion Blazor Word Library.

Multiple file formats

Save the merged document in multiple file formats like Word document, HTML, RTF, TXT, ODT, and PDF.

Merge template with data

Open the Word template document and populate the merge fields with data from a data source with a few lines of code.

Email merged documents

Email the merged documents as an attachment by saving them as Word documents or PDFs, or inline by saving them as HTML.

Different ways of mail merging

Perform mail merge in several ways: for a whole document, a region of a document, or a region with hierarchical data.

Simple mail merge

Word Library performs mail merge by repeating the entire document automatically for every record in the data source. Multiple documents can also be created from a Word template.

Group Mail merge

Word Library performs mail merge by repeating a region of the document automatically for every record in the data source.

Nested mail merge

Word Library generates complex reports by repeating nested regions of documents with relational (hierarchical) data. Also, it supports custom join statements to relate one table with another.

Data sources

Populate a template Word document with data from any common data source of the .NET Framework such as ADO.NET Objects, string arrays, IEnumerable collections, dynamic objects, and XML.

Mail merge customization

Customize the merged document with several intuitive options during the mail merge process.

Format merged data

Format the merged text, numeric values, and date-times automatically with the help of field switches.

Text merge event

Edit or format the merged text, numeric and date-time, with merge events. Also, do a page layout for the merged documents by inserting breaks.

Merge image

When the prefix “image:” is added to the merge field name, it replaces image in the merge field.

Image merge event

Customize image data and load dynamic images through an image merge event.

Mapping fields

Automatically map the merge field names with column names in the data source. Custom mapping is added to a merge if field names differ between the template and data sources.

Retrieve merge fields

Retrieve the merge field names and group names from a template document.

Remove unmerged fields

Remove the empty paragraphs, empty groups, and merge fields that are not merged during mail merge.


Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.

Scroll up icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon