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");
Designed for C#, F#, & VB.NET running on .NET 9, 8, 7, 6, Core, Standard, or Framework
A C# Word Library that prioritizes accuracy, ease of use, and speed.
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.
Create and edit DOCX files. No Office Interop required.
IronWord Release Version 2025.5Features & UpgradesSee what's new
Compatibility
.NET Versions
C#, VB.NET, F# Languages
.NET Core (9, 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)