Two checks, two different jobs
An EPUB can pass one check and fail the other, so run both.
| Tool | What it answers | Made by |
|---|---|---|
| EPUBCheck | Is the file built correctly? Are the files, links and structure valid? | W3C |
| Kindle Previewer | How will it look on a Kindle, a phone and a tablet? | Amazon |
The five levels of message
EPUBCheck gives every message a level. Start at the top and work down.
| Level | What it means | What to do |
|---|---|---|
| Fatal | EPUBCheck could not carry on reading the file | Fix first. Nothing below it can be trusted until this is gone |
| Error | The file breaks the EPUB rules | Fix before you upload |
| Warning | Something may cause a problem | Read it and decide |
| Usage | Information about how a feature is used | Usually no action |
| Info | A hint, often about accessibility | Optional |
By default, the command-line tool reports a failure only when it finds errors. A file with warnings alone still passes, unless you ask EPUBCheck to treat warnings as failures.
Common messages and what they usually mean
These are real EPUBCheck codes from the W3C message list. The explanations are what each one usually points to in practice.
| Code | Level | EPUBCheck says | What it usually means |
|---|---|---|---|
| PKG-015 | Fatal | Unable to read EPUB contents | The file is damaged or is not a valid EPUB package. Export it again |
| RSC-005 | Error | Error while parsing file | A page of the book has markup the validator cannot read. The message names the file and the line, so start there |
| RSC-007 | Error | Referenced resource could not be found in the EPUB | A link or image points to a file that is not in the package. Check the file name, its capital letters and its folder |
| RSC-020 | Error | Not a valid URL | A web link is mistyped, with a space or a missing part |
| OPF-010 | Error | Error resolving reference | The same kind of problem inside the package list: something refers to a file it cannot find |
| OPF-003 | Usage | Item exists in the EPUB, but is not declared in the manifest | A leftover file is in the package. Remove it or export again |
Always read the file name and line number in the message. They tell you where to look.
Kindle Previewer
KDP’s help page says Kindle Previewer shows you how your ebook will look before you publish it. For reflowable books it also shows the Enhanced Typesetting improvements. Opening an EPUB in it converts the file, and when the conversion finishes you can preview the book.
Check these in it:
- The cover and the first pages.
- The table of contents, tapped on a real link.
- Chapter openings and headings at a large and a small text size.
- Tables and images on a phone-sized screen.
- The e-reader view. KDP notes that e-reader mode shows the book in greyscale, while tablet and phone modes show colour.
KDP also has an Online Previewer inside your account, which shows the book on different devices and can flag low-quality images and spelling.
A chapter opening in KDP’s Online Previewer on the Kindle e-reader view. Check the heading and the drop capital at this size.
The cover view, with the quality panel open on the right.
A check order that works
- Run EPUBCheck. Fix every fatal and error message.
- Open the EPUB in Kindle Previewer. Fix what looks wrong.
- Run EPUBCheck again after every change.
- Upload to KDP and use the Online Previewer once more.
The last step: the email KDP sends when the Kindle edition is live.
Print files have their own checks. The numbers are in KDP paperback requirements: every number in one table
Short answers
Is EPUBCheck official? Yes. It is the W3C’s validator for EPUB files.
Do warnings stop an upload? Not by themselves. Read each one, and fix any that point to a real problem.
Is a pass in EPUBCheck enough for Kindle? No. It proves the file is built correctly, not that it looks right. Preview it in Kindle Previewer.
When to hand it over
TintaPress produces Kindle and EPUB editions from the typeset book and checks each one in Kindle Previewer and EPUBCheck before delivery. See ebook and Kindle. If a store or KDP has rejected your EPUB, send us the file and the message: file repair.

