EPUB Formatting Guide for Self-Publishers

Formatting an ebook involves more than converting a Word file. A publishable EPUB requires a clean manuscript, a valid table of contents, working CSS, complete front and back matter, a correct OPF manifest, and metadata formatted for each store. This guide covers every step, with a tool for each one.

The workflow below applies to KDP, Apple Books, and IngramSpark. Each platform has different validation strictness — see the store comparison below — but a file that passes the full checklist passes everywhere.

1

Start with a clean manuscript

Word documents and Google Docs carry artifacts that cause problems after EPUB conversion: smart quotes that encode as garbled characters, double spaces that persist through formatting, em dashes inserted as separate characters, and encoding issues introduced by copy-paste. Running a cleanup pass before any formatting step removes these at the source. Issues left in at this stage compound through every subsequent step.

Manuscript CleanupWord Cleanup Checker
2

Build a clickable Table of Contents

KDP requires a properly structured, clickable TOC for Kindle books. EPUB 3 uses a nav.xhtml navigation document; EPUB 2 uses toc.ncx. Getting either wrong is one of the most common reasons books fail quality review, and the error is not always surfaced during upload — it shows up later in the reading experience or in reader complaints about broken navigation.

TOC Generator
3

Design your chapter and paragraph styles

EPUB CSS has constraints that print CSS does not. Properties that work in browsers fail silently on e-readers; font declarations that look correct on screen get stripped on some devices. The CSS Snippet Generator produces tested, device-safe CSS for chapter headings, paragraph indentation, drop caps, scene breaks, and block quotes — without requiring any CSS knowledge.

CSS Snippet Generator
4

Write your front matter and back matter

Front matter — title page, copyright page, dedication, and epigraph — sets reader expectations before chapter one and is required by most stores for professional listings. Back matter — author bio, Also By section, and mailing list CTA — directly affects reader retention and series discoverability. Both also affect how your book appears in store previews.

Front Matter GeneratorBack Matter Generator
5

Generate a valid EPUB 3.0 file

EPUB is the format Apple Books, IngramSpark, Kobo, and most other distributors require. Building a clean EPUB 3.0 from the start — with correct chapter structure, embedded metadata, a properly declared cover image, and a valid OPF manifest — is more reliable than letting any store handle conversion. Files built correctly at this stage pass validation without manual fixes.

EPUB Formatter
6

Validate before you upload to any store

An EPUB can open fine on your computer and still fail store submission. Stores run automated validation on upload, and rejection messages are often vague. Running validation yourself first gives you the specific error, its location inside the file, and time to fix it before any store sees it. Apple Books rejects files KDP quietly accepts.

EPUB ValidatorEPUB Validator Pro
7

Complete your metadata and keyword strategy

Metadata fields differ by platform: KDP wants a specific keyword format, IngramSpark formats categories differently, and EPUB OPF files use yet another structure. Keywords and BISAC categories determine whether readers find your book in store search and browse. Missing or misformatted metadata fields can slow down approval and affect discoverability after publishing.

Metadata BuilderKDP Keyword & Category Finder
8

Audit for style consistency across chapters

Character names spelled differently across chapters, capitalization that drifts between scenes, dialogue punctuation that changes style partway through — these are the kinds of issues that cost professional editors hours to catch. A style audit finds them in seconds before readers do. Especially valuable after revisions, where edits in one section often introduce inconsistencies with unchanged sections.

Style Sheet Auditor

Starting from a print book?

Print books use fixed layout: fixed margins, page numbers, widow and orphan control, running headers, and print-specific spacing. All of these need to be removed or converted before a file works as a reflowable ebook. Pasting a print-layout document into EPUB conversion produces heading artifacts, inconsistent indentation, page breaks in the wrong places, and broken spacing.

The Print-to-Digital converter strips print-specific formatting automatically and outputs a clean manuscript ready for the EPUB formatting workflow above.

Print-to-Digital Converter →

Store requirements: KDP vs. Apple Books vs. IngramSpark

Each platform runs its own automated validation on upload. A file can pass KDP and fail Apple Books. Understanding where each store sits on the strictness scale saves a rejection-and-resubmit cycle that can cost days.

