local/tools
docs / Native app / v1.0.2

EPUB Validator

Validate EPUB files with EPUBCheck and repair common errors.

Install

  • install
    irm https://raw.githubusercontent.com/chayprabs/localtools/main/epub-validator/install.ps1 | iex
  • update
    localtools-epub-validator update
  • remove
    localtools-epub-validator uninstall

Opens at http://127.0.0.1:47136 in your browser. Run localtools-epub-validator --help for the command line. Set LOCALTOOLS_NO_OPEN=1 to install without opening it.

Direct download

PlatformFileSize
Linux ARM64epub-validator-1.0.2-linux-arm64.zip80.8 MB
Linux x64epub-validator-1.0.2-linux-x64.zip81.6 MB
macOS Apple Siliconepub-validator-1.0.2-macos-arm64.zip77.8 MB
macOS Intelepub-validator-1.0.2-macos-x64.zip79.2 MB
Windows x64epub-validator-1.0.2-windows-x64.zip78.5 MB

SHA-256 checksums are in the release notes; the install scripts verify them for you.

See it

How to use

  1. Start it and drop one or more .epub files onto the page.
  2. Pick a profile (default, dictionaries, EDUPUB, indexes, previews) and the language for EPUBCheck's messages.
  3. Press Check: messages are grouped by severity with file, line and column and a link to the EPUBCheck reference.
  4. Press Repair to get a fixed copy: every change is listed, and the original and repaired books are both re-checked.
  5. Download the repaired EPUB and the report as JSON or HTML.

FAQ

Is this the real EPUBCheck?

Yes, the official W3C EPUBCheck 5.4.0 runs on your machine. Its messages are identical to running epubcheck.jar yourself with the same options (tested).

Do I need Java?

No. A trimmed Eclipse Temurin 21 runtime with only the modules EPUBCheck uses is bundled.

What does Repair change?

Only packaging problems that cannot change your book's content: mimetype order and compression, manifest media types and unlisted files, missing identifiers and modification dates, a missing navigation document or NCX, and stray & or HTML entities in XHTML. Everything else is flagged for a manual fix, and the original is never modified. A repair that would leave more EPUBCheck errors than the original is never kept.

Does anything leave my computer?

No. EPUBCheck runs offline under a Java security policy with no network access, so even remote DTDs or resources referenced by a book are never fetched.

How large can a book be?

Up to 256 MiB and 10,000 files per EPUB; each check is limited to 180 seconds and 1 GiB of Java heap.