Skip to main content
Any Framework

The Syncfusion® DocumentChunking library is a .NET Standard library that helps split large documents into smaller, meaningful chunks. These chunks make it easier to process, search, index, and use document content in AI-based applications.

Published
Oct 6, 2026
17d ago
Total Downloads
378
378

Install

dotnet add package Syncfusion.DocumentChunking.AspNet.Mvc5 --version 35.1.39

No framework information available.

README

Syncfusion® WinForms Document Chunking Library

The Syncfusion WinForms Document Chunking Library is a structure-aware, high-performance .NET library for extracting and splitting content from Word, PDF, PowerPoint, Excel, and Markdown documents into meaningful, token-bounded chunks.

It is designed for retrieval-augmented generation (RAG), semantic search, vector database indexing, document intelligence, and other AI-powered workflows. The library preserves document structure, metadata, citations, source locations, and parent-child relationships while applying format-specific semantic boundaries.

Using this package with an AI coding agent

Before generating Syncfusion code, ask your AI coding agent to run the Syncfusion setup using the following prompt:

Set up this project for Syncfusion before generating code. Fetch and follow the official instructions at https://ai.syncfusion.com, then report the detected platform, installed skill pack, MCP status, and any required licensing action.

The setup detects your project's platform and loads the appropriate Syncfusion skill pack. No Syncfusion account or MCP key is required to install or read Syncfusion agent skills.

Platform reference: https://ai.syncfusion.com/document-sdk/llms.txt

Key Features
  • Supports Word, PDF, PowerPoint, Excel, and Markdown documents.
  • Accepts file-path and stream inputs.
  • Supports configurable maximum token limits.
  • Supports configurable token overlap between recursively split chunks.
  • Preserves meaningful document structures, including:
    • Titles, headings, sections, paragraphs, lists, and tables.
    • Worksheets, ranges, and cells.
    • Slides, shapes, and notes.
  • Provides format-specific chunking modes for selecting preferred semantic boundaries.
  • Preserves meaningful content when a chunking mode applies a preferred boundary.
  • Recursively splits oversized structures into smaller semantic units while respecting the configured token limit.
  • Generates deterministic document and chunk identifiers suitable for vector database upsert and re-indexing workflows.
  • Provides document-level metadata, including file name, file size, last-modified date, author, and format-specific document properties when available.
  • Provides citation details, including source file, source path, content type, page number, slide number, worksheet name, cell address, heading path, section identifier, and structural coordinates when available.
  • Supports custom token counters through the ITokenCounter interface.
Getting Started

Install the Syncfusion .NET Document Chunking library from the NuGet Package Manager Console:

Install-Package Syncfusion.DocumentChunking.WinForms

You can also install it with the .NET CLI:

dotnet add package Syncfusion.DocumentChunking.WinForms
Chunk a Document from a File Path

Try the following code example to get the generated chunks from Markdown document.

using Syncfusion.DocumentChunking;

ChunkingService chunkingService =
    new ChunkingService();

IChunkingResult result =
    chunkingService.Chunk(
        "../../../Data/TextMarkdown.md",
        new ChunkingOptions
        {
            MaxTokens = 50,
            OverlapTokens = 0,
            IncludeMetadata = true,
            IncludeCitation = true,
            SourceOptions =
                new MarkdownChunkingOptions
                {
                    ChunkingMode =
                        MarkdownChunkingMode.Auto
                }
        });
License

This is a commercial product and requires a paid license for possession or use. Syncfusion's licensed software, including this component, is subject to the terms and conditions of Syncfusion's EULA. You can purchase a license here or start a free 30-day trial here.

About Syncfusion

Founded in 2001 and headquartered in Research Triangle Park, N.C., Syncfusion provides enterprise software components and frameworks for web, mobile, and desktop development, along with document-processing libraries, dashboards, reports, data integration, and related development solutions.

[email protected] www.syncfusion.com Toll Free: 1-888-9 DOTNET

Changes from Previous Version

No structural changes between v35.1.37 and v35.1.39.

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.No target framework metadata is available. Confirm compatibility in a representative project before standardising on this package.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.