Guides

How to make an EPUB from your manuscript

An EPUB is the file behind almost every ebook: Kindle takes it, Apple Books takes it, Kobo takes it. It looks nothing like a print PDF, and the things that make a good one are different. Here is what is inside, what the stores want, and what to check.

What an EPUB is

An EPUB is a zip archive with a different extension. Inside are the chapters as small web pages (XHTML), a stylesheet, the images, the cover, a table of contents, and a manifest that lists it all in reading order. Because it is built from web pages, the text reflows: a Kindle Paperwhite, an iPad and a phone each show as many words per screen as fit at the reader's chosen type size. There are no pages, only positions.

That single fact explains most of what makes a print file and an ebook file different. Page numbers, running heads, widows and orphans, the chapter drop, the gutter: none of them exist in an EPUB. What matters instead is clean structure, so every reading app can do its own layout well.

What a good EPUB contains

What the stores want

Kindle (KDP). Upload the EPUB; KDP converts it. It also accepts DOCX and its own KPF format from Kindle Create. Cover: 2,560 × 1,600 pixels recommended, JPEG or TIFF, ratio 1.6 to 1, minimum 1,000 pixels on the short side.

Apple Books. EPUB, validated with EPUBCheck. Cover at least 1,400 pixels on the short side. Apple is stricter about validation than Amazon, so a file that passes Apple passes everywhere.

Kobo, Google Play, Draft2Digital and the other distributors. EPUB. Same cover file. Draft2Digital and similar aggregators will also take a DOCX and build the EPUB for you, at the cost of control over the result.

Check it before you publish

  1. Run EPUBCheck, the open-source validator the stores themselves use. Zero errors is the target; warnings are usually fine.
  2. Open the file in Apple Books on a Mac and in Kindle Previewer, Amazon's free app. Switch the type size to the largest and the smallest setting. Switch to dark mode. Turn the device sideways.
  3. Check the table of contents from inside the reader, not from your own list. Every chapter should be there, with the right name.
  4. Tap a footnote. Tap the back link.
  5. Look at the first screen a browser sees in the store sample: it should be the cover or the title page, not a copyright notice.

Questions

Does Kindle accept EPUB?

Yes. KDP accepts EPUB for Kindle ebooks, alongside its own KPF format and DOCX. The old MOBI format is no longer accepted for new uploads.

Why does my ebook have a different number of pages on every device?

Because an EPUB has no pages. The text reflows to fit the screen and the type size the reader has chosen. Page numbers, running heads and page breaks from the print edition do not exist in the ebook, and trying to force them makes it worse.

Do I need a separate ISBN for the ebook?

Amazon does not require one; it assigns an ASIN. Apple Books, Kobo and most distributors accept a book without an ISBN too, but if you use ISBNs, the ebook needs its own, separate from the paperback’s.

What size should the ebook cover be?

KDP recommends 2,560 × 1,600 pixels, a 1.6 to 1 ratio, JPEG, and at least 1,000 pixels on the short side. Apple Books asks for at least 1,400 pixels on the short side. A 2,560 × 1,600 file satisfies every store.