Back to articles

How to Format an EPUB for Amazon KDP

Step-by-step guide to format an ebook for KDP with fewer validation issues, including a workflow for authors publishing without Vellum or a Mac.

M Marcus 7 min read

Uploading your first book to Amazon is a strange mix of excitement and dread. You’ve finished the hard part, writing the thing, and now a form wants a manuscript file that looks right on every Kindle ever made. Get it wrong and you’re met with vague error messages, or worse, a book that goes live and looks broken on a reader’s device.

The good news is that a clean EPUB avoids almost all of that. This guide explains what Amazon actually needs, then walks through formatting a KDP-ready EPUB step by step. I’ll use Libba for the examples because it’s the tool I built, but the principles apply whichever tool you choose.

Why upload an EPUB to KDP?

Kindle books use Amazon’s own format behind the scenes, but you don’t need to create it yourself. KDP accepts an EPUB upload and converts it for you, and EPUB is one of the formats Amazon recommends for ebooks.

Uploading an EPUB, not a Word document, gives you much more control over the result. A Word file is converted by Amazon’s software, which guesses at your headings and spacing; an EPUB arrives already structured, so what you designed is far closer to what readers see. It also means you have one file that works for Apple Books, Kobo and Google Play too, not a different process for every store.

What Amazon needs from your file

Amazon’s requirements are less mysterious than its error messages suggest. Your EPUB should be a standard EPUB 3 file with UTF-8 text encoding, which is what stops curly quotes turning into garbage like “. It needs a working table of contents, so readers can jump between chapters. Images should be JPEG or PNG and embedded properly in the file, and the whole thing must stay under 650MB, which in practice is only a concern for heavily illustrated books. A typical novel is a few megabytes.

There are a couple of content rules too. Your book shouldn’t send readers to other bookstores, so links to Apple Books or Kobo in your back matter can cause problems on Amazon. And your cover is uploaded separately from the manuscript, ideally at 1,600 by 2,560 pixels.

Most of these are handled for you by a good formatting tool. The ones worth keeping an eye on yourself are the store links and the cover size, because those depend on what you put in.

Formatting your book step by step

1. Bring in your manuscript

Start by importing what you already have. Libba accepts Word documents, existing EPUB files and Markdown, and it detects your chapters from the headings in the file. It’s worth spending ten minutes tidying the manuscript first: make sure every chapter heading uses the same style, remove stray blank lines and double spaces, and delete anything you added by hand to fake formatting, such as tabs for indents or rows of asterisks typed in as scene breaks. The cleaner the source, the less you’ll fix later.

2. Choose a style that suits your genre

Rather than designing every element from scratch, start from a preset that already looks right for your kind of book. Libba’s presets are tuned by genre: The Classic for general fiction, The Velvet for romance, The Blackout for thrillers, The Rune for fantasy, The Starlight for science fiction, The Typewriter for literary fiction, The Executive for non-fiction and The Memoir for personal stories. Each sets the chapter headings, body text, spacing and ornaments together, so the book feels consistent. Treat the preset as a starting point; every detail can be adjusted afterwards.

3. Add your front matter

Every Kindle book needs a few pages before the story starts. The title page carries the title, subtitle and your name. The copyright page holds the copyright notice, the edition, your ISBN if you have one, and the publisher name, which can simply be your own imprint. A dedication is optional. The table of contents doesn’t need to be written by hand: Libba builds it from your chapters, along with the navigation that lets Kindle readers jump between them. If you start with the New Book wizard, these sections are created for you with sensible placeholder text to edit.

4. Shape your chapters

This is where a book starts to feel professionally made. Decide how chapter openings should look, whether that’s “Chapter One,” “Chapter 1” or just a number, and whether each chapter has a title or subtitle. A drop cap, an enlarged first letter, adds a classic touch to fiction.

Scene breaks deserve particular care, because they’re one of the most common things to go wrong in an ebook. Three typed asterisks or a blank line can collapse or vanish depending on the device. Libba uses font-based ornaments, of which there are more than 300 grouped by genre, so a scene break is a deliberate design element that displays reliably instead of an accident waiting to happen.

5. Add your back matter

The pages after “The End” are where you turn a reader into a returning reader. An About the Author page, a list of your other books, and a link to your newsletter all belong here. In Libba these come from your author profile, so you write your bio and links once and reuse them in every book, including separate profiles for different pen names.

6. Preview before you export

Before you export anything, look at the book the way readers will. Libba’s preview shows your pages on simulated Kindle, tablet and phone screens, in light, sepia and dark reading modes. Page through a few chapters and look for the things that most often slip through: scene breaks, chapter openings, italics, images, and anything that looks oddly spaced. Catching a problem here takes seconds; catching it after publication means a new upload and a wait.

7. Export the Kindle edition

When you’re happy, export the EPUB and choose Kindle as the target. Libba’s per-store export keeps your Amazon links and removes links to other retailers, so the file you upload to KDP contains nothing Amazon objects to. If you also sell on Apple Books or Kobo, export separate editions for those at the same time, each with its own links.

Before uploading, it’s a good habit to open the file in Amazon’s free Kindle Previewer app, and if you want an extra technical check, run it through EPUBCheck, the standard validation tool for EPUB files.

8. Upload it to KDP

On kdp.amazon.com, create a new Kindle eBook and fill in the details: title, author, description, keywords and categories. Upload your EPUB in the manuscript section and your cover image separately. KDP takes a few minutes to process the file, then lets you open its online previewer. Use it. This is Amazon’s own rendering of your book, and it’s your last chance to spot anything odd before setting your price and publishing. Once you publish, the book usually appears on Amazon within 72 hours.

When KDP still complains

Even a well-made file occasionally gets flagged. The most common reasons are links to other stores, a table of contents that’s missing or broken, missing metadata such as the book’s language, or an image that didn’t make it into the file. Older EPUBs converted from Word are also prone to messy markup and encoding problems that show up as strange characters.

The fix is almost always to correct the source and export again, not to edit the EPUB by hand. If you want the details on specific rejection messages and how to resolve them, Why Your EPUB Gets Rejected by KDP covers them one by one.

A final check before you upload

It’s worth running through a short list before every upload, even for your tenth book:

  • The table of contents lists every chapter, and each link goes to the right place.
  • Scene breaks, italics and chapter openings look right in the preview.
  • There are no links to other bookstores in the Kindle edition.
  • The title and author name match exactly what you enter on KDP.
  • The cover is uploaded separately, ideally at 1,600 by 2,560 pixels.

Where to go next

If you’re publishing beyond Amazon, Why Your EPUB Gets Rejected by Kobo (But Not KDP) explains why the same file can pass one store and fail another. If you’re on Windows and were told you need Vellum, How to Format an Ebook for KDP Without Vellum or a Mac is written for you. And every guide on the site is collected in the EPUB Formatting Hub.

Now in beta

A KDP-ready EPUB without the technical homework.

Libba takes care of structure, navigation and store links, so your upload is about the book rather than the file.

$39/year, or $99 lifetime · Works on Mac, Windows, iPad and phones · EPUBs for Kindle, Apple Books and Kobo