Repair EPUB

A book that throws "not a valid EPUB" usually has broken packaging, not broken content. This tool runs a health check, rebuilds the container and mimetype entries, clears dead references, and hands you back a cleanly packed file — entirely in your browser. Free, no upload, no signup.

Browser-based

Your file is processed locally without waiting for a server conversion queue.

No upload required

Files stay in your browser, which is ideal for private drafts and personal libraries.

Free ebook tool

Merge and split ebook files without signup, credits, watermarks, or installation.

Why EPUB files break

An EPUB is a ZIP with strict rules: an uncompressed mimetype entry first, a container.xml pointing at the package file, and a manifest that matches the files inside. Sloppy exporters, interrupted downloads and manual re-zipping break those rules constantly — and readers refuse the whole book for it.

The good news: the chapters themselves are almost always intact. Fixing the packaging is enough to bring the book back.

What can — and cannot — be repaired

Repairable: missing or invalid container.xml, misplaced or compressed mimetype entries, manifest and spine references to files that do not exist, missing navigation documents.

Not repairable: a ZIP archive truncated mid-download or corrupted at the byte level, and content that was never in the file. No tool can rebuild chapters that are not there — if repair fails, re-download the original file.

How to repair an EPUB file

1

Select your broken EPUB

Open the file from your device. It is examined locally — a damaged book is exactly the kind of file you don't want to upload.

2

Run the health check

The structure is checked and everything fixable is repaired: container, mimetype entry, dead references, missing TOC.

3

Download the repaired EPUB

Save the fixed file and open it in your reader. A report shows exactly what was repaired.

Frequently asked questions

Broken packaging: invalid container.xml, wrong mimetype entry, manifest or spine references to missing files, and missing table-of-contents files — the majority of "won't open" cases. If the book opens fine but its table of contents is broken, use the EPUB TOC fixer instead.

Need to translate an EPUB?

e-ink.me translates entire e-books between languages and delivers the translated EPUB straight to your reader.

Translate this EPUB