StoreEPUB versionValidation strictnessError messages
Amazon KDPEPUB 2 or EPUB 3Most lenient — tolerates some malformed XML, auto-corrects minor issuesGeneric (“We found issues”) — often doesn't specify what failed
Apple BooksEPUB 3 requiredStrictest — rejects invalid XML, checks image quality and font embeddingSpecific rejection reasons provided
IngramSparkEPUB 3Between KDP and Apple Books — standard EPUB 3 compliance requiredClearer rejection messages than KDP

The safest approach: build EPUB 3, validate to zero errors, then upload the same file to all three stores. A file that passes validation after step 6 above passes all three.

Common EPUB formatting errors

Most store rejections come from the same handful of structural errors. These are not bugs in your writing — they are technical issues in the EPUB file structure that a validator catches before submission.

Missing manifest resource. A file is referenced in the OPF manifest but does not exist inside the archive, or exists but is not declared. Fix: open your .opf file and add the missing item with the correct media type, or remove the declaration if the file was deleted.

Broken font or image reference. An img tag or CSS @font-face references a file path that does not exist inside the archive. Paths are case-sensitive on some platforms. Fix: verify the exact path and confirm the file exists in the archive with that exact capitalization.

Invalid cover declaration. EPUB 3 needs a manifest item with properties="cover-image". EPUB 2 needs a meta name="cover" element pointing to the cover image manifest ID. Missing either causes KDP's cover check to fail even when the image is physically present in the archive.

EMF or WMF image in the file. Images in Windows-only EMF or WMF format fail validation on every store. Fix: re-save those images from your original Word file as PNG or JPG, replace them, and re-export.

For a complete list of EPUB errors with specific fixes, see the EPUB error reference. Each error page includes the exact cause, where it appears in the file, and the fix.

Publishing to Amazon specifically? The KDP formatting guide covers Amazon-specific steps: Kindle TOC requirements, KDP cover dimensions, and the keyword and category system.

Pre-upload checklist

Before uploading to any store, run through this list:

Frequently asked questions

What is EPUB 3.0 and why does it matter for self-publishing?

EPUB 3.0 is the current international standard for ebook files. Apple Books requires EPUB 3; KDP accepts both EPUB 2 and EPUB 3 but converts your file internally anyway. Building EPUB 3.0 from the start satisfies every major store and avoids compatibility issues that cause silent quality flags after upload.

Do I need to know coding to format an EPUB?

No. EPUB files are ZIP archives containing HTML and CSS, but you do not need to write any code yourself. The tools on this page generate valid EPUB 3.0 files, clickable tables of contents, and EPUB-safe CSS from plain text or manuscript files — no coding or command-line access required.

How long does it take to format an ebook from scratch?

A typical novel formatted using automated tools takes 30 to 90 minutes from raw manuscript to validated EPUB file. The steps that take longest by hand — TOC creation, front/back matter writing, CSS formatting, and validation — each take a few minutes when automated.

What is the difference between EPUB 2 and EPUB 3?

EPUB 2 uses toc.ncx for navigation; EPUB 3 uses nav.xhtml and supports HTML5, CSS3, and accessibility features. Apple Books requires EPUB 3 and rejects EPUB 2 files. KDP accepts both but converts to its own internal format. Distributing to multiple stores means EPUB 3 is the right choice.

What causes EPUB validation errors?

The most common causes are a missing or malformed container.xml, files referenced in the OPF manifest that do not exist in the archive, missing required metadata fields (title, language, identifier), incorrect cover image declarations, and navigation files that point to non-existent content. A validator pinpoints which check failed and where.

Can I use a Word document to create an ebook?

Yes, but Word documents carry hidden formatting artifacts — smart quotes that encode incorrectly, double spaces, stacked blank paragraphs, and encoding issues — that cause problems after EPUB conversion. Running a cleanup pass before converting removes these artifacts. Word documents can be converted directly to EPUB 3.0 with the EPUB Formatter or Full Manuscript Mode tools.

Which store has the strictest EPUB requirements?

Apple Books is the strictest. It requires EPUB 3, rejects files with invalid XML, and checks image quality and font embedding. KDP is the most lenient — it accepts EPUB 2 and EPUB 3, tolerates some malformed XML, and sometimes auto-corrects minor issues. IngramSpark sits between them, requiring standard EPUB 3 compliance but providing clearer rejection messages than KDP.

Got a specific EPUB error?

The EPUB error reference covers every common validation failure with the exact cause and fix.

Browse EPUB Errors →

Start with the free EPUB Validator — no signup needed.

Start Free →