
EPUBCheck
CLIW3C 官方的 EPUB 电子书合规检查器,由 DAISY 联盟维护,能找出书稿中不符合 EPUB 2/3 规范的问题并输出报告,自出版作者和编辑可在上架前自查。需要 Java,下载发布包后用 java -jar 运行。
EPUBCheck
EPUBCheck is the official conformance checker for EPUB publications. EPUBCheck can be run as a standalone command-line tool or used as a Java library.
EPUBCheck is open source software, maintained by the DAISY Consortium on behalf of W3C.
We Need Your Support!!
Financial support is critical to the development of EPUBCheck, the tool we all use to validate EPUB files.
We need to make sure that the resources are adequate to both update the tool and provide for its continued maintenance over the next two years;
please help us fund and support EPUBCheck, and join the list of donators!
Downloads
Check the releases page to get the latest distribution.
EPUBCheck v5.4.0 is the latest production-ready release, to be used to validate both EPUB 2 and 3 files. EPUB 3 publications are checked against the EPUB 3.4 specification.
Documentation
Documentation on how to use EPUBCheck, to contribute to the project or to translate messages is available on the EPUBCheck wiki.
Technical discussions are held on our public mailing list. To subscribe to the mailing list, send an email with subject subscribe to public-epubcheck-request@w3.org. To participate in the discussion, simply send an email to public-epubcheck@w3.org.
Historical archives of discussions prior to October 2017 are stored at the old EPUBCheck Google Group.
Building EPUBCheck
Build from sources
To build epubcheck from the sources you need Java Development Kit (JDK) 1.7 or above and Apache Maven 3.0 or above installed.
Build and run tests:
$ mvn clean install
Will copy *.jar files and packages to target/ folder...
Build using docker
To build the epubcheck using docker, use the build command below:
$ docker build . -t epubcheck
To run the epubcheck image as container, use example command below:
# A host directory must be mounted to /data inside the container using a Docker volume.
# This mounted path acts as a shared workspace, allowing both the host and container
# to access the EPUB file as well as any generated output files.
$ docker run -it --rm -v <directory>:/data epubcheck --help
$ docker run -it --rm -v <directory>:/data epubcheck <epub-file> [OPTIONS]
# Example 1:
# Run EPUB validation for sample.epub located in the current directory.
# Validation results will be printed directly to the console.
$ docker run -it --rm -v .:/data epubcheck sample.epub
# Example 2:
# Run EPUB validation for sample.epub located in /home/username on the host.
# Validation results will be printed directly to the console.
$ docker run -it --rm -v /home/username:/data epubcheck sample.epub
# Example 3:
# Run EPUB validation for sample.epub located in /home/username on the host,
# and generate a JSON report at /data/output.json inside the container.
# Since /data inside the container is mapped to the host directory,
# the generated file will also be available at /home/username/output.json
$ docker run -it --rm -v /home/username:/data epubcheck sample.epub --json output.json
Credits
EPUBCheck is currently maintained by the DAISY Consortium, on behalf of W3C.
Initial EPUBCheck development was largely done at Adobe. A significant part of EPUBCheck functionality comes from the schema validation tool Jing, used with schemas from the Nu HTML Checker, IDPF, and DAISY.
Past and present EPUBCheck developers include: Romain Deltour, Matt Garrish, Tobias Fischer, Markus Gylling, Steve Antoch, Peter Sorotokin, Thomas Ledoux, Masayoshi Takahashi, Paul Norton, Piotr Kula, Arwen Pond, Liza Daly, Garth Conboy, and several others.
Many thanks to the numerous people who have contributed to the evolution of EPUBCheck through bug reports, pull requests, and translations!
Donators
The following organizations are supporting the development of EPUBCheck by their contribution to the fundraising initiative:
License
EPUBCheck is made available under the terms of the 3-Clause BSD License
相關資源

LanguageTool
CLI开源的语法、拼写与文风检查器,支持英、德、法、西、葡等 20 多种语言,可用命令行批量校对稿件,或在本机起 HTTP 检查服务供 agent 调用,适合写作者、译者与外语教师改稿。需要 Java 17(用 Homebrew 安装会自动带上)。
languagetool-org/languagetool15.1k
LinguaGacha
CLI面向小说、字幕、电子书和游戏文本的大模型翻译器,可一键生成术语表保证人名译法统一,并自动审校;除桌面界面外提供 CLI 模式(translate / analyze,输出 JSONL 状态)。需先从发布页下载应用,并准备 DeepSeek 等大模型接口;商业用途需先联系作者授权。
neavo/LinguaGacha2.6k
calibre
CLI开源电子书管理软件,自带 ebook-convert、ebook-meta、calibredb 等命令行工具,可在 EPUB、MOBI、AZW3、PDF、DOCX 等格式间批量转换并管理书库元数据。安装命令仅适用于 Linux,macOS 与 Windows 需下载安装包。
kovidgoyal/calibre26.2k
mdBook
CLI把一组 Markdown 章节编译成带目录、全文搜索和主题切换的在线书籍,适合写作者连载手册、老师整理讲义和课程教材;agent 可直接改章节文件再构建预览。Rust 官方团队维护,可下载预编译程序,或装好 Rust 工具链后用 cargo 安装。
rust-lang/mdBook22.2k
Harper
CLIAutomattic 出品的离线英文语法检查器,在本机毫秒级检查拼写、语法和用词,稿件不外传;Homebrew 安装后得到可批量检查文件的 harper-cli(仍属实验性质)和供编辑器使用的 harper-ls。只支持英文。
Automattic/harper16.5k
Bilingual Book Maker
CLI用大模型把 EPUB、TXT、Markdown、SRT、PDF 等文件译成双语对照版,支持 OpenAI、Anthropic、Gemini 等接口及 DeepL、Google 翻译;大模型接口需自备 API Key 或 Codex 订阅,仅限有权翻译的内容。
yihong0618/bilingual_book_maker9.9k












.jpg)




