EPUBCHECK(1)
π epubcheck(1) π
epubcheck β the validation tool for EPUB, bestie. She's a User Commands girlie, she lives in your terminal, and she is here to read your .epub for filth (lovingly) π
β¨ NAME β¨
epubcheck β validation tool for EPUB π¦
β¨ SYNOPSIS β¨
epubcheck file.epub
that's it. that's the whole vibe. one file, one command, no cap πΈ
πΈ DESCRIPTION πΈ
Okay so here's the tea: all detected errors are simply printed to stderr. Every single one. She's not subtle and she's not sorry π
This is EPUBCheck v4.1.0, periodt.
When you run this tool, the first argument should be the name (with the path!) of the file you want to check. Don't forget the path, bestie, she's not psychic π
π Validation profiles π
Wanna run checks against a specific EPUB 3 profile or extension specification? Slay. Just use the -profile option:
Validation profiles supported:
--profile defaultβ the default validation profile--profile dictβ validates against the EPUB Dictionaries and Glossaries specification--profile edupubβ validates against the EDUPUB Profile--profile idxβ validates against the EPUB Indexes specification--profile previewβ validates against the EPUB Previews specification
π¦ Non-epub files, modes & versions π¦
If you're checking a non-epub file, you must specify the epub version of the file using -v, and the type of the file using -mode. The default version is: 3.0.
Modes and versions supported:
--mode opf -v 2.0--mode opf -v 3.0--mode xhtml -v 2.0--mode xhtml -v 3.0--mode svg -v 2.0--mode svg -v 3.0--mode nav -v 3.0--mode mo -v 3.0β for Media Overlays validation--mode expβ for expanded EPUB archives
π OPTIONS π
This tool also accepts the following options, and yes we're listing every last one of them, because we don't skip content in this house π
--saveβ saves the epub created from the expanded epub--out <file>β output an assessment XML document file (use-to output to console)--xmp <file>β output an assessment XMP document file (use-to output to console)--json <file>β output an assessment JSON document file (use-to output to console)-m <file>β same as--mode-p <profile>β same as--profile-o <file>β same as--out-x <file>β same as--xmp-j <file>β same as--json--failonwarnings[+|-]β By default, the tool returns a1if errors are found in the file or0if no errors are found. Using--failonwarningswill cause the process to exit with a status of1if either warnings or errors are present, and0only when there are no errors or warnings.
-q,--quietβ no message on console, except errors, only in the output-f,--fatalβ include only fatal errors in the output-e,--errorβ include only error and fatal severity messages in output-w,--warnβ include fatal, error, and warn severity messages in output-u,--usageβ include ePub feature usage information in output (default is OFF); if enabled, usage information will always be included in the output file--locale <locale>β output localized messages according to the provided IETF BCP 47 language tag string-l,--listChecks [<file>]β list message ids and severity levels to the custom message file named<file>, or the console-c,--customMessages [<file>]β override message severity levels as defined in the custom message file named<file>--versionβ displays the EPUBCheck version-h,-?or--helpβ displays this help message
and then, when she's done cooking, she says: epubcheck completed β the little mic drop at the end, iconic π₯
π AUTHOR π
Shoutout to the whole squad who built her:
- Peter Sorotokin
- Garth Conboy
- Markus Gylling
- Piotr Kula
- Paul Norton
- Jessica Hekman
- George Bina
- Bogdan Iordache
- Ionut-Maxim Margelatu
- Romain Deltour
Most of the EpubCheck functionality comes from the schema validation tool Jing and schemas that were developed by IDPF and DAISY. Initial EpubCheck development was largely done at Adobe Systems. the lore is real πβ¨
This manual page was written by Mathieu Malaterre <malat@debian.org> for the Debian GNU/Linux system, but may be used by others. king behavior, honestly π«Ά
and that's the whole page, bestie β epubcheck 4.2.4, September 2020, EPUBCHECK(1) πβ¨ππ¦ go validate something and have the best day fr fr π πΈ
π¦ where this page comes from
- debian bookworm: epubcheck 4.2.6-2 Β· BSD-3
- debian trixie: epubcheck 4.2.6-2 Β· BSD-3
- ubuntu jammy: epubcheck 4.2.6-1 Β· BSD-3
- ubuntu noble: epubcheck 4.2.6-2 Β· BSD-3
- ubuntu questing: epubcheck 4.2.6-2
- ubuntu resolute: epubcheck 4.2.6-2build1 Β· BSD-3
- ubuntu stonking: epubcheck 4.2.6-2build1 Β· BSD-3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms