What Is an EPUB File?

An EPUB is an ebook file that stores structured text rather than fixed pages, so the words rearrange themselves to fit whatever screen and font size you are reading with. The extension is .epub, the standard is open and free for anyone to implement, and it is the format most stores and free libraries hand you by default.

That one property, reflowing, explains almost everything else about the format: why it looks good on a phone, why a PDF does not, and why publishers reach for it.

Why EPUB reflows and a PDF does not

A PDF is a description of a finished page. It records exactly where every glyph sits, so that a document prints identically everywhere. Nothing in it can move without breaking that promise.

An EPUB is closer to a small website in a box. It stores the text, a description of its structure (this is a chapter, this is a heading, this is emphasis), and a stylesheet suggesting how it should look. Nothing records where a line ends, because that is decided at the moment you open it.

The consequence is direct. Raise the font size in a PDF and you are magnifying a photograph of a page, so you start scrolling sideways. Raise it in an EPUB and the reader simply re-breaks the lines and uses more pages. On a phone, that is the difference between reading a book and fighting one.

For a fuller comparison including where PDF genuinely wins, see EPUB vs PDF.

What is inside an EPUB

You do not need to know this to read one, but it makes the format’s behaviour much less mysterious.

An EPUB is a ZIP archive. Rename a DRM-free one to .zip, open it, and you will find:

  • The text, as XHTML documents. Usually one per chapter.
  • A stylesheet, describing the publisher’s intended typography. Your reader may override it, which is why the same book can look different in two apps.
  • Images, if the book has any, as ordinary files.
  • A manifest listing everything in the book, and a spine giving the reading order.
  • Metadata: title, author, language, identifier, publication date.
  • A table of contents as real navigable structure, not just a page of links.

Two things follow from that structure. First, the text is genuinely text, so it can be searched, selected, read aloud and resized. Second, the semantic markup is why screen readers can navigate an EPUB by chapter and heading, and why text-to-speech gets the reading order right.

Versions you may see mentioned

EPUB 2 is the older revision and still turns up in long-standing catalogs. EPUB 3 is current: it adds better support for audio, video, math, and accessibility metadata, and it is what most publishers produce today.

For a reader, the distinction rarely matters. Any capable app opens both, and a well-made EPUB 2 file reads perfectly well.

EPUB and DRM

The format itself carries no encryption. An EPUB is a plain archive that any compatible reader can open.

Some stores wrap the file in DRM before selling it, which encrypts the contents so that only software authorised for that store can decrypt them. This is a layer added on top of the format, not part of it, which is why two files with the same .epub extension can behave completely differently.

Practically: DRM-free EPUBs, which include essentially every public-domain title and many independent ones, open anywhere. Store-protected files have to be read in software authorised for that ecosystem. Converting a protected file does not remove the protection.

When EPUB is the right format to choose

Take the EPUB when:

  • You are reading prose front to back: novels, essays, biography, most non-fiction.
  • You are reading on a phone or a small tablet, where reflow matters most.
  • You want to control the typeface, size and spacing.
  • You want a dark or warm theme rather than white paper.
  • You want reliable text-to-speech, because the reading order is unambiguous.
  • You care about accessibility, because the structure is machine-readable.

Take a PDF instead when the layout carries meaning: textbooks with equations and figures, sheet music, technical diagrams, comics, forms, or anything you intend to print.

How to open an EPUB on Android

Android has no built-in EPUB reader, which is why tapping the file often produces nothing. The fix is to install one.

  1. Install a reader that lists EPUB support. Aurora Reader is free and ad-free, and its EPUB reader for Android page covers the format specifically.
  2. Open the file directly with “Open with”, or import it into the app’s library so it keeps its cover and your reading position.
  3. Set the font, size, line spacing and theme once. Those settings carry over to every book you open afterwards.

The step-by-step version, including what to do when a file will not open, is in how to read EPUB files on Android. That article owns the task; this one owns the format.

Frequently asked questions

What does EPUB stand for? Electronic publication. It is an open standard, so anyone can build software that reads or writes it without paying a licence.

Is an EPUB just a ZIP file? Structurally, yes: a DRM-free EPUB is a ZIP archive containing XHTML, CSS, images and metadata files in a defined arrangement. The specification is what makes it an EPUB rather than an arbitrary archive.

Can I open an EPUB without an app? Some browsers and cloud services will render one, with mixed results. For actual reading, a dedicated app is worth the two minutes it takes to install, because that is where font, spacing, theme and position tracking live.

Is EPUB better than PDF? For reading prose on a screen, yes, because it reflows. For preserving an exact page design, no. They solve different problems.

Why does the same EPUB look different in two apps? Because the publisher’s stylesheet is a suggestion. Readers apply their own typography on top, and how much of the publisher’s styling they keep varies.

Where to go next

If you want the format landscape rather than one format, ebook file formats explained covers all six you are likely to meet, including the two Amazon formats compared in AZW3 vs MOBI.

Aurora Reader opens EPUB, PDF, FB2, MOBI, AZW3 and TXT, free on Android 8.0 and up with no ads and no account. See the features or download it.

All articles