.NET APIs to Process Word Documents

Manipulate, Convert and Render Word files to multiple formats as well as Generate Reports without any Microsoft Word dependencies.

  Download Free Trial
Aspose.Words for .NET

Aspose.Words for .NET


Aspose.Words for .NET is an advanced Word document processing API to perform a wide range of document management and manipulation tasks. API supports to generate, modify, convert, render and print documents without utilizing Microsoft Word directly within cross-platform applications. Moreover, API supports all the popular Word Processing file formats as well as allows exporting or converting Word documents to fixed-layout file formats and most commonly used image/multimedia formats.

By integrating API, some of the basic tasks developers can perform such as designing of fully featured Microsoft Word reports having standard mail merge fields, reliable conversion between several popular formats, high fidelity rendering of pages, formatting of all document elements and more.


Advanced .NET Word Document Processing API Features



Perform mail merge & generate reports


Insert formatted text, paragraphs, images and tables


Populate tables using data retrieved from database


Create mailing labels


Move sections between documents


Mail merge data from multiple tables


Insert watermark to document


Format date and numeric fields during mail merge


Join documents


Split documents


Encrypt documents


Load encrypted documents


Find and replace text, enumerate over document content


Preserve or extract OLE objects and ActiveX controls


Preserve or remove VBA macros


Preserve VBA macros' digital signature


Detect digital signatures


Insert HTML contents


Interconvert document format


Bookmarks are Allowed on Block, Cell, Row Levels


Convert EquationXML to Office Math


Nested Reports are Supported by LINQ Reporting Engine


Create Snip Corner Rectangle


Save the resources of MHTML document using the "Content-Id" URL Scheme


Show or Hide Comments in Fixed File Format


Show Revisions in Balloons


Write all CSS Declarations of HtmlFixed Documents into Single File

Quick & Reliable Conversion of Popular Document Formats

The ability to quickly and reliably convert different document formats with a high degree of precision is the reason most of our customers choose Aspose.Words. Aspose.Words for .NET allows you to convert documents from any supported format to any other supported format with just two lines of code. It is that simple!

Save document in different formats - C#

// load the file to be converted
var document = new Aspose.Words.Document(dir + "template.doc");
// save in different formats
document.Save(dir + "output.docx", Aspose.Words.SaveFormat.Docx);
document.Save(dir + "output.pdf", Aspose.Words.SaveFormat.Pdf);
document.Save(dir + "output.html", Aspose.Words.SaveFormat.Html);

Render, Print or View Word Documents in Your Applications

Aspose.Words for .NET allows you to print or convert whole documents or even individual pages from Word documents to a number of image formats. You can also render (draw) any document page onto a .NET Graphic object while setting the size and zoom level to create thumbnails for displaying images in browser.

Aspose.Words for .NET has its own rendering engine specially designed for rendering & printing with highest of fidelity to the Microsoft Word. Developers find it easy to print or preview documents within their own applications, this is due to Aspose.Words for .NET's integration with the .NET printing infrastructure and the ability to completely customize the process.

Programming with Document Object Model

Aspose.Words for .NET allows you to create, build and modify documents - including document formatting with an intuitive document object model that consists of over 100 classes.

.NET developers can programmatically create, modify, extract and replace all document elements including sections, headers, footers, paragraphs, lists, tables, text, fields, hyperlinks, bookmarks and images. The API also allows to specify detailed formatting for drawing objects including shapes, textboxes, images, OLE objects and controls.

Reporting & Mail Merge

You can easily use the Aspose.Words for .NET API as a fully featured reporting solution. Design your reports in Microsoft Word and then allow Aspose.Words for .NET to populate documents with data from a number of data sources.

Execute simple mail merge - C#

// load the template containing merged fields
var document = new Aspose.Words.Document(dir + "template.doc");
// fill the fields with user data
    new string[] { "FullName", "Company", "Deparment", "City" },
    new object[] { "John Doe", "Aspose", "Sales", "London" });
// save the result
document.Save(dir + "merged.doc");

Aspose.Words for .NET allows developers to use Microsoft Word's standard mail merge fields in reports. Additionally, you can use the API's extended syntax for mail merge fields to perform more complex operations such as inserting images or repeatable regions whereas the data that drives the reports and mail merge can come from ResultSet objects, business objects or from a completely custom data source.

Microsoft Office Automation - Not Needed

Aspose.Words for .NET is built using managed code that does not need Microsoft Office or Microsoft Word to be installed on the machine to work with Word document formats. It is a perfect Microsoft Office automation alternative in terms of supported features, security, stability, scalability, speed and price.

What People Are Saying

Don't just take our word for it. See what users have to say about Aspose.Words APIs.

View Case Studies

Support and Learning Resources


Aspose.Words offers individual Word processing APIs for other popular development environments as listed below: