
The C# DOCX Library
IronWord is a C# Word DOCx library for generating and editing Word documents in .NET. Its user friendly API allows developers to add Word document processing functionality to .NET projects in minutes.
Add Text
using IronWord;
using IronWord.Models;
// Load docx
WordDocument doc = new WordDocument("document.docx");
// Add text
doc.AddText("Add text using IronWord");
// Export docx
doc.SaveAs("save_document.docx");

A C# Word Library that prioritizes accuracy, ease of use, and speed.
Create and edit DOC & DOCX files. No Office Interop required.
Cross Platform Support
Designed for C#, F#, & VB.NET running on .NET 8, 7, 6, Core, Standard, or Framework

Key Compatibility
.NET Versions
- C#, VB.NET, F# Languages
- .NET Core (8, 7, 6, 5, and 3.1+)
- .NET Standard (2.0+)
- .NET Framework (4.6.2+)
.NET Project Types
- Web (Blazor & WebForms)
- Mobile (Xamarin & MAUI)
- Desktop (WPF & MAUI)
- Console (App & Library)
App Environments
- Windows (10+, Server 2016+)
- Linux (Ubuntu, Debian, CentOS, etc.)
- iOS (12+)
- Android API 21+ (v5 “Lollipop”)
- Docker (Windows, Linux, Azure)
- Azure (VPS, WebApp, Function)
- AWS (EC2, Lambda)
IDEs
- Microsoft Visual Studio
- JetBrains ReSharper & Rider
OS & Processors
- Windows, macOS, Linux, iOS, Android
- x64, x86, ARM
Binary Certification
- DigiCert Signed Binaries
Document Structure
Read & Edit Word
- Extract Text & Images
Edit Page Setup
- Paper Size
- Page Orientation
- Custom Margins
- Background Color
Add Paragraphs
- Add & Remove TextRuns
- Add Images
- Add Shapes
- Set Styling
- Set Alignments (Left, Center, Right & Justified)
- Add Bullets & Numbering Lists
Add Tables
- Add Rows & Columns (Insert Before & After)
- Remove Rows & Columns
- Set & Get Cell Values (index)
- Merge & Split Cells
- Set Borders (Value, Size, Space & Color)
- Set Layout Dimensions
Document Elements
Add TextRuns
- Text Content (Add, Append & Split)
- Set Styling (Font Family & Size, Color, Bold & Italic, Strikethrough, Underline, Superscript & Subscript)
- Embed Images
Add Images
- Load Image (File & FileStream)
- Set Wrap Text
- Set Dimensions (Width & Height)
- Set Position Offset
- Set Distance from Corners
Add Shapes
- Set Shape Type
- Set Wrap Text
- Set Dimensions (Width & Height)
- Set Position Offset
- Set Rotation