EpubReader logo with title .NET library for reading EPUB files. [![Build](https://github.com/vers-one/EpubReader/actions/workflows/build.yml/badge.svg)](https://github.com/vers-one/EpubReader/actions/workflows/build.yml) [![Tests](https://github.com/vers-one/EpubReader/actions/workflows/test.yml/badge.svg)](https://github.com/vers-one/EpubReader/actions/workflows/test.yml) [![Test coverage](https://codecov.io/gh/vers-one/EpubReader/branch/master/graph/badge.svg?token=19RoYjPa56)](https://codecov.io/gh/vers-one/EpubReader) [![NuGet](https://img.shields.io/nuget/v/VersOne.Epub.svg)](https://www.nuget.org/packages/VersOne.Epub) Supported EPUB standards: * EPUB 2 (2.0, 2.0.1) * EPUB 3 (3.0, 3.0.1, 3.1, 3.2, 3.3) Supported runtimes: * .NET Standard >= 1.3 (includes .NET Core >= 1.0 and .NET >= 5) * .NET Framework >= 4.6 [Download](#download-the-latest-stable-release) | [Documentation](https://os.vers.one/EpubReader/) | [WPF & .NET 9 console demo apps](#demo-apps) ## EpubReader in a nutshell ![EpubReader in a nutshell](Documentation/images/epubreader-in-a-nutshell.png) ## Demo apps * [Download WPF demo app](https://github.com/vers-one/EpubReader/releases/latest/download/WpfDemo.zip) (WpfDemo.zip) This .NET Framework application demonstrates how to open EPUB books and extract their content using the library. HTML renderer used in this demo app may have difficulties while rendering content for some of the books if the HTML structure is too complicated. * [Download .NET 9 console demo app](https://github.com/vers-one/EpubReader/releases/latest/download/ConsoleDemo.zip) (ConsoleDemo.zip) This .NET 9 console application demonstrates how to open EPUB books and retrieve their text content. ## Examples 1. [How to extract the table of contents.](https://os.vers.one/EpubReader/examples/example-1.html) 2. [How to extract the plain text of the whole book.](https://os.vers.one/EpubReader/examples/example-2.html) 3. [How to iterate over all EPUB files in a directory and gather some stats.](https://os.vers.one/EpubReader/examples/example-3.html) ## Download the latest stable release * [Download from nuget.org](https://www.nuget.org/packages/VersOne.Epub) * DLL file from GitHub: * [for .NET Framework](https://github.com/vers-one/EpubReader/releases/latest/download/VersOne.Epub.Net46.zip) * [for .NET Standard](https://github.com/vers-one/EpubReader/releases/latest/download/VersOne.Epub.NetStandard.zip)