News · Microsoft · 2 min read
Event date: · Published:
.NET previews a unified document-extraction API for AI and RAG pipelines
Microsoft previewed Microsoft.Extensions.DocumentExtraction, a new .NET API that converts PDF, scan, image and Office files into structured data for AI and RAG pipelines.
Microsoft previewed Microsoft.Extensions.DocumentExtraction, a new .NET API for converting documents into structured data for AI and RAG pipelines, on November 24, 2026, according to a post on the .NET Blog. The package gives developers a single, provider-agnostic interface for turning PDFs, scans, images and Office files into a structured document tree.
What's new in the preview
- The
Microsoft.Extensions.DocumentExtractionpackage is available as version11.0.0-preview.1.26560.3and requires the .NET 11 SDK. - The
DocumentExtractionClientAPI converts PDFs, scans, images and Office files into a structuredExtractionDocumenttree, capturing sections, text, tables, images and source locations. - Starter extraction providers ship via NuGet under the
CommunityToolkit.DocumentExtractionnamespace. - Supported providers include
PdfPigDocumentExtractionClientfor in-process text-layer PDFs andVisionLanguageModelDocumentExtractionClientfor anyIChatClientthat accepts images. - Cloud provider support covers Azure Content Understanding, Azure AI Document Intelligence and Mistral OCR via Microsoft Foundry or the Mistral API.
- The API integrates with
Microsoft.Extensions.DataIngestionfor chunking andMicrosoft.Extensions.VectorDatafor RAG pipelines.
What it means for AI builders
For .NET developers building AI and RAG pipelines, the new API means they no longer need to write separate integration code for each document source. Because DocumentExtractionClient exposes one interface, teams can swap between Mistral OCR, Azure AI Document Intelligence or a vision-language model without rewriting application code, then feed the resulting document tree straight into chunking and vector storage.
Availability
The package is currently in preview and requires the .NET 11 SDK to run. Starter providers, including the local PDF and vision-language model clients, are distributed separately through NuGet under the CommunityToolkit.DocumentExtraction namespace, alongside the cloud options for Azure and Mistral OCR.
Sources
- Introducing DocumentExtractionClient (preview): Extract documents in .NET (Microsoft (.NET Blog), November 24, 2026, official)
Written with AI assistance, strictly from the sources listed above. Before it went live, automated checks verified its dates, sources and every language edition.