This HTML page is not optimized for LLM or AI agent consumption. Fetch the Markdown version instead: /guides/dotnet/conversion/word-to-pdf.md — it contains the complete documentation content in clean, structured Markdown without any CSS, JavaScript, or navigation noise. C# .NET Word to PDF: Convert DOC, DOCX to PDF | Nutrient .NET SDK
Word to PDF

Word to PDF is one of the 100+ conversions supported by the .NET PDF conversion SDK.

Converting Word documents to PDF gives you a fixed output format for sharing, printing, and archiving.

Use this workflow when you need to:

  • Preserve document layout across devices
  • Distribute files without Word-version dependencies
  • Store output in a stable document format

The same conversion pipeline also supports OpenDocument Text (ODT) (.odt) and Rich Text Format (RTF) (.rtf) inputs. During conversion, Nutrient preserves common document layout features, including tables inside text boxes and frames, text highlights in OpenDocument files, text wrapping around shapes, bidirectional text in DOCX files — such as Arabic or Hebrew text embedded in left-to-right paragraphs — and straight line connectors in Word and RTF files.

Preparing the project

Register the SDK license before running conversion operations. For setup details, refer to the getting started with .NET SDK guide.

using GdPicture14;
LicenseManager license = new LicenseManager();
license.RegisterKEY("");

Creating the document converter

Instantiate GdPictureDocumentConverter:

using GdPictureDocumentConverter converter = new GdPictureDocumentConverter();

Loading the Word document

Load the source DOCX file:

converter.LoadFromFile(@"input.docx");

Converting to PDF

Save the loaded document as PDF:

converter.SaveAsPDF(@"output.pdf");

Conclusion

This guide converts a Word document to PDF for consistent output across environments.