# Convert PDF to Word in .NET or your browser

Convert readable PDF content into an editable DOCX, retain conversion warnings, and avoid claiming that fixed page geometry becomes the original Word file.

PDF logical import

[Convert PDF to Word in the browser](/browser/pdf-to-word/) [Read the conversion guide](/docs/pdf/conversion/)

PDF to Word summary

**Input**

PDF

**Output**

DOCX

**Package**

[OfficeIMO.Word.Pdf on NuGet](https://www.nuget.org/packages/OfficeIMO.Word.Pdf)

**Runs on**

Browser-local WebAssembly or .NET

**Microsoft Office**

Not required

**License**

MIT

This is a logical-content import, not pixel-perfect reconstruction of the application that created the PDF.

[Browse PDF tools and imports](/pdf/)

Practical steps

## Import PDF logical content into a Word document

Read the PDF, project supported structure into DOCX, and retain every conversion warning.

1. **Select**Choose a readable PDF or load the built-in product sample.
2. **Convert**Project logical PDF content into an editable Word document.
3. **Review**Download the DOCX and companion report, then inspect warnings before delivery.

PDF stores positioned page content, not the original Word paragraphs, styles, sections, and editing history. `OfficeIMO.Word.Pdf` reconstructs supported logical content into a new DOCX and reports approximated, visual-only, truncated, or omitted material.

## Convert from .NET

```csharp
using OfficeIMO.Pdf;
using OfficeIMO.Pdf.Word;

PdfDocument pdf = PdfDocument.Load("report.pdf");
using var document = pdf.ToWord(null, out OfficeConversionReport report);

File.WriteAllBytes("report.docx", document.ToBytes());
foreach (PdfConversionWarning warning in result.Report.Warnings) {
    Console.WriteLine($"{warning.Code}: {warning.Message}");
}
```

The browser route uses the same adapter and downloads both the DOCX and a JSON report with source and output fingerprints, page count, timing, fidelity status, and structured warnings.

## Set the right expectation

Use this route when editable semantic content is more important than recreating every fixed-position detail. Complex columns, unusual font encodings, drawing instructions, and scanned pages may not recover as Word-native structures. Image-only documents need a separate OCR policy before logical import can find text.

## API used on this page

- [`PdfDocument`](/api/pdf/officeimo-pdf-pdfdocument/)
- [`OfficeConversionReport`](/api/core/officeimo-officeconversionreport/)
- [`PdfConversionWarning`](/api/pdf/officeimo-pdf-pdfconversionwarning/)

<!-- PowerForge markdown artifact sha256:F7A94E8F0D8D692018E006A2BC901ECABFF85023E24CA7173AC552352DD303A5 -->
