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.
Want to avoid KDP upload rejections?
Review formatting packages, check support details in the FAQ, and send your file for review.
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, check package pricing, and use the inquiry form for a confirmed timeline.
Understanding KDP's Actual Strategy
Why does KDP accept broken files while other platforms reject them?
Amazon's perspective: "We have billions of dollars in technology to convert and adapt formats. We can accept ANY file and make it work. The reading experience on our platform is what matters, not the technical correctness of the input file."
The business reason: Amazon wants to reduce friction for new authors. The easier you can publish, the more books become available on Kindle. More books = more content for Kindle customers = more Kindle sales.
So Amazon deliberately accepts broken files because it's strategically worth it to them. They fix the problems on their end.
The consequence for authors: You can publish a technically broken EPUB on Amazon and readers will never know. But this same broken file fails on every other platform.
This creates a false sense of security: "My EPUB works on Amazon, so it must be fine." Then you try to go wide and face validation errors you didn't know existed.
How to Test Your EPUB Before Uploading
Test 1: EPUBCheck (Free, Online)
- Go to validator.w3.org/epub-validator
- Upload your EPUB
- Scan the output for any errors marked "ERROR" (vs. "WARNING")
- If you have 0 errors, your EPUB is technically valid
- If you have errors, you'll need to fix them before uploading to Apple/Kobo
Test 2: Kindle Previewer (Free, Desktop)
- Download Kindle Previewer from Amazon
- Open your EPUB in it
- Check: Do all chapters appear? Are fonts rendering? Are images showing? Are links working?
- Kindle Previewer simulates how your book will look on Kindle devices
- This catches visual issues that EPUBCheck won't
Test 3: Real Device (If You Have One)
- Email your EPUB to your Kindle email address
- It should appear on your Kindle within minutes
- Read the first few chapters on an actual device
- This is the most realistic test—you see exactly what readers will see
If your EPUB passes all three tests, you're safe to upload to any platform.
The Professional Alternative
If validation errors overwhelm you, remember: A professional formatter handles all of this before delivery.
When I format your EPUB, I:
- Build the file with W3C compliance in mind from day one
- Run EPUBCheck before sending it to you
- Fix any errors that appear
- Deliver only files that pass strict validation
You get zero validation errors. No EPUBCheck debugging. No "invalid content found" rejections. Just a file ready to upload to any platform.
The Bottom Line
KDP validation isn't designed to torture you. It protects readers from broken books. And it's lenient by design to encourage authors to publish.
But that leniency creates a problem: files that pass KDP often fail everywhere else. The solution is to either:
- Test thoroughly yourself using EPUBCheck, Kindle Previewer, and a real device before uploading to other platforms
- Hire a professional to guarantee your file passes all validation standards from day one
The first option costs time. The second costs money. Choose based on what you have more of.
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.