Sample EPUB files for testing — free, CC0, hotlinkable

EPUB is the open e-book format: a ZIP container holding XHTML content, a package document that lists it, and a navigation document for the table of contents. Many files that call themselves EPUB are renamed ZIP archives that some readers tolerate and validators reject.

epub/epub3-3chapters.epub is a real EPUB 3.0 book: three XHTML chapters of Lorem Ipsum, a navigation document with a table of contents, and a stylesheet. The mimetype entry comes first and is stored uncompressed, as the container specification requires, so tools that sniff the first bytes recognise the file. The identifier and modification date are fixed, so the bytes do not move between builds.

Use it to test e-reader apps, format sniffers, EPUB validators, converters to PDF or HTML, and upload forms that accept books. Related formats: PDF, DOCX and text files.

1 file. The same list as JSON: https://loremfile.dev/epub/index.json

EPUB files
FileSizePropertiesDescription
epub3-3chapters.epub 4.9 KB 3 chapters EPUB 3.0: three XHTML chapters of Lorem Ipsum, a nav document with a table of contents, and a stylesheet. Identifier and modification date are fixed, so the bytes never move.
Snippets
curl -O https://loremfile.dev/epub/epub3-3chapters.epub
<a href="https://loremfile.dev/epub/epub3-3chapters.epub">download</a>

File names follow the naming grammar. Verify a download against sha256sums.txt.