Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
D

DocX

> 编程语言
Open source

Fast and easy to use .NET library that creates or modifies Microsoft Word files without installing Word.

1.9K stars0 likes2 views
WebsiteGitHub

About

Fast and easy to use .NET library that creates or modifies Microsoft Word files without installing Word.

## What is DocX? DocX is a .NET library that allows developers to manipulate Word 2007/2010/2013 files, in an easy and intuitive manner. DocX is fast, lightweight and best of all it does not require Microsoft Word or Office to be installed. **NOTE:** There is a new Master branch as of Oct. 3, 2017. Please read about the [Classic branch](../../wiki/Classic-Branch) if you were using this project before the change. DocX is the free, open source version of [Xceed Words for .NET](https://xceed.com/xceed-words-for-net). Originally written by Cathal Coffey, and maintained by Przemyslaw Klys, it is now maintained by Xceed. Starting at v1.5.0, this free and open source product is provided under the Xceed Community License agreement(for non-commercial use). Currently, the differences between DocX and Xceed Words for .NET, is that Xceed Words for .NET : * can convert a Word document to PDF * adds properties to wrap text around Pictures/Tables/Shapes * adds Picture cropping * adds Shapes (rectangles for now) * adds TextBoxes or Shapes containing Text * gets Shapes from Paragraphs * gets Charts from Paragraphs and can modify their categories/values * More properties in Charts configuration like axis Label position and series width * is at least two versions ahead of the DocX version * has professional technical support included in the subscription * can automatically update fields from a document * Insert html/rtf text (with tags), or html/rtf document, to a Word document * Clone lists or tables * Add or modify checkboxes * Set transparency in pictures * Create formatted hyperlinks based on a referenced hyperlinks * Joining 2 documents gives the opportunity to choose the headers/footers of doc1, doc2 or both of them in the resulting document. * Automatic hyphenations and configurable hyphenations * Digital signatures can be added to documents in the .NET Framework environment * Add footnotes and endnotes * ListOptions for List level configurations * Modify Chart's Series Marker and DataPoint styles * Insert a document at a specific point in another document * Wrap text around Charts * Format Charts Axis' title * Replace text with html * Use many charts like AreaChart, BubbleChart, ScatterChart, SunbursChart and more. * Add or Remove Watermarks * Split Documents * Add Comments to a document * Load a txt document or Save to a txt document * Insert or replace content with HTML ## What else do I need? All that you need to install in order to use DocX is the [.NET framework 4.0](http://www.microsoft.com/downloads/en/details.aspx?FamilyID=9cfb2d51-5ff4-4491-b0e5-b386f32c0992&displaylang=en) or .NET5+ and [Visual Studio 2010](http://www.microsoft.com/express/Downloads/) or later, both of which are free. ## What are the main features of DocX?
Edition DocX Xceed Words for .NET
Price Free $669.95
License Xceed Community License Proprietary
Email support YES
Create new Word documents YES YES
Modify Word documents YES YES
Create new PDF documents YES
Convert Word to PDF YES
Supports .DOCX from Word 2007 and up YES YES
Modify multiple documents in parallel for better performance YES YES
Apply a template to a Word document YES YES
Join documents, recreate portions from one to another YES YES
Supports document protection with or without password YES YES
Set document margins and page size YES YES
Set line spacing, indentation, text direction, text alignment YES YES
Wrap text around pictures YES
Pictures with cropping YES
Manage fonts and font sizes YES YES
Set text color, bold, underline, italic, strikethrough, highlighting YES YES
Set page numbering YES YES
Create sections YES YES
Available on .net for .net 5+ applications YES YES
Works on Windows/Linux/Mac/iOS/Android YES YES
Update document fields (ex: a table of contents) by calling only one method YES
Wrap text around tables YES
Wrap text around shapes YES
Create shapes (rectangles for now) YES
Create textboxes or shapes containing text YES
Get shapes from paragraphs YES
Get charts from paragraphs and modify their categories/values YES
Update document fields with 1 method call YES
Insert html/rtf text (with tags), or html/rtf document, to a Word document YES
Clone lists or tables YES
Add or modify checkboxes YES
Set transparency in pictures YES
Create formatted hyperlinks based on a referenced hyperlinks YES
Joining 2 documents gives the opportunity to choose which headers/footers to use YES
More properties to configure Charts YES
Automatic Hyphenations and configurable hyphenations YES
Digital signatures in .NET Framework YES
Add footnotes and endnotes YES
ListOptions for List level configurations YES
Modify Chart's Series Marker and DataPoint styles YES
Insert a document at a specific point in another document YES
Wrap text around Charts YES
Format Charts Axis' title YES
Work with more Chart types YES
Replace text with html YES
Add or remve watermarks YES
Split Documents YES
Add Comments to a document YES
Load a txt document or Save to a txt document YES
Insert or replace content with HTML YES
Get release ahead YES
**Supported Word document elements** * Add headers or footers which can be the same on all pages, or unique for the first page, or unique for odd/even pages. Can contain images, hyperlinks and more. * Insert/Modify paragraphs. * Insert/Modify numbered or bulleted lists. * Insert/Modify images. Flip, rotate, copy, modify, resize. * Insert/Modify tables. Insert/Remove rows, columns, change direction, column width, row height, borders, merge/delete cells. * Insert/Modify formatted equations or formulas. * Insert/Modify bookmarks. * Insert/Modify hyperlinks. * Insert/Modify horizontal lines. * Insert/Modify charts (bar, line, pie, 3D chart). Set colors, titles, legend, etc. * Find, remove or replace text. Supports case sensitivity and regular expressions. * Insert/Modify core or custom properties, such as author, address, subject, title, etc. * Insert a Table Of Contents. Set title, change formatting. ## Why would I use DocX? DocX makes creating and manipulating documents a simple task. It does not use COM libraries nor does it require Microsoft Office to be installed. The following [blog post](http://cathalscorner.blogspot.com/2010/06/cathal-why-did-you-create-docx.html) from Cathal Coffey compares the code used to create a HelloWorld document using: 1. Office Interop libraries, 2. OOXML SDK, 3. DocX ## Advanced Examples 1. Step by step guide to create an invoice for a company. http://cathalscorner.blogspot.com/2009/08/docx-v1007-released.html 2. Replace text across many documents in Parallel. http://cathalscorner.blogspot.com/2010/12/replace-text-across-many-documents-in.html 3. Programmatically manipulate an Image imbedded inside a document. http://cathalscorner.blogspot.com/2010/12/programmatically-manipulate-image.html 4. Converting DocX into (.doc, .pdf, .html) http://cathalscorner.blogspot.com/2009/10/converting-docx-into-doc-pdf-html.html Do you have an interesting or informative example that you would like to share? If you do, please email me. ## License Information DocX is provided under the Xceed Software, Inc. Community License. [](license.md) More information can be found in the [License](license.md) page. A commercial license can be purchased at [Xceed](https://xceed.com). ## Release history * **June 11, 2026, released DocX v5.2.0 with [6 bug fixes and improvements](../../wiki/Release-Notes-v5.2.0).** * March 16, 2026, released [Xceed Words for .NET](https://xceed.com/xceed-words-for-net) v5.2.0 Service release with [10 bug fixes and improvements](../../wiki/Release-Notes-v1.2.0#Plus520). * December 8, 2025, released [Xceed Words for .NET](https://xceed.com/xceed-words-for-net) v5.2.0 with [37 bug fixes and improvements](../../wiki/Release-Notes-v1.2.0#Plus520). * September 9, 2025, released [Xceed Words for .NET](https://xceed.com/xceed-words-for-net) v5.1.0 with [19 bug fixes and improvements](../../wiki/Release-Notes-v1.2.0#Plus510). * **September 9, 2025, released DocX v5.0.0 with [8 bug fixes and improvements](../../wiki/Release-Notes-v5.0.0).** * April 28, 2025, released [Xceed Words for .NET](https://xceed.com/xceed-words-for-net) v5.0.0 with [20 bug fixes and improvements](../../wiki/Release-Notes-v1.2.0#Plus500). * **March 10, 2025, released DocX v4.0.0 with [20 bug fixes and improvements](../../wiki/Release-Notes-v4.0.0).** * February 3, 2025, released [Xceed Words for .NET](https://xceed.com/xceed-words-for-net) v4.0.0 with [39 bug fixes and improvements](../../wiki/Release-Notes-v1.2.0#Plus400). * **July 5, 2024, released DocX v3.0.1 with [6 bug fixes and improvements](../../wiki/Release-Notes-v3.0.1).** * March 4, 2024, released [Xceed Words for .NET](https://xceed.com/xceed-words-for-net) v3.0.1 with [17 bug fixes and improvements](../../wiki/Release-Notes-v1.2.0#Plus301). * **January 22, 2024, released DocX v3.0.0 with [14 bug fixes and improvements](../../wiki/Release-Notes-v3.0.0).** * October 23, 2023, released [Xceed Words for .NET](https://xceed.com/xceed-words-for-net) v3.0.0 with [21 bug fixes and improvements](../../wiki/Release-Notes-v1.2.0#Plus300). * **August 11, 2023, released DocX v2.5.0 with [11 bug fixes and improvements](../../wiki/Release-Notes-v2.5.0).** * April 3, 2023, released [Xceed Words for .NET](https://xceed.com/xceed-words-for-net) v2.5.0 with [31 bug fixes and improvements](../../wiki/Release-Notes-v1.2.0#Plus250). * **November 28, 2022, released DocX v2.4.0 with [14 bug fixes and improvements](../../wiki/Release-Notes-v2.4.0).** * October 5, 2022, released [Xceed Words for .NET](https://xceed.com/xceed-words-for-net) v2.4.0 with [32 bug fixes and improvements](../../wiki/Release-Notes-v1.2.0#Plus240). * **September 15, 2022, released DocX v2.3.0 with [7 bug fixes and improvements](../../wiki/Release-No

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

C#c-sharpdocxmicrosoft-wordoffice

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言