Awesome Hedgehog is now Peel. What changes

Glossary

EPUB

EPUB: An open file format for ebooks. An EPUB file is a zip archive of web pages (XHTML), style sheets, images and a package file that sets the reading order.

Also called Electronic publication, .epub file, EPUB 3.

EPUB is the most common ebook format outside Amazon's own store. Publishers, libraries and most reading apps use it. The name is short for "electronic publication", and the files end in .epub.

How an EPUB file works

An EPUB is a small website packed into one file. The W3C EPUB 3.3 specification defines it as a ZIP-based archive. Inside you find:

  • Content documents. The text, usually one XHTML file per chapter. XHTML is the strict XML form of HTML.
  • Style sheets and media. CSS sets the fonts and spacing. Images, and sometimes audio or video, sit beside the text.
  • A package document. It lists the title, the author, every file in the book and the "spine", which is the order in which the chapters are read.
  • A mimetype file and a META-INF folder. They tell a reading app that the file is an EPUB and where to find the package document.

Because the content is web pages, an EPUB gets web features for free. You can search and select the text, follow links, use the table of contents and change the font size.

Reflowable and fixed layout

Most EPUBs are reflowable. The text flows to fit the screen, and you choose the font and size. That is why the same novel reads well on a phone and on a tablet.

Fixed-layout EPUBs keep every page exactly as designed. Picture books, comics and cookbooks often use them. A PDF works the same way: its pages are fixed, so on a phone you zoom and scroll.

Who maintains EPUB

The International Digital Publishing Forum (IDPF) created EPUB. The Library of Congress format record dates EPUB 2 to 2007 and EPUB 3 to October 2011. The IDPF merged into the World Wide Web Consortium (W3C) in 2017. EPUB 3.3 became a W3C Recommendation in May 2023, and the W3C still maintains it.

Where EPUB files open

Most ebook apps and e-readers open EPUB, including Apple Books on iPhone. Amazon's Kindle uses its own formats, but its Send to Kindle service accepts EPUB files.

The format is open, but a single file can still be locked. Many stores add DRM, which encrypts the book so that only their own apps can open it. A DRM-free EPUB opens in any EPUB app. Free sources of DRM-free EPUBs include public domain libraries such as Project Gutenberg and Standard Ebooks. See where to find free ebooks.

In Peel

You can share a DRM-free EPUB to Peel from the Files app or any app with a share sheet. If the book has more than 15,000 words, Peel turns it into a series of stories that follow its chapters, one part at a time. Shorter files stay one story. Copy-protected EPUBs do not work, and that includes Kindle books and books bought in Apple Books. Files can be up to 20 MB. See book summaries and how to summarize a book on iPhone.