Book Design & Formatting

What Is an EPUB File? The Ebook Format Explained

By the Inkora team · Nov 18, 2026 · 10 min read

An EPUB file is the standard file format for ebooks. It packages your book's text, formatting, images and table of contents into a single file that e-readers and reading apps can display on screens of any size.

The name is short for "electronic publication," and the file ends in .epub. Apple Books, Kobo, Google Play Books and Barnes & Noble all use it, and Amazon KDP accepts it as an upload format. If you plan to sell an ebook anywhere, you will almost certainly work with EPUB.

Below is what's inside the file, how "reflowable" text works, what changed with EPUB 3, which stores take it, and how it compares with PDF and Amazon's KPF format.

What's inside an EPUB file

An EPUB is a ZIP archive with a specific internal structure. If you rename mybook.epub to mybook.zip and open it, you'll see a set of folders and files. A typical EPUB contains:

  • A mimetype file. This one-line text file tells reading software, "this is an EPUB."
  • A META-INF folder. This holds container.xml, which points the reader to the main package file.
  • A package file (usually .opf). This lists the book's metadata (title, author, language, identifier), every file in the book, and the reading order.
  • Content files. Each chapter is usually its own XHTML file. That is the same kind of markup web pages use.
  • CSS stylesheets. These control fonts, spacing, headings, indents and other styling.
  • A navigation file. This builds the clickable table of contents readers see in their app.
  • Images and fonts. This includes the cover image, any images inside the book, and embedded fonts if you use them.

An EPUB is essentially a small, self-contained website packaged as a book. That explains why it behaves the way it does. Text flows like a web page. Styling comes from CSS. The reader's device decides much of the final look.

For a shorter definition you can bookmark, see the EPUB glossary entry.

What "reflowable" means in an EPUB

Most EPUBs are reflowable. The text has no fixed pages. It reflows to fit whatever screen it's shown on, and the reader can change it.

Here is a concrete example. You open a novel on a phone, then on a tablet, then on a Kobo e-reader. On each device:

  • The number of words per "page" is different.
  • The reader can make the text bigger, and the lines rewrap.
  • The reader can switch fonts, change line spacing, or turn on dark mode.
  • Page numbers, if shown, are calculated by the app rather than fixed by you.

This is good for readers and good for text-heavy books such as novels, memoirs, self-help and most non-fiction. Nobody has to pinch and zoom to read a paragraph.

The trade-off is control. You can't decide that a sentence lands at the bottom of page 47, because there is no page 47. Elements that depend on exact placement don't suit reflowable layouts. Examples are two-page spreads, text set over pictures, and complex tables.

Fixed-layout EPUB

EPUB also supports a fixed-layout mode. Each page is designed at a set size, much like a PDF, and the reader can't reflow the text. Fixed layout is used for picture books, comics, cookbooks with heavy page design, and some textbooks.

Fixed-layout EPUBs are harder to build, and they don't read as comfortably on small phones. Store support also varies. For the differences in detail, see reflowable vs fixed layout.

EPUB 3 and how it differs from EPUB 2

EPUB has gone through several versions. The two you'll hear about are EPUB 2 and EPUB 3.

EPUB 3 is the current version. It's now maintained by the W3C, the same body that maintains web standards. Compared with EPUB 2, EPUB 3:

  • Uses HTML5 and modern CSS. That gives you better typography and layout options.
  • Has a new navigation document. It's built in HTML. EPUB 2 used an older format called NCX, and many EPUB 3 files still include an NCX for older readers.
  • Supports fixed layout officially. It's part of the standard rather than a vendor add-on.
  • Improves accessibility. It supports semantic markup, better structure for screen readers, and accessibility metadata.
  • Supports more languages. This includes right-to-left scripts such as Arabic and Hebrew, and vertical text for Japanese.
  • Allows audio, video and scripting. Support for these varies widely between reading apps, so most authors don't rely on them.

In practice, if you're creating a new ebook, make it EPUB 3. Stores and tools are built around it. EPUB 2 files may still open in many places, but there's no reason to produce one today.

Stores that accept EPUB files

EPUB is the default upload format for most ebook retailers and distributors. Amazon is the main exception: KDP also accepts its own formats alongside EPUB.

