What is an EPUB file?

EPUB is the standard e-book format. It is a ZIP package of web pages, styles and images that reflows to the screen size. Most e-readers, phones and reading apps open it.

Drop your file here

or select file

Images, video, audio, documents, data, archives, fonts and more.

About EPUB file:

01EPUB at a glance

Full name
Electronic Publication
Type
ZIP package of XHTML, CSS and images for e-books
Extension
.epub
MIME type
application/epub+zip
First bytes (hex)
50 4B 03 04 (the letters PK, a ZIP file)
Standard
W3C. The current version is EPUB 3.3

02What is an EPUB file

EPUB is the standard e-book format. It is maintained by the W3C and read by Apple Books, Kobo, Google Play Books, Calibre and most reader apps. The text reflows to fit the screen, so the reader can change the font size and the margins.

An EPUB is a ZIP archive. The first entry is a small file called mimetype with the text application/epub+zip. A file called container.xml points to the package file, which lists the chapters, the cover, the images, the fonts and the order of reading. The chapters are XHTML files, and the style is CSS.

EPUB 3 also has a fixed-layout mode, where pages keep their size. It is used for picture books and comics. The default, reflowable mode has no pages and no page size, so an EPUB cannot be printed like a page of a document.

An EPUB can have DRM, which locks the book to one reader app. Many apps cannot open protected files, so a reader may not be able to open them.

03Good and bad sides

Good

  • Standard format for e-books, supported by most reader apps
  • Text adapts to any screen and font size
  • Open format maintained by the W3C

Bad

  • No fixed pages in the default mode, so not made for print
  • Different readers show the design slightly differently
  • DRM can stop buyers from opening the file
  • Making a good EPUB needs a special tool or careful export

04Best for

  • Books and long texts for screens

    This is what EPUB is made for. The text adjusts to any screen and font size.

05How to open it

Windows
Calibre, Thorium Reader, Adobe Digital Editions
macOS
Apple Books, Calibre
iPhone and iPad
Apple Books, Kobo, Google Play Books
Android
Google Play Books, Kobo, Moon+ Reader
E-readers
Kobo and most e-readers. Kindle accepts EPUB through Send to Kindle

06Convert and compare

Related formats: PDF, HTML, TXT

Sources