FileKiwi

Guides6 min read

What Is an EPUB File? Open, Read and Convert Ebooks

EPUB is the open ebook format behind most digital books. What is inside an EPUB file, how to open one on any device, EPUB vs PDF, and how to turn a DRM free ebook into a PDF.

An EPUB file is an ebook saved in EPUB, the open format that most ebook stores, libraries and reading apps use. It is what you usually get when you download a book from an online bookstore or a free classics site, and its text reflows to fit any screen, from a phone to a tablet or an ereader.

Here is what is inside an EPUB, how to open one on every device, how it compares with PDF and how to turn it into a PDF when you need fixed pages.

What is an EPUB file?

EPUB is short for electronic publication. An .epub file is really a ZIP archive with a fixed structure. Inside are the chapters as web pages (XHTML), style sheets (CSS), images, sometimes fonts, and a few small files that tell the reading app the title, the author and the reading order.

Because it is built from web technology, an EPUB behaves more like a website than like a printed page. The reading app decides where each line breaks, based on the screen size and the font size you choose.

Look inside an EPUB yourself

Make a copy of a DRM free EPUB, rename the copy from .epub to .zip and open it. You will find a tiny file named mimetype, a container file that points to the package, an OPF package file with the book's details and reading order, and the chapter files with their images. It is a neat way to see that an ebook is a small website in a box.

EPUB to PDF

Turn DRM free ebooks into a PDF you can print. Free, no signup.

Open tool

A short history of the EPUB format

EPUB was created by the International Digital Publishing Forum (IDPF), a trade group of publishers and technology companies. The first version appeared in 2007 and replaced an older ebook format called Open eBook.

EPUB 3 followed in 2011. It moved the format to HTML5 and added audio, video, math, read aloud features and better support for languages written right to left or vertically.

In 2017 the IDPF merged into the World Wide Web Consortium (W3C), the group behind web standards, which now maintains EPUB. The current version, EPUB 3.3, became a W3C Recommendation in May 2023. Reading apps still open older EPUB 2 files as well.

Reflowable and fixed layout EPUBs

There are two kinds of EPUB books, and the difference explains most surprises when reading or converting them.

  • Reflowable (most novels and nonfiction): the text adapts to the screen. Make the font bigger and the number of pages grows. There are no fixed page numbers, though some books include a list of the print edition's page numbers for reference.
  • Fixed layout (picture books, comics, cookbooks, heavily designed textbooks): every page is designed like a printed page, with text and pictures in exact positions. You zoom instead of changing the font size.

Reflowable books are the normal case. If you open an EPUB and the font size buttons do nothing, it is probably a fixed layout book.

How to open an EPUB file on any device

iPhone and iPad

The Books app reads EPUB files. In the Files app, touch and hold the EPUB, tap Share and choose Books. From Mail or Safari, tap the file and use the Share button the same way.

Mac

Double click the EPUB and it opens in Books, which adds it to your library. With iCloud Drive turned on for Books, the book can also appear on your iPhone and iPad.

Android

  1. Download the EPUB to your phone.
  2. Open your Files or Downloads app and find the file.
  3. Tap More, then Open with, and choose Play Books or Upload to Play Books.
  4. Find the book in Play Books under Library, then Uploads.

Google describes the details on its help page about uploading PDF and EPUB files to Play Books. Many other free reader apps on Google Play open EPUB files too.

Windows 11

Windows 11 has no built in EPUB reader, and the current Microsoft Edge does not open EPUB files. Install a free ebook reader from the Microsoft Store, or the free desktop app Calibre, which reads and organizes EPUB libraries. Another route is to upload the book to Google Play Books in your browser.

Kindle and other ereaders

Kobo and most other ereaders open EPUB files directly. Kindle devices do not read EPUB files as they are, but Amazon's Send to Kindle service accepts EPUB and converts the book for your Kindle library.

EPUB vs PDF: which is better?

FeatureEPUBPDF
LayoutReflows to fit the screen (or fixed layout)Fixed pages
Reading on a phoneComfortable, text adjusts to the screenOften needs zooming and scrolling
Font and text sizeThe reader choosesSet when the file is made
Page numbersChange with screen and font sizeSame for everyone
PrintingNot designed for itPrints exactly as shown
Opens onEbook apps and ereadersEvery computer, phone and browser
Typical useNovels, ebooks, library loansForms, manuals, course packs, documents to print

