Sample EPUB file — free download
A valid EPUB ebook with the correct uncompressed mimetype entry first in the archive, plus one with a deliberately broken container.
2 ready-made EPUB test files
| File | Size | What it catches | |
|---|---|---|---|
| broken-container.epub | 1.5 KB | Readers that trust container.xml without checking the target resolves. A correct reader reports a broken book; a fragile one throws an unhandled error deep in parsing. | download |
| valid.epub | 2.1 KB | Ereaders and ingestion pipelines. EPUB has the same stored-first mimetype rule as ODF, plus a container.xml indirection to the package document - two things naive ZIP handling gets wrong. | download |
Every file is generated from source — no third-party copyright — and each has its own page with a published SHA-256 you can verify after download.
Questions
Where can I download a sample EPUB file?
The valid EPUB below opens in Calibre, Apple Books and most e-readers.
Why must the EPUB mimetype entry be first and uncompressed?
The spec requires it so a reader can identify the format by reading the first bytes without unzipping. The broken-container file violates this, which is a common real-world packaging bug.