On this page
A working link in your manuscript does not guarantee a working link in the exported ebook. Paths, chapter IDs, and table-of-contents entries can change during conversion. This checklist explains how to check links in an EPUB before publication, both by inspecting the file and by opening it in reading apps.
Key Takeaways
- Test the exported EPUB, not just the manuscript or a web preview.
- Open every external link and check the final destination, including any fragment after
#. - Follow chapter links, footnote links, and table-of-contents entries in more than one reading environment.
- Keep a record of failures, repair the source, and repeat the checks on the newly exported file.
- A structural validator is useful, but it cannot tell you whether a destination is still useful to your readers.
Prepare a link-checking copy
Export the EPUB you intend to publish and save an untouched copy. Record its filename and export date so you do not accidentally test an older build. If your publisher or retailer modifies the file, also test the version they make available for review when possible.
Create a simple tracking sheet with these columns:
| Location in ebook | Link or destination | Environment | Result | Fix and retest |
|---|---|---|---|---|
| Chapter 2, resources | External website | Desktop reader | Pending | — |
| Contents, Chapter 3 | Chapter heading | Mobile reader | Pending | — |
Include front matter, back matter, images used as links, footnotes, and any bibliography—not just the main chapters. If the book contains many links, group the sheet by chapter and mark each item as you test it.
Advertisement
Check every external URL
With internet access enabled, open the EPUB in a reading app and follow each web link. Then check the destination in a browser as needed.
- The link opens: Distinguish a broken ebook link from a reading app that blocks external navigation or asks for confirmation.
- The page still exists: A removed page may show an error, a generic homepage, or a notice that the content has moved.
- Redirects lead somewhere appropriate: Check the final page and its domain, not just whether something loads. Update the ebook link if the destination has changed and you have an appropriate replacement.
- The intended section is visible: For a URL ending in a fragment such as
#resources, confirm that the final page reaches the intended section. A page can load even when its fragment target no longer exists. - Access is suitable for readers: Check whether the content requires an account, subscription, institutional login, or regional access. Try a signed-out or private browser session and disclose unavoidable restrictions in the book.
- The content is still relevant: A successful response does not prove that a page contains the promised material. Check its title and content against the surrounding text.
Avoid publishing personal, temporary, or signed access links. Do not enter credentials into an unexpected destination reached through a redirect. If a source is unavailable, replace it with an appropriate stable source or revise the text rather than silently linking to an unrelated page.
Check internal links and chapter jumps
Start at each link's actual location in the reading app. Select it and verify that it lands on the intended heading, illustration, note, or other passage. Check links within a chapter as well as links between chapters. If your reader provides a back-navigation control, use it to check the return journey; test explicit return links separately.
For a broken jump, inspect a copy of the EPUB using an archive utility. An EPUB is a ZIP-based package containing the book's documents. Find the source XHTML file, its link's href, and the destination document. Relative paths are resolved from the document containing the link.
For example, suppose ch01.xhtml and ch02.xhtml are in the same Text folder. A link in the first file might be:
<a href="ch02.xhtml#start">Read chapter two</a>
The destination document needs a matching target, for example:
<h1 id="start">Chapter Two</h1>
The filename and fragment must match the exported files and their IDs. Check capitalization, spelling, and whether the target was removed or renamed during export. A link without a fragment may open the document without landing at a specific heading. Fragment identifiers in external URLs need their own checks on the destination website.
These snippets illustrate what to look for; they are not a complete EPUB. Do not assume that editing an extracted file repairs the published book: make the fix in your publishing source or build process, export again, and retest.
Check table-of-contents destinations
Open the reader's table of contents and select every entry, including nested headings. Confirm that each opens the correct chapter or section, not merely a nearby page. Also test any visible contents page in the book: it can contain separate links from the reader's navigation menu.
If an entry fails, inspect the exported navigation document. In an EPUB 3 package, the package manifest identifies the navigation document with the nav property; its table-of-contents navigation links point to destinations in the book. Resolve each relative path from the navigation document's location, then check the target file and fragment ID. For example, a navigation document beside the Text folder could link to Text/ch02.xhtml#start.
An EPUB may also contain an older NCX navigation file for compatibility. If your publishing workflow includes one, check the destinations it supplies as well. A reader's displayed navigation can differ from the visible contents page, so checking only one is not enough.
Advertisement
Test in multiple reading environments
Use at least two reading environments that represent your audience—for example, a desktop EPUB reader and a mobile reading app. If you are publishing through a retailer, include its intended app or device when you can. Load the same export into each and repeat the external-link, internal-jump, and contents checks.
Record the app, device or operating system, and result in your tracking sheet. Look for differences in whether an external link opens or prompts for confirmation, where an internal jump lands, how nested contents are presented, and whether readers can return after following a link. These are things to test, not guarantees about a particular app.
This article's examples have not been tested across devices. The EPUB 3.3 specification and documentation for a specific reading system were not available for consultation in preparing this checklist. Before release, consult the documentation for the EPUB version and reading apps in your distribution workflow, and verify any app-specific limitations yourself.
Validate, fix, and repeat
Run an EPUB conformance checker such as EPUBCheck as part of your export workflow, following the tool's own installation and usage instructions. Review reported errors and warnings; a clean structural check is not a substitute for opening links in a reader or checking the content of external pages.
After fixing a problem:
- Export a new EPUB and identify it in your tracking sheet.
- Run the structural check again.
- Retest the corrected link in each relevant environment.
- Retest related navigation entries and any links that could have been affected by a renamed file or heading ID.
- Before publication, perform a final pass on the exact file being submitted.
Common Mistakes
- Testing only in the manuscript: The conversion may produce different paths or IDs.
- Checking only the first contents entry: Later entries and nested sections can point to the wrong target.
- Treating a loaded page as a successful link: It may be a redirect to an unrelated page, an account wall, or a missing section.
- Assuming a validator tests website usefulness: It cannot establish that an external resource still says what your book promises.
- Fixing an extracted copy but submitting the old export: Repair the source or build and verify the final artifact.
Best Practices
Use descriptive link text so readers know where a link should lead. Prefer durable public resources when possible, and note when a destination requires a paid or institutional account. Keep your link inventory with the project so you can repeat the checks before later editions.
Conclusion
A reliable EPUB link check combines structural inspection with hands-on reading-app tests. Verify every destination in the final export, document problems, and repeat the checks after changes.
What would your domain sell for?
A free TidyURLs account unlocks the Domain Estimator. It prices a name from 191,011 real domain sales.