KDP Formatting

EPUB Validation Errors: How to Find and Fix Them

EPUB Validation Errors: How to Find and Fix Them

By Robert Prime

Last reviewed by Robert Prime — March 2026


Table of Contents


Introduction

If you’re a UK author serious about digital publishing, understanding EPUB validation errors is non-negotiable. EPUB files are the backbone of eBooks on virtually every platform except Amazon’s proprietary formats. These files must meet strict technical standards or risk rejection, poor display, or worse—damaging your book’s reputation with readers.

When I was preparing Google. Panic. Repeat. for Kindle Direct Publishing (KDP), I discovered firsthand how even minor EPUB errors can cause major headaches. I once hired a formatter for £130 who handed me a file riddled with errors. Fixing those mistakes cost me hours and delayed my launch. That’s precisely why I built publishing.co.uk: to provide UK authors with professional, automated formatting that passes validation first time, without the usual faff.

I also consult for a billion-pound publishing business wrestling with the same EPUB validation issues, which were bottlenecking their back catalogue scaling. This problem affects authors and publishers at every level.

This article isn’t a dry technical manual. It’s a practical, UK-focused resource packed with real-world insights, GBP cost breakdowns, and actionable advice that will save you time, money, and stress. We’ll cover everything from basic EPUB concepts to advanced troubleshooting, all with a sharp business focus.

[IMAGE CALLOUT: Data visualisation showing UK self-publishing market size and growth trends over five years]


What You Need to Know Before Starting

Before you tackle EPUB validation errors, you need to understand what an EPUB file really is and why validation exists.

What is an EPUB file?

An EPUB (electronic publication) is the industry-standard eBook format outside Amazon. It’s essentially a zipped archive containing XHTML files, images, CSS stylesheets, and metadata. EPUB files are designed to be fluid and adapt to different screen sizes and devices.

In the UK, EPUB is the preferred format for retailers like Apple Books, Kobo, and Waterstones. These platforms insist on clean, validated EPUBs to guarantee smooth reader experiences.

Why does EPUB validation matter?

EPUB is governed by technical specifications from the International Digital Publishing Forum (IDPF), now part of the W3C. Validation ensures your EPUB complies with these specs and will display correctly on all devices.

Retailers such as Amazon KDP, Apple Books, and Kobo require error-free EPUBs. An invalid EPUB risks rejection or formatting glitches that frustrate readers and tank your reviews.

From a business perspective, ignoring validation is reckless. Rejected files delay your launch, damage your brand, and cost you sales. In the fiercely competitive UK market, you can’t afford to cut corners.

Common EPUB Validation Error Types

  • Missing required files – like container.xml or content.opf missing or malformed.
  • Malformed XML or HTML – unclosed tags, invalid characters, or syntax errors.
  • Incorrect file paths or broken references – images or stylesheets not found inside the EPUB.
  • Invalid or missing metadata – especially ISBN, title, or author info.
  • Unsupported CSS or layout issues – properties that EPUB readers can’t handle.
  • Duplicate IDs or conflicting elements – which confuse eReaders and cause display errors.

Knowing these error types helps you prioritise fixes and communicate clearly with formatters or developers.


Step-by-Step Guide to Identifying and Fixing EPUB Validation Errors

Step 1: Start with a clean, well-structured source

Whether you use Word, InDesign, Scrivener, or Markdown, your manuscript must be semantically clean. Avoid excessive manual styling or complex layouts that don’t translate well to EPUB.

Pro tip: Export from Word using “Save as Web Page, Filtered” (File > Save As > Web Page, Filtered) to reduce code bloat that often triggers validation errors.

[IMAGE CALLOUT: Screenshot showing Word’s “Save as Web Page, Filtered” option]

Step 2: Validate your EPUB file with free tools

The easiest way to find errors is running your EPUB through a validator. The gold standard is the W3C EPUB Validator.

How to validate:

  1. Export your manuscript as an EPUB file.
  2. Visit W3C EPUB Validator.
  3. Upload your EPUB using “Validate by File Upload.”
  4. Review errors (must fix) and warnings (should fix if possible).

[IMAGE CALLOUT: Screenshot of W3C EPUB Validator showing a typical error report]

Step 3: Interpret error messages

Validation reports can be technical. For example:

Line 15, Column 24: The element "img" must have an "alt" attribute.

Means your images lack alternative text, an accessibility and validation requirement.

Or:

Error: The file "styles.css" is referenced but missing in the EPUB archive.

Means your EPUB references a CSS file that’s not actually included.

Step 4: Fix common errors

  • Add missing alt tags: <img src="cover.jpg" alt="Cover of Google Panic Repeat">.
  • Close unclosed tags: Use a code editor like Visual Studio Code or Sublime Text.
  • Fix broken references: Verify all file paths in content.opf.
  • Correct metadata: Ensure ISBN and author info are accurate in content.opf.
  • Simplify CSS: Remove unsupported styles like fixed widths or floats.

Step 5: Re-validate after each fix

Upload your EPUB repeatedly until the validator reports zero errors.

Step 6: Test on real devices

Validation ensures compliance but not perfect display. Test on:

  • Adobe Digital Editions (Windows/Mac)
  • Apple Books (iOS/macOS)
  • Kobo eReader or app
  • Kindle Previewer (for Amazon-specific conversion)

[IMAGE CALLOUT: Photo showing multiple eReader devices for testing EPUBs]

Step 7: Prepare for platform quirks

  • Amazon KDP: EPUB must convert flawlessly to MOBI/KF8. Use Kindle Previewer (File > Open Book > Select EPUB) to simulate conversion.
  • Apple Books: Requires accessibility features like alt text and clear navigation.
  • Kobo: Demands accurate metadata and supports fixed-layout EPUBs for children’s or illustrated books.

UK-Specific Considerations for EPUB Validation

Nielsen ISBNs and Metadata Compliance

In the UK, ISBNs come exclusively from Nielsen Book Services:

ISBN OptionPrice (£)
Single ISBN93
Block of 10 ISBNs174

Embedding your Nielsen ISBN correctly in the EPUB metadata is essential. This ensures proper classification in retailer databases and library catalogues.

Correct embedding example in content.opf:

<dc:identifier id="BookId" opf:scheme="ISBN">9781234567890</dc:identifier>

Using free KDP ISBNs assigns Amazon as publisher, which is a branding and rights compromise.

VAT and Pricing Implications

Print books are zero-rated for VAT in the UK, but eBooks attract 20% VAT. Validation delays can cause missed sales periods and VAT reporting headaches.

UK Market Size and Growth

The UK publishing market hit £7.1 billion in 2023, with self-publishing growing by 68% in five years. Retailers like Waterstones and the British Library prefer clean EPUBs with Nielsen metadata for discoverability.

Retailer Requirements in the UK

  • Apple Books UK: Strict on accessibility—alt text, headings, and navigation.
  • Kobo UK: Supports fixed-layout EPUBs but these often cause validation errors if mishandled.
  • Amazon UK: Requires flawless EPUB to MOBI conversion and correct metadata.

Common Mistakes and How to Avoid Them

Mistake 1: Hiring cheap or inexperienced formatters

I’ve seen authors pay £130+ for formatting only to receive error-ridden files. Fiverr gigs charging £5 are often worse—sometimes even using stolen images, risking legal trouble.

Before launching publishing.co.uk, I hired a formatter for £130 who delivered a mess. Fixing it cost me hours of frustration. That’s why I always recommend checking validation reports and samples before paying anyone.

Mistake 2: Ignoring validation until the last minute

Authors often upload EPUBs hoping for the best, only to face rejection panic.

Tip: Validate every time you export a new version.

Mistake 3: Overcomplicating layouts

EPUBs are fluid, not fixed like PDFs. Complex tables, multi-columns, or embedded fonts often cause errors or display issues.

Tip: Keep formatting simple and consistent.

Mistake 4: Incorrect font embedding

Wrongly embedded fonts cause fallback to default system fonts, ruining design.

Tip: Check font licences and embed fonts properly via CSS @font-face.

Mistake 5: Skipping accessibility

UK retailers prioritise accessibility. Missing alt text or poor structure reduces your reach.

Tip: Use tools like axe Accessibility Checker or Sigil’s built-in checks.


Tools and Resources for EPUB Validation

Free Validators

EPUB Editors

  • Sigil: Free, open-source EPUB editor with validation and accessibility features.
    https://sigil-ebook.com/

  • Calibre: Popular free eBook manager with basic editing and validation.

  • Adobe InDesign: Industry-standard layout software with EPUB export.

Preview and Conversion

  • Kindle Previewer: Amazon’s official tool to preview EPUB conversion to Kindle format.

  • Adobe Digital Editions: Free desktop EPUB reader.

  • Apple Books: Native EPUB preview on macOS/iOS.

Publishing.co.uk’s Automated Formatter

Our platform automates producing KDP- and EPUB-compliant files that pass validation first time. It removes guesswork and technical headaches for UK authors, ensuring correct ISBN metadata and compliance with UK retailer requirements.

[IMAGE CALLOUT: Tool comparison matrix showing features, costs, and validation capabilities of popular EPUB tools]


Cost Breakdown: What UK Authors Should Expect

Service / ItemTypical UK Cost (£)Notes
Single Nielsen ISBN93Essential for owning publishing rights
Block of 10 ISBNs174More cost-effective for multiple titles
Professional EPUB Formatting120 - 350+Depends on complexity and formatter expertise
DIY Tools (free)0Time investment can be significant
Editing Software (Sigil, Calibre)FreeOpen-source or free community tools
Kindle PreviewerFreeEssential for Amazon-specific validation and preview
Publishing.co.uk formattingFrom £99Automated, UK-tailored formatting service
Time investment£50-£200+ (opportunity cost)Time spent learning and fixing errors yourself

Time Costs

Fixing validation errors yourself can take days or weeks. Using professionals or automated services can slash this to hours, crucial for timely launches.

Hidden Costs

  • Delayed launches: Missed sales windows cost hundreds or thousands.
  • Reputation damage: Poor formatting leads to bad reviews.
  • Legal risks: Using unlicensed fonts or images can cause takedowns.

