Skip to content
pubscout

epub_plus

5.1.0, released a year ago by 4akloon.tech

Epub parser and writer for Dart, usable on server, web, and Flutter.

WASM-ready
$ flutter pub add epub_plus
Source repository

What it does

It can read an EPUB file into memory, expose metadata, chapters, images, and other resources, and write an EPUB back to bytes. The API is synchronous and null‑safe.

AI-written summary of version 5.1.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to parse or generate EPUB files in a Dart/Flutter app.
  • You want a pure Dart solution that works on web and desktop without dart:io dependencies.

Skip it when

  • You need a fully featured e‑book reader UI; this package only provides data, not widgets.
  • You require advanced DRM or encryption support not covered by the parser.

Strengths

  • Pure Dart, no dart:io, works on web, desktop, and Flutter.
  • Supports EPUB 3 and null‑safe API.
  • Provides access to all book resources (images, CSS, fonts).

Weaknesses

  • No UI components for displaying books.
  • Limited to parsing/writing; no navigation or rendering helpers.

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
5

Add to pubspec dependencies; no special permissions or build_runner needed.

```dart
final bytes = await File('sample.epub').readAsBytes();
final book = await EpubReader.readBook(bytes);
print(book.title);
```

Alternatives

Packages that do the same job and could replace epub_plus.

  • epubx

    Epub Parser for Dart. Epub package fork. Suitable for use on the Server, the Web, or in Flutter

  • fast_csv

    Classic CSV parsers suitable for most use cases with experimental event-based streaming.

Works with

Packages commonly used together with epub_plus: ones it builds on, ones built on it, and its own family.