Aspose.Words 23.3.0

Word Document Processing .NET API

Version 23.3 Nuget

banner

Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License

Aspose.Words for .NET is a class library that can be used by C#, F#, VB.NET developers for a variety of document-processing tasks, including document generation, modification, converting, and rendering. Our library is self-sufficient and doesn't depend on any third-party software, such as Microsoft Word, OpenOffice, and similar office suites.

This package can be used to develop applications for a vast range of operating systems (Windows, Linux, macOS, iOS, Android) and platforms such as Windows Azure, Xamarin.Android, Xamarin.iOS, Xamarin.Mac. You can build both 32-bit and 64-bit software, including ASP.NET, WCF, and WinForms. Also, you can use our library via COM Interop from ASP, PHP, Perl, and Python programming languages.

Please note: our library implies the use of .NET programming languages, compatible with CLI infrastructure. If you require a corresponding native library for C++, you can download it from here. The Python version you can download from here.

Functionality

To become familiar with the most popular Aspose.Words functionality, please have a look at our free online applications.

Supported Formats

Read and Write Formats

Microsoft Word: DOC, DOT, DOCX, DOTX, DOTM, FlatOpc, FlatOpcMacroEnabled, FlatOpcTemplate, FlatOpcTemplateMacroEnabled, RTF, Microsoft Word 2003 WordprocessingML, XML
OpenDocument: ODT, OTT
Web: HTML, MHTML
Markdown: MD
Fixed Layout: PDF
Text: TXT
eBook: AZW3

Read-Only Formats

Microsoft Word: DocPreWord60
eBook: MOBI, CHM

Write-Only Formats

Fixed Layout: XPS, OpenXps
PostScript: PS
Printer: PCL
eBook: EPUB
Markup: XamlFixed, HtmlFixed, XamlFlow, XamlFlowPack
Image: SVG, TIFF, PNG, BMP, JPEG, GIF
Metafile: EMF

Getting Started

So, you probably want to jump up and start coding your document processing application on C#, F# or Visual Basic right away? Let us show you how to do it in a few easy steps.

Run Install-Package Aspose.Words from the Package Manager Console in Visual Studio to fetch the NuGet package. If you want to upgrade to the latest package version, please run Update-Package Aspose.Words.

You can run the following code snippets in C# to see how our library works. Also feel free to check out the GitHub Repository for other common use cases.

Create a DOCX using C#

Aspose.Words for .NET allows you to create a blank Word document and add content to the file.

// Create a Word document.
Document doc = new Document();

// Use a DocumentBuilder instance to add content to the file.
DocumentBuilder builder = new DocumentBuilder(doc);

// Write a new paragraph to the document.
builder.Writeln("This is an example of a Word document created in C#");

// Save it as a DOCX file. The output format is automatically determined by the filename extension.
doc.Save(dir + "OutputWordDocument.docx");

Create a PDF in C#

Aspose.Words for .NET allows you to create a new PDF file and fill it with data.

// Create a PDF document.
Document pdf = new Document();

// Use a DocumentBuilder instance to add content to the file.
DocumentBuilder builder = new DocumentBuilder(pdf);

// Write a new paragraph to the document.
builder.Writeln("This is an example of a PDF document created using C#");

// Save it as a PDF file.
pdf.Save(dir + "OutputDocument.pdf");

Convert a Word document to HTML with C#

You can convert Microsoft Word to PDF, XPS, Markdown, HTML, JPEG, TIFF, and other file formats. The following snippet demonstrates the conversion from DOCX to HTML:

// Load a Word file from the local drive.
Document doc = new Document(dir + "InputWordDocument.docx");

// Save it to HTML format.
doc.Save(dir + "OutputHtmlDocument.html");

Import a PDF and save as a DOCX via C#

In addition, you can import a PDF file into your .NET application and export it as a DOCX format file without the need to install Microsoft Word:

// Load a PDF file from the local drive.
Document pdf = new Document(dir + "InputDocument.pdf");

// Save it to DOCX format.
pdf.Save(dir + "OutputWordDocument.docx");

Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License

No packages depend on Aspose.Words.

.NET Framework 3.5

  • No dependencies.

.NET Framework 4.0

  • No dependencies.

.NET Framework 4.0

  • No dependencies.

.NET Framework 4.6.1

  • No dependencies.

.NET Standard 2.0

.NET 6.0

