What KDP Really Checks During EPUB Validation (And Why It Matters)
Amazon's EPUB validation catches specific errors that break reading experiences. Learn the top 4 issues that cause KDP rejection and how to fix them.
You upload your EPUB to KDP, click "Publish," and see: "Your file contains validation errors and cannot be published."
The error message is cryptic. You Google it. You find 47 different solutions. Nothing works.
Let's break down what Amazon actually checks and how to avoid the most common rejections.
What Is EPUB Validation?
When you upload an EPUB to KDP, Amazon runs automated checks to ensure:
- File structure is correct
- Fonts are legally embedded
- Images meet technical requirements
- Links work correctly
- File size is under 650MB
- The EPUB meets accessibility standards
If your file fails any check, KDP rejects it—often with unhelpful error messages like "Invalid content found in the EPUB."
The 4 Most Common KDP Validation Failures
1. Font Embedding Errors
The Error: "The EPUB contains fonts that are not properly embedded or licensed."
What Causes It:
- Font file is corrupted or incomplete
- Font isn't licensed for EPUB embedding
- CSS references a font that doesn't exist in the package
Real Example: "I used Google Fonts. The file looked perfect in Apple Books. KDP rejected it—the free version doesn't allow EPUB embedding."
How to Fix It:
- Only use fonts explicitly licensed for EPUB embedding
- Verify font file exists in the fonts/ folder
- Use web-safe fallback fonts:
font-family: 'Custom Font', Georgia, serif;
Pro Tip: When unsure, stick with standard fonts like Georgia or Arial.
2. Character Encoding Errors
The Error: "The EPUB contains invalid characters or encoding issues."
What Causes It:
- Non-UTF-8 encoding (Windows-1252, ISO-8859-1)
- Smart quotes displaying as “ or ’
- Special characters not properly converted
Real Example: "My EPUB looked fine in Calibre but on Kindle, all my smart quotes turned into weird symbols. Had to reconvert everything to UTF-8."
How to Fix It:
- Always save XHTML files as UTF-8 encoding
- Use proper character entities:
'for apostrophes,“and”for quotes - Run text through a UTF-8 converter before generating EPUB
Pro Tip: If you copy-paste from Word or Google Docs, encoding errors are almost guaranteed. Use a text editor with UTF-8 support.
3. Broken Internal Links
The Error: "The EPUB contains broken links or references to missing files."
What Causes It:
- Table of Contents references a chapter file that doesn't exist
- Image was deleted or renamed
- Anchor link (#chapter-5) doesn't match actual ID
Real Example: "I renamed 'Chapter 5.xhtml' to 'chapter-05.xhtml' for consistency. Forgot to update the TOC. KDP rejected it. Took 2 hours to figure out."
How to Fix It:
- Validate with EPUBCheck before uploading to KDP
- Double-check every TOC link points to an existing file
- Test all hyperlinks (websites, emails, internal chapters)
Pro Tip: Use relative links (chapter-1.xhtml) instead of absolute paths.
4. Invalid XHTML Syntax
The Error: "The EPUB contains invalid HTML or XML."
What Causes It:
- Unclosed tags (
<p>Text hereinstead of<p>Text here</p>) - Special characters not escaped (
&instead of&) - Missing XML declaration
Real Example: "My EPUB validated in Calibre but failed on KDP. I had an unescaped ampersand in a chapter title. Changed 'Jack & Jill' to 'Jack & Jill' and it worked."
How to Fix It:
- Run your EPUB through EPUBCheck
- Escape special characters:
&→&,<→<,>→> - Use proper EPUB editor (Sigil, Calibre) instead of manually editing
Pro Tip: EPUB errors are invisible in e-reader previews but break KDP validation. Always validate before uploading.
How to Validate Your EPUB Before Uploading
Step 1: Use EPUBCheck (Official Validator)
EPUBCheck catches 90% of errors before KDP sees them.
- Online: https://validator.w3.org/epub-validator/
- Desktop: Download from GitHub
Step 2: Preview in Kindle Previewer
Download Amazon's free Kindle Previewer. It shows exactly how your book will look.
- Test on multiple devices (Paperwhite, Fire, iPhone app)
- Check for formatting issues, broken images, font problems
Step 3: Sideload to a Real Device
If you own a Kindle:
- Email the EPUB to your Kindle email address
- Read the first few chapters like a real reader
Why KDP Validation Fails (Even When Your EPUB Looks Fine)
Your EPUB might display perfectly in:
- Apple Books
- Calibre
- Adobe Digital Editions
- Kobo e-readers
But KDP uses stricter rules. Amazon wants to ensure your book works flawlessly on:
- Old Kindle models (Kindle Keyboard from 2010)
- Kindle Fire tablets
- Kindle iOS/Android apps
- Kindle for PC/Mac
One broken font or invalid link can break the experience for millions of users.
Other Common Issues
File Size Over 650MB
- Usually caused by high-resolution images
- Compress images to 72-96 DPI (e-readers don't need 300 DPI)
- Use JPEG for photos, PNG for graphics
Missing Metadata
- Required: Title, Author, Language, Unique Identifier
- Add in content.opf file
Accessibility Violations
- Add alt text to all images
- Use proper HTML structure (
<h1>,<h2>,<p>tags) - Include language attribute on
<html>tag
The Nuclear Option: Hire a Professional
If you've tried everything and your EPUB still fails: Stop wasting time.
A professional formatter will:
- Fix validation issues and re-check the file before upload
- Test on multiple devices
- Handle formatting-related upload issues at no extra cost
Cost: $150-300 for most novels
Time saved: 10-20 hours of troubleshooting
If you want this handled for you, review my KDP formatting service pricing and check the formatting FAQ for turnaround, revisions, and accepted file formats.
The Bottom Line
KDP validation isn't designed to torture you. It protects readers from broken books.
The most common errors:
- Font embedding issues
- Character encoding problems
- Broken links
- Invalid XHTML syntax
The best way to avoid them:
- Use EPUBCheck before uploading
- Preview in Kindle Previewer
- Test on a real Kindle device
If you're stuck: Hire a professional. It's faster and cheaper than spending 20 hours Googling.
Need a KDP formatting service that fixes validation issues?
I specialize in ebook formatting and broken EPUB fixes for indie authors. Your file is formatted for KDP requirements, and I handle formatting-related upload issues at no extra cost.