Store / distributor Accepts EPUB for ebooks? Notes
Amazon KDP Yes KDP also accepts DOCX and KPF. It converts your upload to Kindle format for readers.
Apple Books for Authors Yes EPUB is Apple's main ebook format.
Google Play Books Partner Center Yes Google also accepts PDF, but EPUB gives readers reflowable text.
Kobo Writing Life Yes EPUB is Kobo's native format. Kobo can also convert some other file types.
Barnes & Noble Press Yes B&N Press also accepts DOCX for ebooks.
Draft2Digital Yes Draft2Digital also accepts DOCX and can build an EPUB for you.
IngramSpark Yes (ebook) IngramSpark ebooks use EPUB. Print books need PDFs.

Store requirements change. Before you upload, confirm the current accepted formats and file rules in each store's dashboard or help pages.

One point causes a lot of confusion. Kindle readers don't see your EPUB directly. When you upload an EPUB to KDP, Amazon converts it into its own delivery format. Your EPUB is the source file, and the conversion happens on Amazon's side. Always check the result in KDP's previewer before publishing.

For store-by-store walkthroughs, the Publishing Hub has checklists for Amazon KDP and the other retailers. If you're weighing Amazon-only against selling everywhere, what is going wide explains the choice. One EPUB file can serve all the "wide" stores.

How EPUB differs from PDF

This is the comparison people ask about most. The short version: EPUB is built for screens, PDF is built for pages.

A PDF is a fixed snapshot of a page. Every line, image and margin sits exactly where the designer placed it. That's exactly what a printer needs, which is why print-on-demand services ask for an interior PDF. On a small screen, though, a PDF page shrinks to fit. Readers then end up zooming and scrolling sideways.

An EPUB carries text and structure rather than finished pages. The reading app lays out the book for the screen in front of it.

Some practical differences:

  • Readability on phones. EPUB text adjusts to the screen. PDF text stays tiny or forces zooming.
  • Reader settings. In an EPUB, the reader controls font size, font choice and themes. In a PDF, most of that is locked.
  • Design control. In a PDF, you control every detail. In an EPUB, you set defaults and the reader can override many of them.
  • Store use. EPUB is the standard ebook upload. PDF is the standard print interior upload. Some ebook stores accept PDF, but many don't, or they treat it as a lesser experience.
  • Accessibility. A well-built EPUB 3 is generally easier for screen readers to handle than a typical PDF.

Most self-published authors end up with both. They use a PDF for the paperback and an EPUB for the ebook. For a fuller side-by-side, read EPUB vs PDF.

How EPUB differs from KPF

KPF stands for Kindle Package Format. It's the file Amazon's free Kindle Create app produces when you format a book inside it.

The key differences:

  • Where it works. EPUB is an open standard that every major store accepts. KPF is Amazon's proprietary format, and you can only upload it to KDP.
  • How you make it. You can make an EPUB with many tools, or even by hand. A KPF comes from Kindle Create.
  • What you can do with it. You can open, inspect and edit an EPUB with standard tools. A KPF isn't meant for editing outside Kindle Create, and you can't send it to Apple, Kobo or Google.
  • Reading it. Readers don't read KPF files. Like an EPUB uploaded to KDP, Amazon converts a KPF before it reaches readers.

If you'll only ever sell on Amazon, a KPF from Kindle Create is a workable route. If you want to sell anywhere else now or later, an EPUB keeps your options open. You can still upload that same EPUB to KDP.

EPUB vs PDF vs KPF at a glance

EPUB PDF KPF
What it is Open ebook standard Fixed page document Amazon's Kindle Create format
Layout Reflowable (or fixed layout) Fixed pages Reflowable or fixed, built in Kindle Create
Best for Ebooks on any store Print interiors, print-ready documents Kindle-only ebooks
Reader can change font size? Yes, in reflowable EPUB Not really (zoom only) Yes, after Amazon converts it
Accepted by Apple, Kobo, Google, B&N Yes Varies (Google accepts PDF) No
Accepted by KDP Yes (ebook) Yes for paperback interiors Yes (ebook)
Editable with common tools Yes Limited No

How to open or read an EPUB file

On most devices you already have something that can open an EPUB:

  • iPhone, iPad and Mac: Apple Books opens EPUBs directly.
  • Android: Google Play Books lets you upload your own EPUBs. Many other reading apps support the format too.
  • Windows: Free desktop readers such as Calibre can open EPUBs.
  • Kobo and most non-Amazon e-readers: EPUB is the native format.
  • Kindle devices and apps: Amazon's Send to Kindle service accepts EPUB files and converts them for your Kindle library.

