iloveepub
Menu
PT

2026-11-04 · 8 min de leitura

How to Fix a Broken EPUB: A Complete Troubleshooting Guide

A book that won't open is usually broken packaging, not broken text. Match your symptom to the failing layer — archive, container, TOC or content — then apply the right repair, and know which cases no tool can fix.

EPUBTroubleshootingRepair


An EPUB that refuses to open is one of the more alarming everyday file problems: the book is right there, and the reader just shrugs. The reassuring truth, once you have seen a few hundred of them, is that the text inside is almost always intact. What breaks is the packaging around it — the ZIP archive rules, the pointer files, the table of contents — and packaging is repairable.

Books break for undramatic reasons: an exporter with a buggy ZIP writer, a download that stopped halfway, a cloud-sync conflict that stitched two copies of an archive together, someone re-zipping a book with the wrong tool. Readers enforce the EPUB rules strictly, so a one-byte defect in the plumbing can get the whole book refused while every chapter sits inside, unharmed.

This guide works backwards from what you see on the screen: match your symptom, find the layer that failed, fix that layer — and know in advance which cases no tool can fix.

The short answer

Most broken EPUBs are broken packaging, and packaging can be rebuilt. The map from symptom to fix:

  • The book won't open at all — the reader calls it invalid or refuses it outright. That is structural damage: the container, the mimetype entry, broken internal references. A structural repair like Fix My EPUB or Repair EPUB fixes it in minutes.
  • The book opens, but the table of contents is missing or wrong — rebuild it from the book's own chapter list with Fix EPUB TOC.
  • The shelf shows a filename and a blank tile instead of a title and cover — not corruption. Missing metadata and a missing cover declaration, fixable in about a minute.
  • The book opens, but the layout is a mess — not a broken file at all. That is an editing problem, not a repair problem.
  • The file is a truncated download or DRM-protected — genuinely unfixable, and each has a correct next action that is not "try another converter".

Four layers, four kinds of breakage

An EPUB is a ZIP archive full of web pages plus bookkeeping files. Picture it in four layers, and every repair maps to one of them:

  1. The archive — the ZIP container itself.
  2. The plumbing — the rules that tell a reader where things are: the mimetype entry, META-INF/container.xml, and the package document (the OPF) with its manifest and spine.
  3. The navigation — the table-of-contents documents: nav.xhtml for EPUB 3, toc.ncx for EPUB 2, and often both.
  4. The content — the XHTML chapters, CSS and images you actually read.

Readers validate from the top down: they check the archive and the plumbing before reading a single word. That is why a defect in layer two can kill the entire book while the text in layer four is untouched — and why "won't open" is the most fixable symptom of all.

Symptom: the book won't open at all

The most common single defect is the mimetype entry. The spec requires it to be the very first record in the archive, stored uncompressed, with one exact content string. Many repackaging tools get this wrong — they compress it, or file it after other entries — and several readers refuse the whole book on that basis alone. The same tier holds container.xml, the shipping label that tells the reader where the package document lives; if it is missing or malformed, the reader cannot find the book inside the archive. One layer deeper, the manifest may reference documents and images that do not exist, or the spine may point at files that were never declared.

All of this is deterministically repairable. A structural repair rebuilds container.xml if needed, restores the mimetype entry to its required first position, clears the dead references, and hands you back a cleanly packed file. Repair EPUB is the single-purpose version of that job. Fix My EPUB wraps it in a fuller loop: a health check runs first and names what is wrong, the structural fixes apply automatically, and the same check runs again on the result before you download it — a repair you can verify, not just a success page.

If you are the hands-on type, rename the .epub to .zip, unpack it and look around; everything described above is visible in a file manager. The trap is the way back. Re-zipping the book with a regular archive tool is precisely how many books break: the tool compresses every entry and buries the mimetype, recreating the defect you were trying to fix.

Symptom: the book opens, but the table of contents is broken

Empty chapter menu, entries that lead nowhere, duplicated chapters, a TOC that stops halfway. The usual suspects are hand editing, buggy exporters and format conversions: anchors pointing at files someone deleted, an empty navigation document, an NCX that a converter silently mangled.

It helps to know that two tables of contents live in every EPUB — the EPUB 3 nav.xhtml and the EPUB 2 toc.ncx, and many books carry both for compatibility. A reader that finds one of them broken or empty shows no chapters at all, or worse, entries that go nowhere.

The robust fix does not patch the broken TOC; it rebuilds from the book's spine — the reading order the publisher declared — with one entry per chapter, titled after each chapter's own heading, written into both nav.xhtml and toc.ncx so whichever document your reader trusts, it gets a working TOC. Fix EPUB TOC does this and shows you a preview before writing anything.

Two honest limits. The rebuilt TOC is flat — one entry per chapter; deeply nested volume-and-part structures are flattened, which is the price of a TOC that works everywhere. And a print-style TOC page rendered inside a chapter is ordinary content, not navigation; rebuilding the navigational TOC does not rewrite that page.

Symptom: filename on the shelf, blank cover tile

A book that shows up as great_american_novel_final.epub with a gray tile is not corrupt. Library apps read exactly two things when they lay out a shelf: the cover declaration in the package metadata, and the dc:title and dc:creator elements. When either is missing, the reader improvises — the filename for a title, a generic tile for a cover — and owners assume the worst. Usually the book was simply published incomplete, or an earlier conversion stripped the metadata.

The fix takes a minute: fill in the real title and author, and declare a cover image. Use a dedicated metadata editor and a cover swap, or do it in one pass as part of Fix My EPUB, which treats shelf presentation as part of the book's health.

One gotcha eats more time than the fix itself: readers cache metadata at import time. After editing, remove the book from the reader and import the fixed file again. Skip that step and the shelf keeps showing the old information, and you will conclude — reasonably but wrongly — that the edit did nothing.

Symptom: it opens, but the text looks wrong

The last category is not a broken file; it is an unloved one. Tiny fixed font sizes, margins that ignore your settings, forced line breaks, styling that fights the reader. Repair tools will not help here, by design: they move chapters, styles and images through the archive byte-for-byte and rewrite only the broken structure.

What works is editing. Replacing or stripping the embedded fonts lets your reader's own typography take over; a CSS pass fixes margins and font sizes; a full EPUB editor handles chapter structure and stylesheets in one place. A useful diagnostic clue: if the book looks equally wrong in every reader, the book's own CSS is the culprit; if it looks wrong only on one device, suspect that device's quirks first.

What no honest tool can fix

Three failures are beyond repair, and it is better to know them by name:

  • A truncated or byte-corrupted archive. A download that stopped halfway is missing bytes, and no tool can invent them. The fix is to fetch the file again from the original source.
  • A book with no readable chapters inside. If the archive opens but contains nothing readable, there is nothing to rescue.
  • DRM. Store-protected books are encrypted by design. No browser tool can process them, removing the protection is not legal in most places, and the honest path is the store's or library's own app.

One more thing worth insisting on: a repair you cannot verify is a guess. Desktop tools hand you a fixed file and trust you to try it; upload-based services show a success page even when the book still fails validation. Prefer a repair that re-checks its own result before you download it.

A sane repair workflow

  1. Diagnose before touching anything. A health check that names the failing layer turns guesswork into a decision.
  2. Fix structure only. Chapters, images and stylesheets should move through the repair byte-for-byte; only the broken structural files get rewritten.
  3. Re-check the result. The same inspection that found the damage should pass the repaired file before you trust it.
  4. Keep the original. Work on a copy, and a repair that preserves your source file can never make things worse.

The privacy angle is not decoration here, either. A broken book is exactly the file you least want to hand to a server you cannot audit — it may be the only copy of something. Every tool linked above runs entirely in your browser; the file never leaves your device, which you can watch in the network inspector while it works.

The bottom line

Work from the symptom to the layer, and from the layer to the fix: won't-open means structural repair; a broken TOC means rebuild from the spine; a nameless shelf tile means metadata; ugly-but-openable means editing. The genuinely dead cases — truncation, empty archives, DRM — announce themselves early, and the right response is a re-download or the seller's app, not a fifth converter. Most of the time, the book you thought you lost is a two-minute repair away.

Ferramentas grátis, sem uploads

EPUB → smaller EPUBReduza o tamanho de um ficheiro EPUB recodificando imagens e removendo o lastro — bem no seu navegador.Abrir ferramenta →EPUB + EPUB → EPUBCombine vários livros EPUB num único ficheiro com um índice unificado.Abrir ferramenta →EPUB → EPUB × NDivida um EPUB em livros separados por capítulo, mantendo cada parte perfeitamente válida.Abrir ferramenta →EPUB → PDFTransforme um EPUB num PDF paginado para imprimir ou partilhar.Abrir ferramenta →PDF → EPUBConverta livros PDF em ficheiros EPUB fluidos, com texto redimensionável em qualquer leitor.Abrir ferramenta →EPUB → KEpubConverta um EPUB no formato melhorado KEpub da Kobo, inteiramente no seu navegador.Abrir ferramenta →EPUB → TXTExtraia todo o texto de um EPUB para um ficheiro de texto simples e limpo.Abrir ferramenta →EPUB → MarkdownConverta um EPUB num ficheiro Markdown estruturado, com títulos e listas preservados.Abrir ferramenta →TXT → EPUBTransforme um arquivo TXT comum em um e-book EPUB bem formatado, com capítulos.Abrir ferramenta →EPUB → HTMLConverta um EPUB em um único arquivo HTML autossuficiente com imagens e estilos incorporados.Abrir ferramenta →DOCX → EPUBTransforme um documento do Word em um e-book EPUB de texto fluido — os títulos viram capítulos.Abrir ferramenta →EPUB → DOCXTransforme um e-book EPUB em um documento Word (.docx) editável.Abrir ferramenta →EPUB ReaderAbra e leia ficheiros EPUB diretamente no seu navegador — nada para instalar.Abrir ferramenta →EPUB → word countConte as palavras, os caracteres, os capítulos e o tempo de leitura de qualquer EPUB.Abrir ferramenta →EPUB → audioOuça qualquer EPUB com a síntese de voz gratuita do navegador — sem upload, sem instalação.Abrir ferramenta →Fix My EPUBDiagnostique, repare e rechecque um EPUB com problemas — localmente, no seu navegador.Abrir ferramenta →EPUB EditorEdite texto, CSS, metadados e capas de EPUB direto no navegador.Abrir ferramenta →EPUB → new coverSubstitua a imagem de capa de um EPUB pela sua — com pré-visualização antes de guardar.Abrir ferramenta →EPUB → new metadataEdite o título, autor, ISBN e outros metadados do EPUB — localmente, sem uploads.Abrir ferramenta →Repair EPUBCorrija ficheiros EPUB que não abrem — contentor, mimetype e referências, no seu navegador.Abrir ferramenta →EPUB → new TOCReconstrua um índice de EPUB danificado ou em falta a partir da lista real de capítulos.Abrir ferramenta →EPUB → no imagesRetire todas as imagens de um EPUB — ficheiros mais leves para leitores e-ink e dispositivos antigos.Abrir ferramenta →EPUB → new fontsRemova as fontes EPUB incorporadas ou troque-as pelas suas — ficheiros mais leves e limpos.Abrir ferramenta →