Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

EPUB extraction engine

OfficeIMO.Epub

Extract EPUB metadata, spine-ordered chapters, navigation, and bounded resources for indexing and ingestion. Compare packages, examples, and limits.

MIT licensed No Office required Cross-platform .NET
Install dotnet add package OfficeIMO.Epub

Start with a working example

Find the input, generated output, and source for the document workflow you need.

Browse document examples →

EPUB ingestion without a browser engine

OfficeIMO.Epub reads the EPUB container, OPF package, navigation, spine, chapters, and resource metadata. It returns deterministic, typed results for search, indexing, migration, and content analysis.

using OfficeIMO.Epub;

EpubDocument book = EpubDocument.Load("handbook.epub", new EpubLoadOptions {
    PreferSpineOrder = true,
    MaxChapters = 100
});

foreach (EpubChapter chapter in book.Chapters) {
    Console.WriteLine($"{chapter.Order}: {chapter.Title}");
    Console.WriteLine(chapter.Text);
}

Useful for

  • Building a searchable catalog from EPUB title, creator, language, navigation, and chapter text.
  • Reading resource metadata without loading every payload into memory.
  • Resolving chapter-relative references without network or filesystem access.
  • Feeding EPUB into OfficeIMO.Reader.Epub for normalized chunks and rich extraction results.
  • Rendering EPUB content through focused HTML/Drawing adapters when a visual preview is needed.

The parser is read-only. It does not bypass DRM, execute scripts, perform browser layout, or mutate the package. See the EPUB extraction guide for bounded resource and Reader examples.

Same engine, other surfaces

Use OfficeIMO another way

Next step

Turn the package into a working document.

Follow a focused guide and inspect the API reference for this package.

Example source