Document formatsince 2007

.epubElectronic Publication

The open ebook format used by many readers, stores, and publishing workflows.

Extensions
.epub
MIME
application/epub+zip
Standard
W3C EPUB
Released
2007

About this format

EPUB packages HTML, CSS, images, metadata, and navigation into a zip-based ebook. It is designed for reflowable reading, though fixed-layout EPUB also exists.

Use EPUB for ebooks that should adapt to screen size. Use PDF when page fidelity matters more than reading comfort.

Real-world samples & file sizes

Four real EPUB3 files downloaded from Project Gutenberg. Each card previews the embedded cover extracted from the same .epub package, so the visual and downloadable file stay tied together.

Alice's Adventures EPUB sample preview for EPUB3 / 350 x 500 cover
illustratedEPUB3 / 350 x 500 cover

Alice's Adventures EPUB

An illustrated EPUB3 file with its embedded cover extracted for preview.

1.41 MB epub.epub
Project Gutenberg · Project Gutenberg License
Frankenstein EPUB sample preview for EPUB3 / 1824 x 2726 cover
novelEPUB3 / 1824 x 2726 cover

Frankenstein EPUB

A compact reflowable EPUB3 novel with a high-resolution cover image inside the package.

463 KB epub.epub
Project Gutenberg · Project Gutenberg License
Moby-Dick EPUB sample preview for EPUB3 / 780 x 1227 cover
classicEPUB3 / 780 x 1227 cover

Moby-Dick EPUB

A long text-heavy EPUB3 file useful for navigation, metadata, and reflow testing.

794 KB epub.epub
Project Gutenberg · Project Gutenberg License
Romeo and Juliet EPUB sample preview for EPUB3 / 1498 x 2250 cover
dramaEPUB3 / 1498 x 2250 cover

Romeo and Juliet EPUB

A smaller EPUB3 play sample with an embedded portrait cover.

333 KB epub.epub
Project Gutenberg · Project Gutenberg License

Pros

  • +Reflows across screen sizes
  • +Open publishing standard
  • +Good metadata and navigation support

Cons

  • Layout can vary by reader
  • DRM and store requirements differ
  • Complex books need testing on real devices

EPUB vs other formats

vsSizeQualityNote
PDFUsually smallerReflowable rather than fixedEPUB is better for reading; PDF is better for exact pages.
MOBIVariesModern EPUB is more openMOBI is older and Kindle-specific historically.

Where it works

Operating systems
  • iOS Books
  • Android readers
  • desktop reader apps
Browsers
  • Browsers need an EPUB reader app or JavaScript reader
Apps
  • Apple Books
  • Kobo
  • Calibre
  • Thorium Reader
  • Google Play Books

Frequently asked questions

Is EPUB better than PDF for books?
For reading on phones and ereaders, usually yes. EPUB reflows text; PDF preserves fixed pages.
Can browsers open EPUB directly?
Not as a native media type in normal browsing. Use an EPUB reader or web app.

Sources

Other document formats