EPUB
EPUB is an open W3C format for distributing digital publications as a single file. It packages structured web content–primarily XHTML, CSS, SVG, images and fonts–with metadata, navigation and a defined reading order.
Most EPUB publications are reflowable, allowing a reading system to adapt text to the screen and the reader’s font, spacing and colour preferences. The format also supports fixed layouts, media overlays, scripting, page lists and landmarks, but readers implement those features inconsistently.
Container and Publication Structure
An .epub file is an Open Container Format ZIP archive with the media type application/epub+zip. Its root mimetype file identifies the format, and META-INF/container.xml points to the package document.
The package document contains the publication metadata, a manifest of resources and a spine that defines the default reading order. A separate XHTML navigation document provides the table of contents and can also include page and landmark navigation.
Versions and Compatibility
EPUB 3.3 is the W3C Recommendation as of 13 January 2026. It retains the EPUB 3 package version value 3.0 and supersedes the EPUB 2 specifications. The companion Reading Systems specification requires readers to attempt to process older publications.
EPUB 2 remains common in older libraries and devices. Its NCX table of contents and other legacy package features can be included in EPUB 3 files for compatibility, but new publications should use the EPUB 3 navigation document and current metadata model.
Accessibility
EPUB content uses the accessibility semantics of XHTML, SVG and related web standards. EPUB Accessibility 1.1 adds publication-wide conformance and discoverability requirements, including accessibility metadata, logical reading order and navigation.
EPUBCheck verifies format conformance, and Ace by DAISY reports many accessibility issues. Complete validation also requires testing the publication with representative reading systems and assistive technology.
DRM and Interoperability
EPUB itself does not require digital rights management. Its container supports encryption metadata, but distributors apply mutually incompatible commercial DRM schemes. Those schemes can block copying, text-to-speech or transfer between reading systems even when the underlying EPUB is valid.
DRM-free publications can still render differently because reading systems vary in CSS, font, scripting, fixed-layout and media support. Reflowable XHTML with conservative CSS works across the widest range of readers.
Authoring and Validation
Calibre can convert, inspect and manage EPUB files, while Sigil edits the package and its content directly. A publishing workflow should run EPUBCheck after every structural change, then use Ace and manual accessibility testing.
Since an EPUB is a ZIP archive, ordinary archive tools are useful for inspection, but repackaging must preserve the OCF rules–in particular, mimetype must be the first entry and must remain uncompressed.
Finding Books
Standard Ebooks publishes free, carefully produced public-domain books in EPUB format, with consistent typography, metadata and compatibility across reading systems.
Resources
| Category | Date | Link | Notes |
|---|---|---|---|
| Collections | 2025 | Standard Ebooks | free, carefully produced public-domain books in EPUB format |
| Guides | 2025 | EPUB 3 Overview | non-normative introduction to EPUB 3 |
| Libraries | 2026 | fast-ebook | Rust-powered Python library for reading, writing, validating and converting EPUB 2 and EPUB 3 files |
| Readers | 2024 | Foliate | ebook reader for Linux with EPUB support |
| 2011 | pPub | Python-based EPUB reader | |
| Specifications | 2026 | EPUB 3.3 | W3C authoring and container specification |
| 2024 | EPUB Accessibility 1.1 | accessibility conformance and discoverability requirements | |
| EPUB Reading Systems 3.3 | processing and rendering requirements for reading systems | ||
| Tools | {date:%Y} | Calibre | library management, conversion and inspection |
| Sigil | EPUB editor | ||
| Validation | {date:%Y} | Ace by DAISY | automated accessibility checker for EPUB publications |
| EPUBCheck | official EPUB conformance checker |