EPUB wins for reading on small screens. PDF wins when everyone must see the same page, for example in a class that refers to page 42, or when the book has to be printed. Our explainer on what a PDF is covers the other side of the comparison.

How to convert an EPUB to PDF

Converting makes sense when you want to print an ebook, mark it up in a PDF app or read it on a work computer that has no ebook reader.

  1. Open EPUB to PDF in any browser and add an EPUB 2 or EPUB 3 file of up to 50 MB.
  2. Pick the page size: A5 (book sized, the default), A4 or US Letter.
  3. Pick the font size: 10, 11 (the default), 12 or 14 pt.
  4. Convert and download the PDF.

The book is laid out on the FileKiwi server. The cover becomes the first page when the book has one, and each chapter starts on a new page in the book's reading order. Headings, paragraphs, bold and italic, lists, simple tables and JPG, PNG and GIF pictures carry over.

The look does change. The book's own fonts and decorative styling are replaced by a clean layout in DejaVu Serif, and the PDF has no clickable table of contents, so use your PDF reader's search box or page thumbnails to move around. A copy of the EPUB you add is kept in a private folder for 30 days and then deleted, and the PDF is not stored.

Need only a few chapters? Cut them out with Extract PDF Pages. If an illustrated book turns out heavy, Compress PDF makes it lighter.

DRM: why some EPUB files will not open or convert

Many ebooks bought in stores are protected by DRM (digital rights management). DRM ties a book to the store's app, your account or specific devices. Books from the Kindle, Apple Books, Kobo and Google Play stores are usually protected, and so are most library loans.

A protected book opens only in the app or on the device it was bought for. FileKiwi does not convert DRM protected books and shows a clear message when you add one. Read those books in the store's own app.

DRM free EPUB files work without trouble. Common examples are public domain classics from Project Gutenberg and Standard Ebooks, open textbooks, books that authors and small publishers sell without DRM, and EPUB files you made yourself.

Making your own EPUB

Writers can create EPUB files with apps they already have. Google Docs offers File > Download > EPUB Publication (.epub). Apple Pages can export a document as EPUB too; on a Mac choose File > Export To > EPUB. Open the result in Books or Play Books to check it before you share it.

Which format to keep

Keep the EPUB as your reading copy. It adapts to every screen, stays small and lets reading apps remember your place. Make a PDF copy when you need fixed pages: for printing, for study notes that must match a classmate's page numbers, or for a computer without an ebook app.

If an EPUB will not open at all, check where it came from. A DRM protected book belongs in its store's app, while a DRM free file opens in Books, Play Books, Calibre or any EPUB reader.

FAQ

What is an EPUB file used for?

An EPUB file holds an ebook: novels, nonfiction, textbooks and comics. It is the standard download format of most ebook stores, libraries and free book sites. Because the text reflows, the same EPUB reads comfortably on a phone, a tablet, a computer or an ereader.

How do I open an EPUB file on Windows?

Windows 11 has no built in EPUB reader and the current Edge cannot open EPUB files. Install a free ebook reader from the Microsoft Store or the free Calibre app, or upload the book to Google Play Books in your browser. You can also convert a DRM free EPUB to PDF and open it in Edge.

How do I convert EPUB to PDF?

Open the FileKiwi EPUB to PDF tool, add a DRM free EPUB file of up to 50 MB, pick A5, A4 or US Letter pages and a font size, then download the PDF. The cover comes first and each chapter starts on a new page.

Is EPUB better than PDF?

For reading on phones and ereaders, yes, because the text adapts to the screen and you choose the font size. PDF is better for printing, forms and anything where everyone needs the same page numbers. Many readers keep the EPUB for reading and make a PDF only when needed.

Can I read EPUB files on a Kindle?

Kindle devices do not open EPUB files directly. Amazon's Send to Kindle service accepts DRM free EPUB files and converts them so they appear in your Kindle library. Books bought in other stores with DRM cannot be moved to a Kindle this way.

Try EPUB to PDF now

Turn DRM free ebooks into a PDF you can print. Works in your browser, free and without a watermark.

Open EPUB to PDF
AL
Anna Lewiński, FileKiwi editor

Anna edits the FileKiwi guides. She tests every tip on real files from phones, cameras and office apps before it goes live.