Check and fix your EPUB. Free, in your browser.

Drop in your ebook to see every problem that makes EPUBCheck or a store turn it away, explained in plain words. One button repairs the ones that are safe to repair.

Your file never leaves your computer.

Drop your EPUB hereCheck your EPUBLet go to check it

or choose it from your computerChoose the .epub file on this device

Up to 200 MB · read right here, never uploaded

  • Finds what makes EPUBCheck and the stores say no
  • Explains each problem in plain words
  • Repairs only what is safe, on a copy

No EPUB at hand?

What it checks

The problems that stop a book at the store.

The checks follow the EPUB rules and the messages EPUBCheck gives, so you can match each problem to the code a store sends you.

The package

The mimetype file first and uncompressed, META-INF/container.xml, and a package file (.opf) that is well-formed XML.

The book’s details

Title, language and a unique identifier, and the last-modified date EPUB 3 asks for.

The file list

Every file listed once in the manifest, none missing, each with the type it really has.

The reading order

No missing or repeated pages, and every page a link leads to is part of the book.

The tables of contents

The EPUB 3 navigation page and the older NCX, with entries that lead somewhere.

The pages

Strict XHTML: tags closed, no HTML entities like  , no lone “&”, no id used twice, UTF-8 text.

The links

Every link, picture and stylesheet points to a file that is there, and to a spot on the page that exists.

Pictures, names and DRM

Pictures are the kind they claim, file names are safe, the cover is marked, and protected books are recognised.

Fix automatically

What it repairs

  • Puts the mimetype file first, uncompressed, and writes container.xml when it’s missing.
  • Adds a missing title, language, identifier or last-modified date (you see the title and language before it does).
  • Corrects the manifest: missing and unlisted files, wrong spellings, wrong types, repeats.
  • Cleans the reading order and fills in an empty table of contents, from your chapter headings when there are any.
  • Rewrites broken markup as strict XHTML, HTML entities as plain characters, and lone “&” as &.
  • Renames repeated ids and files with spaces or forbidden characters, and updates every link to them.

Always

What it leaves alone

  • Your words. The text stays the same; only broken markup around it is rewritten.
  • Your styles. CSS files aren’t changed, except for a link to a file that was renamed.
  • Your pictures and fonts, copied byte for byte.
  • Your original file. You download a copy named “…-fixed.epub”, with a list of every change.
  • Books with DRM. Their pages are encrypted, so they can’t be repaired by anyone without unlocking them.

An honest note. This is our check for the problems we see most often, not the official EPUBCheck. It catches what usually stops a book at the store, but EPUBCheck tests hundreds of rules. Before you publish, run your final file through EPUBCheck, the free validator from the W3C, or let the store check it when you upload.

Questions

Good to know.

Is this the same as EPUBCheck?

No. EPUBCheck is the official, free EPUB validator from the W3C, and many stores run it on every book you upload. This page checks the problems we see most often and repairs the safe ones in your browser. For the final word before you publish, run the file through EPUBCheck.

Is my book uploaded?

No. Your browser opens the file on your computer. The page only downloads its own code from tellurin.com, including fflate, an open-source zip library. Your book is never sent anywhere.

What does “Fix automatically” change?

Only what can be repaired without guessing: the order of the files in the archive, the lists and details in the package file, the tables of contents, and markup that isn’t strict XHTML. Your text, styles and pictures stay as they are. You see every change, and you get a new file ending in “-fixed.epub”. Your original isn’t touched.

Why does my EPUB open in a reading app but fail at the store?

Reading apps forgive mistakes, the way web browsers do. Stores check the file against the EPUB rules before they accept it, so a book can look fine on your tablet and still be turned away.

Can it repair a book with DRM?

No. DRM encrypts the pages, so they can’t be read or changed, and we don’t remove protection. Repair the file you made yourself, the one you sent to the store.

How do I make an EPUB that passes from the start?

Make it in an app that follows the EPUB rules. Tellurin makes EPUB 3 for each store, Kobo KEPUB and EPUB 2 from the same book, and it can import an EPUB, so you can bring an old ebook in and export a new one.