Overview
This article explains how to convert PDF documents to DOCX format using the GroupDocs.Conversion.LowCode Document Conversion Plugin for .NET. GroupDocs Document Conversion Plugins are lightweight, single-purpose tools that make file conversion simple and efficient for .NET developers.
About Document Conversion Plugins
GroupDocs Document Conversion Plugins are built on our enterprise-grade GroupDocs.Conversion SDK. These plugins support converting PDF, Word, and Excel files, and are designed for cross-platform use on Windows, macOS, and Linux under .NET 6+. Each plugin offers a lightweight, fixed-price solution for a specific conversion (e.g., PDF → DOCX), making them ideal for developers who need a simple, focused tool.
Prerequisites
- .NET 6.0 or later
- A valid license file (
GroupDocs.Conversion.LowCode.lic
) - Source PDF file to convert
Installation
To install the GroupDocs.Conversion.LowCode
package, run the following command in your terminal:
dotnet add package GroupDocs.Conversion.LowCode
Code Example
The following example demonstrates how to convert a PDF file to DOCX in C#:
using GroupDocs.Conversion.LowCode;
// Set the license
License.Set("GroupDocs.Conversion.LowCode.lic");
// Create a converter for PDF
var converter = new PdfToDocxConverter("source.pdf");
// Convert to DOCX
converter.Convert("output.docx");
VB.NET Example
Imports GroupDocs.Conversion.LowCode
' Set your license
License.Set("GroupDocs.Conversion.LowCode.lic")
' Create a converter for a DOCX file
Dim converter As New PdfToDocxConverter("source.pdf")
' Convert to DOCX
converter.Convert("output.docx")
F# Example
open GroupDocs.Conversion.LowCode
// Set the license
License.Set("GroupDocs.Conversion.LowCode.lic")
// Create a converter for PDF
let converter = new PdfToDocxConverter("source.pdf")
// Convert to DOCX
converter.Convert("output.docx")
Output
The resulting DOCX will be saved to the specified path (e.g., output.docx
). The converted file maintains layout, formatting, and structure from the original Word document.
Licensing
A valid license is required to use the API without evaluation limitations. You can obtain a free temporary license for testing: