Aspose.Words 23.4.0

Word Document Processing .NET API

Version 23.4 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
OpenDocument: ODT, OTT
Web: HTML, MHTML
Markdown: MD
Fixed Layout: PDF
Text: TXT
eBook: AZW3, EPUB, MOBI, CHM

Read-Only Formats

Microsoft Word: DocPreWord60
Other: XML (XML Document)

Write-Only Formats

Fixed Layout: XPS, OpenXps
PostScript: PS
Printer: PCL
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.

https://docs.aspose.com/words/net/aspose-words-for-net-23-4-release-notes

.NET Framework 3.5

  • No dependencies.

.NET 6.0

.NET Standard 2.0

.NET Framework 4.6.1

  • No dependencies.

.NET Framework 4.0

  • No dependencies.

.NET Framework 4.0

  • No dependencies.

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