![]() |
VOOZH | about |
dotnet add package Aspose.Words --version 26.6.0
NuGet\Install-Package Aspose.Words -Version 26.6.0
<PackageReference Include="Aspose.Words" Version="26.6.0" />
<PackageVersion Include="Aspose.Words" Version="26.6.0" />Directory.Packages.props
<PackageReference Include="Aspose.Words" />Project file
paket add Aspose.Words --version 26.6.0
#r "nuget: Aspose.Words, 26.6.0"
#:package Aspose.Words@26.6.0
#addin nuget:?package=Aspose.Words&version=26.6.0Install as a Cake Addin
#tool nuget:?package=Aspose.Words&version=26.6.0Install as a Cake Tool
Product Page | Docs | Demos | API Reference | Examples | Blog | Releases | Free Support | Temporary License
Aspose.Words for .NET is a powerful class library designed for C#, F#, and VB.NET developers to perform a wide range of document-processing tasks, including document generation, editing, conversion, rendering and printing. The library is fully self-contained and does not require any third-party software like Microsoft Word or OpenOffice. With the addition of our new AI-powered features - such as document summarization, translation, and grammar checking - you can now bring intelligent automation into your document workflows using your preferred AI model.
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.
To become familiar with the most popular Aspose.Words functionality, please have a look at our free online applications.
| Format | Description | Load | Save |
|---|---|---|---|
| Microsoft Word Formats | Formats related to Microsoft Word document and template files | ||
| DOC | Microsoft Word 97β2003 document format | βοΈ | βοΈ |
| DOT | Microsoft Word 97β2003 template format | βοΈ | βοΈ |
| DOCX | Microsoft Word Open XML document format | βοΈ | βοΈ |
| DOTX | Microsoft Word Open XML template format | βοΈ | βοΈ |
| DOTM | Microsoft Word Open XML template format with macros | βοΈ | βοΈ |
| FlatOpc | Open Packaging Convention flat file format for Word documents | βοΈ | βοΈ |
| FlatOpcMacroEnabled | Open Packaging Convention flat file format for macro-enabled documents | βοΈ | βοΈ |
| FlatOpcTemplate | Open Packaging Convention flat file format for templates | βοΈ | βοΈ |
| FlatOpcTemplateMacroEnabled | Open Packaging Convention flat file format for macro-enabled templates | βοΈ | βοΈ |
| RTF | Rich Text Format, used for cross-platform document exchange | βοΈ | βοΈ |
| WML | XML-based format for Word documents introduced in Word 2003 | βοΈ | βοΈ |
| DocPreWord60 | Microsoft Word formats older than Word 6.0 | βοΈ | |
| OpenDocument Formats | OpenDocument file formats used by OpenOffice and LibreOffice | ||
| ODT | OpenDocument Text format, used by OpenOffice and LibreOffice | βοΈ | βοΈ |
| OTT | OpenDocument Text template format | βοΈ | βοΈ |
| Web Formats | Formats for web-based document presentation. | ||
| HTML | HyperText Markup Language for web pages | βοΈ | βοΈ |
| MHTML | MIME encapsulation of aggregate HTML documents (web archive format) | βοΈ | βοΈ |
| Text Formats | Plain text format and formats for lightweight markup language text files | ||
| MD | Markdown format for lightweight text-to-HTML conversion | βοΈ | βοΈ |
| TXT | Plain text format | βοΈ | βοΈ |
| DoclingJson | Structured Docling JSON format (developed by IBM) | βοΈ | |
| Fixed-Layout Formats | Formats for fixed-layout document representation | ||
| Portable Document Format, widely used for fixed-layout documents | βοΈ | βοΈ | |
| eBook Formats | Formats used for eBooks | ||
| AZW3 | Amazon Kindle eBook format | βοΈ | βοΈ |
| EPUB | Open standard eBook format | βοΈ | βοΈ |
| MOBI | Mobipocket eBook format | βοΈ | βοΈ |
| CHM | Compiled HTML Help format, used for software documentation | βοΈ | |
| XPS Formats | XML-based formats for document printing and archiving | ||
| XPS | XML Paper Specification format, used for document printing and archivin | βοΈ | |
| OpenXps | Open standard for XPS documents | βοΈ | |
| PostScript Formats | PostScript-based formats for printing workflows | ||
| PS | PostScript format, commonly used for professional printing workflows | βοΈ | |
| EPS | Encapsulated PostScript, a variant of PostScript for images and graphics | βοΈ | |
| Printer Formats | Formats used for direct printing instructions | ||
| PCL | Printer Command Language, used by HP printers | βοΈ | |
| XAML and HTML Fixed Formats | Fixed and flow-layout formats for digital viewing | ||
| XamlFixed | XAML-based fixed layout format for displaying documents | βοΈ | |
| HtmlFixed | HTML-based fixed layout format for displaying documents in web browser | βοΈ | |
| XamlFlow | XAML-based flow layout format for displaying reflowable content | βοΈ | |
| XamlFlowPack | Packaged XAML flow layout format | βοΈ | |
| Image Formats | Formats for converting documents into image representations | ||
| SVG | Scalable Vector Graphics format for vector-based images | βοΈ | |
| TIFF | Tagged Image File Format for high-quality raster images | βοΈ | |
| PNG | Portable Network Graphics format for lossless raster images | βοΈ | |
| BMP | Bitmap format for uncompressed raster images | βοΈ | |
| JPEG | Joint Photographic Experts Group format for compressed raster images | βοΈ | |
| GIF | Graphics Interchange Format, often used for animations and small images | βοΈ | |
| WEBP | Modern image format providing both lossy and lossless compressio | βοΈ | |
| Vector Graphics Formats | Formats for vector graphics | ||
| EMF | Enhanced Metafile format for vector graphics on Windows platform | βοΈ | |
| Spreadsheet Formats | Formats for handling spreadsheet files | ||
| XLSX | Microsoft Excel Open XML spreadsheet format | βοΈ | |
| XML Formats | Custom XML-based formats | ||
| XML | Custom XML-based document format | βοΈ |
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.
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("OutputWordDocument.docx");
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("OutputDocument.pdf");
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("InputWordDocument.docx");
// Save it to HTML format.
doc.Save("OutputHtmlDocument.html");
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("InputDocument.pdf");
// Save it to DOCX format.
pdf.Save("OutputWordDocument.docx");
Document firstDoc = new Document("DocumentA.docx");
Document secondDoc = new Document("DocumentB.docx");
// Create an instance of the specific generative model using the factory method and configure the API key.
AiModel model = AiModel.Create(AiModelType.Gpt4OMini).WithApiKey(apiKey);
Document summary = model.Summarize(firstDoc, new SummarizeOptions() { SummaryLength = SummaryLength.Short });
summary.Save("SummaryA.docx");
Document multiSummary = model.Summarize(new Document[] { firstDoc, secondDoc }, new SummarizeOptions() { SummaryLength = SummaryLength.Long });
multiSummary.Save("SummaryA+B.docx");
Document doc = new Document("Document.docx");
// Instantiates the GoogleAiModel class for the specified generative model identifier and API key.
GoogleAiModel model = new GoogleAiModel("gemini-flash-latest", apiKey);
Document translatedDoc = model.Translate(doc, Language.Arabic);
translatedDoc.Save("AiTranslated.docx");
Product Page | Docs | Demos | API Reference | Examples | Blog | Releases | Free Support | Temporary License
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 is compatible. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net6.0-windows7.0 net6.0-windows7.0 is compatible. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net8.0-windows7.0 net8.0-windows7.0 is compatible. net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 netcoreapp2.0 was computed. netcoreapp2.1 netcoreapp2.1 was computed. netcoreapp2.2 netcoreapp2.2 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 netstandard2.0 is compatible. netstandard2.1 netstandard2.1 was computed. |
| .NET Framework | net35 net35 is compatible. net40 net40 was computed. net403 net403 was computed. net45 net45 was computed. net451 net451 was computed. net452 net452 was computed. net46 net46 was computed. net461 net461 was computed. net462 net462 is compatible. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 was computed. net48 net48 was computed. net481 net481 was computed. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen40 tizen40 was computed. tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
Showing the top 5 NuGet packages that depend on Aspose.Words:
| Package | Downloads |
|---|---|
|
Aspose.Total
Aspose.Total for .NET is the most complete package of all .NET file format APIs offered by Aspose. It empowers developers to create, edit, render, print and convert between a wide range of popular document formats within any .NET, C#, ASP.NET and VB.NET applications. |
|
|
Ewl
The Enterprise Web Library (EWL), together with its tailored infrastructure platform, is a highly opinionated foundation for web-based enterprise software. |
|
|
Aspose.Words.Shaping.HarfBuzz
Aspose.Words.Shaping.HarfBuzz is a .NET wrapper around HarfBuzz shaping engine for use in Aspose.Words. Free support for Aspose.Words for .NET is provided on our support forum: https://forum.aspose.com/ and on StackOverflow: https://stackoverflow.com/questions/tagged/aspose.words |
|
|
GroupDocs.Classification
GroupDocs.Classification for .NET is an easy to use library that allows performing sentiment analysis (classification), document classification, and raw text categorization. Features: * Classifies both raw text and documents with IAB-2, Documents, Sentiment, or Sentiment3 taxonomies. * Sentiment Analysis (Classification) supports Positive/Negative or Positive/Neutral/Negative taxonomies for English, Chinese, German, or Spanish languages. * Returns the probability of each class. Supported document formats: * Microsoft Word documents - DOC, DOT, DOCX, DOCM, DOTX, DOTM, TXT, RTF; * Open Document formats - ODP, ODS, ODT, OTT; * Portable Document Formats - PDF; For more details on the GroupDocs.Classification for .NET API, please visit GroupDocs website at: https://www.groupdocs.com/products/classification/net |
|
|
fion.modelerp.core
ModelErp |
Showing the top 3 popular GitHub repositories that depend on Aspose.Words:
| Repository | Stars |
|---|---|
|
eternalfree/feishu-doc-export
ι£δΉ¦ζζ‘£ε―ΌεΊζε‘
|
|
|
aspose-words/Aspose.Words-for-.NET
Aspose.Words for .NET examples, plugins and showcases
|
|
|
aspose-pdf/Aspose.PDF-for-.NET
Aspose.PDF for .NET examples, plugins and showcase projects
|
| Version | Downloads | Last Updated |
|---|---|---|
| 26.6.0 | 21,979 | 6/4/2026 |
| 26.5.0 | 65,457 | 5/6/2026 |
| 26.4.0 | 121,652 | 4/6/2026 |
| 26.3.0 | 171,269 | 3/9/2026 |
| 26.2.0 | 100,667 | 2/10/2026 |
| 26.1.0 | 151,612 | 1/13/2026 |
| 25.12.0 | 273,192 | 12/4/2025 |
| 25.11.0 | 215,922 | 11/10/2025 |
| 25.10.0 | 288,061 | 10/6/2025 |
| 25.9.0 | 199,260 | 9/5/2025 |
| 25.8.0 | 714,707 | 8/5/2025 |
| 25.7.0 | 356,885 | 7/7/2025 |
| 25.6.0 | 219,903 | 6/6/2025 |
| 25.5.0 | 185,682 | 5/7/2025 |
| 25.4.0 | 454,862 | 4/7/2025 |
| 25.3.0 | 262,647 | 3/6/2025 |
| 25.2.0 | 410,103 | 2/5/2025 |
| 25.1.0 | 522,439 | 1/6/2025 |
| 24.12.0 | 608,439 | 12/6/2024 |
| 24.11.1 | 302,860 | 11/14/2024 |