To check your own book, open the EPUB in two or three different apps. Problems that hide in one reader often show up in another.

How to create an EPUB file

You have several options. Which one suits you depends on how much control you want.

  1. Export from a writing or formatting tool. Many book-writing and formatting apps export EPUB directly. If you draft your book in Inkora, you can export an EPUB 3 file alongside a DOCX and a print-ready interior PDF. You then upload the EPUB to each store yourself.
  2. Let a distributor build it. Draft2Digital can turn a Word document into an EPUB. See Draft2Digital for the steps.
  3. Convert with a free tool. Calibre can convert DOCX to EPUB. Check the result carefully, because converted files can carry messy formatting.
  4. Hand-code or edit it. Since an EPUB is HTML and CSS inside a ZIP file, you can edit it with tools such as Sigil. This gives you the most control but takes the most effort.

Whatever method you use, start from a clean manuscript. Use real heading styles for chapter titles rather than bold text with a larger font. Use page breaks between chapters, and avoid manual spacing with repeated tabs or spaces. Clean input produces a clean EPUB. Our guide on how to format a book for KDP covers manuscript cleanup that applies to every store.

Common problems and fixes

The store rejects the file or reports validation errors. Most stores check EPUBs against the official specification. Run your file through EPUBCheck, the free, standard validator. It lists each error with the file and line number. Common causes are missing files listed in the package, broken internal links and invalid markup. Fix the problem in your source or export tool and re-export, rather than patching the EPUB by hand, if you can.

The table of contents is missing or wrong. Usually the chapter headings weren't tagged as headings in the manuscript. Apply proper heading styles to every chapter title and re-export. Then check the TOC in at least two reading apps.

Fonts, indents or spacing look different on every device. That's partly by design, because reflowable text gives readers control. Keep your styling simple. Avoid fixed font sizes in points, and don't rely on embedded fonts for body text. Test on a phone and an e-reader, not just on your computer.

Images are blurry, oversized or break across pages. Check that images are a sensible resolution, and that they're set to scale to the screen width rather than a fixed size. Large tables often work better split into smaller ones or simplified into lists.

The Kindle preview looks different from your EPUB. Amazon converts your file, and some styling doesn't survive. Use KDP's online previewer to check before you publish. Then adjust the source file and upload again. You can update a published book later if you spot something after release.

A fixed-layout book looks broken on a phone. Fixed layout isn't made for small screens. If your book is mostly text, switch to reflowable. If it truly needs designed pages, check each store's current fixed-layout rules before uploading.

You only have a PDF and need an EPUB. Converting PDF to EPUB rarely gives clean results, because a PDF holds placed text rather than structure. Go back to the original Word or manuscript file and export an EPUB from that instead.

An EPUB is a packaged, reflowable ebook that almost every store accepts, and EPUB 3 is the version to make today. Keep a PDF for print and an EPUB for ebooks. Run EPUBCheck before you upload, and preview the result in more than one reader.

Frequently asked questions

Do I need an ISBN to publish an EPUB?+

Not for most ebook stores. Amazon KDP, Apple Books, Google Play Books, Kobo and Barnes & Noble Press don't require one for ebooks under their published terms, and Draft2Digital can assign a free ISBN if you want one. IngramSpark requires your own ISBN for each format.

Can I use the same EPUB file on every store?+

Usually yes. One clean, valid EPUB 3 file can be uploaded to Apple, Kobo, Google Play, Barnes & Noble and KDP. Only the store-specific details, such as the cover image size and metadata, change between uploads.

Does an EPUB file include the cover?+

It normally includes a cover image inside the file, but most stores also ask you to upload the cover separately for the store listing. Check each store's cover specifications, since sizes and file types differ.

Is an EPUB file protected from copying?+

The EPUB format doesn't add copy protection by itself. Some stores offer optional DRM when you publish, so check the setting in each store's dashboard if this matters to you.

What is the difference between EPUB and MOBI?+

MOBI was an older Kindle format. Amazon has moved away from MOBI for most ebook uploads, and EPUB is now the more widely accepted choice. Confirm current accepted formats in your KDP dashboard.

Turn your idea into a finished book

Inkora plans, writes and formats your book, designs the cover and exports print-ready PDF, EPUB and DOCX for every store.

Start writing free