Real-World Case Studies and Examples

Case Study 1: The £130 Formatter Disaster

A UK author paid £130 for formatting, but the EPUB was rejected due to missing alt text, broken CSS, and invalid metadata. Fixing took 20 hours, delaying launch by two weeks and costing over £280 (formatter + lost time).

Lesson: Validate early and consider automated tools like publishing.co.uk.

Case Study 2: Embedding Nielsen ISBN Correctly

A UK author bought 10 Nielsen ISBNs for £174 but failed to embed them correctly, causing Apple Books UK to reject the EPUB. After fixing metadata, the books were accepted across retailers.

Lesson: Buying ISBNs is not enough—proper embedding is critical.

Case Study 3: Accessibility Boosts Sales

A London children’s publisher updated EPUBs with alt text and navigation. Apple Books UK featured the book in “Best Accessible Books,” increasing sales by 35% in three months.

Lesson: Accessibility is both compliance and marketing.


Expert Tips from 25 Years in the Industry

  • Validation is a sales funnel gateway: Even the best marketing fails if your EPUB is rejected or poorly displayed.

  • Automate but verify: Tools like publishing.co.uk’s formatter save time but always check metadata and preview files.

  • Metadata is your digital handshake: Correct ISBNs and consistent author info improve discoverability on UK platforms like LoveReading.co.uk.

  • Accessibility is mandatory: UK laws and retailers demand inclusivity—alt text, navigation, logical reading order.

  • Avoid last-minute fixes: When I formatted Google. Panic. Repeat., fixing errors took longer than writing. Start early.

  • Practical UK workflow example:

    1. Write and format in Scrivener or Word.
    2. Export as EPUB or HTML.
    3. Open EPUB in Sigil.
    4. Run Sigil’s validation and accessibility checks.
    5. Fix errors inline.
    6. Validate with W3C EPUB Validator.
    7. Test on Apple Books, Adobe Digital Editions, Kindle Previewer.
    8. Embed Nielsen ISBN metadata manually if needed.
    9. Upload confidently.

[IMAGE CALLOUT: Step-by-step process diagram for EPUB validation and correction workflow]


Frequently Asked Questions

What is the most common EPUB validation error UK authors face?

The biggest issue is incorrect or missing metadata, especially ISBN entries, which cause retailer rejection or misclassification. This is often due to cheap or inexperienced formatters.

How much does professional EPUB validation cost in the UK?

You can DIY for free but expect to invest significant time. Professional formatting ranges from £120 to £350+, while automated services like publishing.co.uk start at around £99, offering a reliable balance.

Which tools are best for UK authors to validate EPUBs?

The W3C EPUB Validator is the industry standard. Sigil and Calibre are popular for editing and validation. Kindle Previewer is essential for Amazon-specific checks. Many UK authors also use publishing.co.uk for hassle-free formatting.

How long does EPUB validation usually take?

For experienced users, a few hours suffice. Beginners may spend days or even weeks, especially if multiple iterations are needed.

Can I fix EPUB validation errors myself or should I hire a professional?

If you have technical aptitude and time, you can do it yourself. However, many UK authors find it more efficient to use automated services or hire professionals familiar with UK market and retailer requirements.

What UK-specific EPUB validation requirements should I know?

UK retailers expect correctly embedded Nielsen ISBNs, VAT-compliant pricing, and strict accessibility compliance. Apple Books UK is particularly demanding on accessibility and metadata accuracy.


[IMAGE CALLOUT: Before-and-after comparison showing a poorly formatted EPUB versus a validated, clean EPUB]


About the Author

Robert Prime is a best-selling self-published author, veteran eCommerce strategist, and the founder of publishing.co.uk. With over 25 years of experience in digital business and 15 successful exits, he brings a battle-tested perspective to the publishing industry. After experiencing firsthand the archaic, headache-inducing process of formatting a KDP-compliant book for his own best-seller, Google. Panic. Repeat., Robert built publishing.co.uk to solve the problem for other authors. He is also a co-owner of the LoveReading.co.uk network (the UK’s largest book review platform), founder of the Amazon growth agency MrPrime.com, and a member of the Forbes Business Council.


This comprehensive guide empowers UK authors to navigate the complex terrain of EPUB validation errors, saving time, money, and frustration, and positioning their books for success in a competitive market.

Robert Prime

Robert Prime

Robert Prime is a best-selling self-published author, veteran eCommerce strategist, and the founder of publishing.co.uk.

Robert Prime — Founder of publishing.co.uk

About the Author

Robert Prime

Robert Prime is a best-selling self-published author, veteran eCommerce strategist, and the founder of publishing.co.uk. With over 25 years of experience in digital business he brings a battle-tested perspective to the publishing industry. After experiencing firsthand the archaic, headache-inducing process of formatting a KDP-compliant book for his own best-seller, Google. Panic. Repeat., Robert built publishing.co.uk to solve the problem for other authors. He is also a co-owner of the LoveReading.co.uk network (the UK's leading book discovery platforms), founder of the Amazon growth agency MrPrime.com, and a member of the Forbes Business Council.