IRONSOFTWAREHOME

The C# DOCX Library

Go beyond basic DOCX editing. Get programmatic DOCX generation for .NET 10 with full control over formats, editing, styling without Office Interop.

  • Create DOCX files with tables, lists, images, and templates
  • Edit files programmatically: find, replace, extract content
  • Style with fonts, colors, gradients, shadows, etc.
  • Free 30-day trial, full features, no credit card
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");
NuGet Downloads Badge
PM >Install-Package IronWord

Cross Platform Support

Designed for C#, F#, & VB.NET running on .NET 10, 9, 8, 7, 6, 5, Core, Standard, or Framework

NET Logo
Visual Studio Logo
NuGet Logo
ReSharper
Windows Logo
Linux Logo
Mac Logo
Docker Logo
Azure Logo
AWS Logo

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.

Get your free 30-day Trial Key instantly.

Compatibility

.NET Versions

  • C#, VB.NET, F# Languages
  • .NET Core
  • .NET Standard
  • .NET Framework

.NET Project Types

  • Web
  • Mobile
  • Desktop
  • Console

App Environments

  • Windows
  • Linux
  • iOS
  • Android
  • Docker
  • Azure
  • AWS

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
  • Add Bullets & Numbering Lists

Add Tables

  • Add Rows & Columns
  • Remove Rows & Columns
  • Set & Get Cell Values
  • Merge & Split Cells
  • Set Borders
  • Set Layout Dimensions

Document Elements

Add TextRuns

  • Text Content
  • Set Styling
  • Embed Images

Add Images

  • Load Image
  • Set Wrap Text
  • Set Dimensions
  • Set Position Offset
  • Set Distance from Corners

Add Shapes

  • Set Shape Type
  • Set Wrap Text
  • Set Dimensions
  • Set Position Offset
  • Set Rotation

Why IronWord

Create and edit .docx in C#. Deploy to Windows, Linux, macOS, Docker, iOS, and Android without Office Interop.

Click to view video about Why IronWord?

Full DOCX control

  • Create, load, and edit .docx files: paragraphs, TextRuns, tables, images, shapes, lists.
  • Page setup, margins, orientation, sections, headers, and styling at the run level.
  • Save to file, MemoryStream, or byte[] - no disk write required for HTTP delivery.

Up & running in 5 mins

  • PM > Install-Package IronWord

    → 5-minute quick starts.
  • Simple API: new WordDocument("file.docx"), doc.AddText(), doc.SaveAs().
  • Smart defaults: handles malformed documents gracefully, no Office Interop, no Word install.

Enterprise performance

  • .NET 10, Core, Standard, or Framework
  • C#, VB.NET, F# supported. DigiCert signed binaries. Thread-safe for concurrent server processing.
  • Deploys anywhere: Windows, Linux, macOS, iOS, Android, Docker, Azure, AWS.
Supported platforms

Precise document structure

  • TextRun-level control: fonts, colors, bold, italic, strikethrough, superscript/subscript.
  • Tables with merge/split cells, custom borders, shading, and column widths.
  • Images and shapes with wrap text, dimensions, position offset, and rotation.

Developer-first support & licensing

  • Perpetual license: buy once, use forever. Optional updates and renewals.
  • 24/5 engineer support (24/7 in Premium). Real humans, median chat response <1 min.
  • 30-day money-back guarantee. Not the right fit? Full refund, no questions.

For builders

  • Features you'll actually use:
    • create/edit DOCX
    • tables (merge, borders)
    • images & shapes
    • page setup (size, margins)
    • sections & headers
    • TextRun styling
    • bullet & numbered lists
    • find, replace, extract
    • MemoryStream / byte[] output
    • malformed-doc handling
  • Works everywhere: Windows, Linux, macOS, iOS, Android, Docker, Azure, AWS.

For buyers

  • Trusted by thousands of engineers across the Iron Suite.
  • No Microsoft Office or Office Interop required.
  • Mobile-ready: Xamarin and MAUI support out of the box.
  • Procurement-friendly: perpetual license, optional renewals, invoice available, multiple payment options (incl. local: Amazon Pay, Alipay, Apple Pay, iDEAL, SEPA, ACH).
  • 30-day money-back guarantee.

Every time developers ask, it's a YES! from IronWORD

Can IronWord create, load, and edit .docx files without Microsoft Office or Office Interop installed?YES!

Is it fully cross-platform across all major .NET versions on Windows, Linux, macOS, Docker, and Azure?YES!

Can text styling (fonts, sizes, colors, strikethrough, bold/italic) be controlled at the run level?YES!

Are there full APIs for building and editing tables, including cell merging, borders, shading, and column widths?YES!

Can images be inserted from files or streams with control over dimensions and alignment?YES!

Does it support granular content insertion and editing via individual TextRuns and Paragraphs?YES!

Can documents be saved to MemoryStream or byte[] for HTTP delivery without writing to disk?YES!

Does it support multiple document sections with distinct page layouts in a single file?YES!

Can bullet and numbered lists be created with custom indentation and nesting?YES!

Is the license server-side friendly, supporting concurrent processing without threading limitations?YES!

Does it handle malformed documents gracefully to prevent crashes during batch processing?YES!

Can I test IronWord in my live project for free now?YES! Click here to start your 30-day free trial

World-Class Engineering,
24-Hour Support

Ready to Get Started?

Nuget Downloads 56,401Version:2026.9just released

Get your free 30-day Trial Key instantly.
No credit card or account creation required
Key in blue circle

Get your free 30-day Trial Key instantly.

Your trial license will be sent to your email address

No limitations. 100% unlocked. No credit card.

bullet_checkedNo credit card or account creation requiredNo limitations. 100% unlocked. No credit card.
  • Logo Aetna
  • Logo NASA
  • Logo GE
  • Logo Porsche
  • Logo USDA
  • Logo Qatar
Join Millions of Engineers who’ve tried IronPDF
Get Your No-Obligation Consult
Complete the form below or email sales@ironsoftware.com
Your details will always be kept confidential.
Trusted by Millions of Engineers Worldwide
Iron Software's customer logos
Get your free 30-day Trial Key instantly.
No credit card or account creation required