Version Downloads Last updated
25.12.0 2 12/11/2025
25.11.0 0 12/13/2025
25.10.0 1 12/10/2025
25.9.0 1 12/13/2025
25.8.0 0 08/05/2025
25.7.0 1 12/09/2025
25.6.0 1 12/12/2025
25.5.0 0 05/07/2025
25.4.0 1 12/09/2025
25.3.0 1 12/09/2025
25.2.0 0 12/10/2025
25.1.0 1 12/11/2025
24.12.0 2 12/09/2025
24.11.1 0 11/14/2024
24.11.0 0 11/11/2024
24.10.0 1 12/09/2025
24.9.0 0 09/09/2024
24.8.0 1 12/10/2025
24.7.0 1 12/11/2025
24.6.0 1 12/10/2025
24.5.0 1 12/12/2025
24.4.0 1 12/09/2025
24.3.0 1 12/09/2025
24.2.0 1 12/09/2025
24.1.0 0 12/29/2023
23.12.0 0 12/11/2025
23.11.0 1 12/10/2025
23.10.0 0 10/06/2023
23.9.0 2 12/10/2025
23.8.0 0 08/06/2023
23.7.0 1 12/10/2025
23.6.0 0 06/06/2023
23.5.0 2 12/09/2025
23.4.0 0 04/04/2023
23.3.0 1 12/09/2025
23.2.0 0 02/02/2023
23.1.0 0 01/06/2023
22.12.0 0 12/01/2022
22.11.0 1 12/13/2025
22.10.0 0 10/06/2022
22.9.0 0 12/09/2025
22.8.0 1 12/10/2025
22.7.0 0 07/04/2022
22.6.0 1 12/10/2025
22.5.0 1 12/11/2025
22.4.0 3 12/10/2025
22.3.0 0 02/28/2022
22.2.0 0 02/02/2022
22.1.0 1 12/09/2025
21.12.0 1 12/10/2025
21.11.0 1 12/09/2025
21.10.0 2 12/11/2025
21.9.0 1 12/11/2025
21.8.0 2 12/10/2025
21.7.0 0 07/02/2021
21.6.0 0 06/03/2021
21.5.0 1 12/09/2025
21.4.0 1 12/10/2025
21.3.0 0 12/11/2025
21.2.0 1 12/09/2025
21.1.0 1 12/09/2025
20.12.0 0 12/04/2020
20.11.0 1 12/11/2025
20.10.0 1 12/09/2025
20.9.0 1 12/09/2025
20.8.0 0 08/04/2020
20.7.0 1 12/11/2025
20.6.0 1 12/11/2025
20.5.0 0 05/04/2020
20.4.0 2 12/09/2025
20.3.0 1 12/10/2025
20.2.0 2 12/10/2025
20.1.0 2 12/11/2025
19.12.0 1 12/11/2025
19.11.0 0 11/05/2019
19.10.0 0 10/04/2019
19.9.0 1 12/11/2025
19.8.0 1 12/10/2025
19.7.0 1 12/09/2025
19.6.0 0 06/03/2019
19.5.0 1 12/11/2025
19.4.0 0 04/02/2019
19.3.0 1 12/09/2025
19.2.0 0 02/01/2019
19.1.0 1 12/09/2025
18.12.0 1 12/10/2025
18.11.0 2 12/10/2025
18.10.0 1 12/10/2025
18.9.0 0 09/03/2018
18.8.0 1 12/09/2025
18.7.0 0 07/04/2018
18.6.0 0 06/01/2018
18.5.0 0 05/02/2018
18.4.0 2 12/10/2025
18.3.0 1 12/09/2025
18.2.0 3 12/09/2025
18.1.0 0 12/26/2017
17.12.0 1 12/12/2025
17.11.0 2 12/11/2025
17.10.0 1 12/09/2025
17.9.0 1 12/10/2025
17.8.0 2 12/09/2025
17.7.0 2 12/10/2025
17.6.0 1 12/10/2025
17.5.0 1 12/10/2025
17.4.0 1 12/09/2025
17.3.0 1 12/11/2025
17.2.0 2 12/10/2025
17.1.0 0 01/16/2017
16.12.0 1 12/09/2025
16.11.0 1 12/11/2025
16.10.0 0 10/12/2016
16.8.0 1 12/11/2025
16.7.0 1 12/10/2025
16.6.0 0 07/13/2016
16.5.0 0 06/23/2016
16.4.0 0 05/12/2016
16.3.0 0 04/11/2016
16.2.0 0 03/16/2016
16.1.0 1 12/10/2025
15.12.0 2 12/11/2025
15.11.0 0 12/05/2015
15.10.0 1 12/10/2025
15.9.0 0 10/12/2015
15.8.1 0 09/05/2015
15.7.0 0 08/07/2015
15.6.0 1 12/09/2025
15.5.0 2 12/09/2025
15.4.0 1 12/09/2025
15.3.0 2 12/09/2025
15.2.0 1 12/10/2025
15.1.0 1 12/13/2025
14.12.0 2 12/11/2025
14.11.0 0 12/08/2014
14.10.0 0 11/08/2014
14.9.0 1 12/09/2025
14.8.0 2 12/09/2025
14.7.0 0 08/07/2014
14.6.0 0 07/07/2014
14.5.0 1 12/09/2025
14.4.0 2 12/10/2025
14.3.0 2 12/09/2025
14.2.0 2 12/09/2025
14.1.0 2 12/11/2025
13.12.0 0 01/12/2014
13.11.0 1 12/12/2025
13.10.0 1 12/13/2025
13.9.0 0 10/09/2013
13.8.0 2 12/11/2025
13.7.0 1 12/13/2025
13.6.0 1 12/10/2025
13.5.0 1 12/10/2025
13.4.0 0 05/07/2013
13.3.0 2 12/09/2025
13.2.0 1 12/09/2025
13.1.0 0 02/03/2013
11.11.0 1 12/13/2025
11.10.0 1 12/10/2025
11.9.0 0 11/03/2012
11.8.0 0 10/07/2012
11.7.0 2 12/09/2025
11.6.0 1 12/13/2025
11.5.0 0 07/03/2012
11.4.0 1 12/11/2025
11.3.0 0 05/02/2012
11.2.0 0 04/10/2012
11.1.0 0 03/03/2012
11.0.0.1 1 12/09/2025
11.0.0 0 02/01/2012
10.8.0 2 12/09/2025